From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15059 invoked by uid 1002); 18 Dec 2002 14:22:53 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 15698 invoked from network); 18 Dec 2002 14:22:53 -0000 Message-ID: <56622.80.202.167.53.1040221178.squirrel@webmail.interhost.no> Date: Wed, 18 Dec 2002 15:19:38 +0100 (CET) From: "Christian Skarby" To: In-Reply-To: <200212181702.04263.bakirov@transfer.kg> References: <200212181135.10655.bakirov@transfer.kg> <20021218111845.M79149@pegestorf.de> <200212181702.04263.bakirov@transfer.kg> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.10) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts! X-Archives-Salt: c4d56f20-8042-4fe1-923f-f3dd98345d7e X-Archives-Hash: 2424f45e4daf763a1f33f5ca72769a09 I know there are developers looking at some of the features you are looking for. I haven't seen it in portage yet, but then again I havn't been actively looking for it. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > We have different servers on different platforms - AMD, Intel! > > So, it would be better to build packages for those platforms, for AMD > with AMD optimization flags, for Intel with Intel optimization flags! > > We don't want any of our production servers to compile software, instead > we will dedicate another box (so-called dev machine) for compiling. And > we want to build packages on this box only. As for now I believe you will have to set up different chroots for each arch in order to do it the absolutely correct way. This can be done quite easily, http://www.gentoo.org/doc/en/gentoo-x86-install.xml will most likely give you most of the clues you need to set up a chroot with a valid "gentoo-install". > What I'm looking for, is to be able: > > o to specify a target, optimization flags to compiler (e.g. -O2 - > -march=athlon-xp -funroll-loops) > > o to specify which options will be supported in the package (ldap, ssl, > db, mysql, postgresql, etc... support, of course, all necessary > libraries will be on a devbox) > > o to create tbz2 or RPM package (it was mentioned in a Portage manual as > a directory locations: there were two options: PKGDIR and RPMDIR, so I > guess it can create tbz2 and/or RPM) :) > rpms I do not know about, but packages that can be installed with portage should not be a problem. > Is it possible? > > On Wednesday 18 December 2002 16:18, Dietrich Heise wrote: >> Hi, >> >> > We are currently using Redhat Linux distribution on our servers and >> we are now looking forward to switch to Gentoo as a possible >> candidate, starting from an official Gentoo 1.4 release! >> > >> > Before switching to Gentoo we have some questions, and, please, >> > appologize us if these questions have been asked before - I just >> > couldn't find any gentoo mailing lists archive on the site! Also we >> have looked at the Gentoo forums, but didn't find a comprehensive >> answer! >> > >> > We will manage different servers and we will need to compile and >> build packages for those servers! So, is it possible to compile and >> build a software packages from ebuilds on a host for different >> hosts? Also can we control, what support (e.g. DB, LDAP, SSL, >> etc...) to include in the package? >> >> I think if all servers are the same architecture (maybe x86) and U use >> the flags that all your server understand it should be no problem to >> create binaries. >> >> man emerge (rtfm) >> >> --buildpkg (-b) >> Tells emerge to build binary packages for all >> ebuilds processed in addition to actually merging >> [...] >> >> Dietrich > > - -- > Rgrds, .coder! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQE+AGO5iHZXWv0HWscRAkgTAKCO7ZzF0FupohpNgIiWjsEBZ/YxpgCgzX2U > x+Ajb6nPbXToJJg+HJe8Uqw=bjd5 > -----END PGP SIGNATURE----- > > > -- > gentoo-dev@gentoo.org mailing list Regards, Christian -- gentoo-dev@gentoo.org mailing list