public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts!
@ 2002-12-18  6:34 Meder Bakirov
  2002-12-18 11:18 ` Dietrich Heise
  0 siblings, 1 reply; 5+ messages in thread
From: Meder Bakirov @ 2002-12-18  6:34 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all!

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? 

Thank you very much!

- -- 
Rgrds, .coder!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+ABcBiHZXWv0HWscRAgneAKC8IMJqnFJsbPE5veMYoG0OZmnMagCgrLWo
ENzMOutz8vs6CKsZIp4wd0Q=
=Q2Ka
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts!
  2002-12-18  6:34 [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts! Meder Bakirov
@ 2002-12-18 11:18 ` Dietrich Heise
  2002-12-18 12:02   ` Meder Bakirov
  0 siblings, 1 reply; 5+ messages in thread
From: Dietrich Heise @ 2002-12-18 11:18 UTC (permalink / raw
  To: gentoo-dev

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

--
Open WebMail Project (http://openwebmail.org)


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts!
  2002-12-18 11:18 ` Dietrich Heise
@ 2002-12-18 12:02   ` Meder Bakirov
  2002-12-18 14:19     ` Christian Skarby
  2002-12-18 14:29     ` Paul de Vrieze
  0 siblings, 2 replies; 5+ messages in thread
From: Meder Bakirov @ 2002-12-18 12:02 UTC (permalink / raw
  To: gentoo-dev

-----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.

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) :)

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts!
  2002-12-18 12:02   ` Meder Bakirov
@ 2002-12-18 14:19     ` Christian Skarby
  2002-12-18 14:29     ` Paul de Vrieze
  1 sibling, 0 replies; 5+ messages in thread
From: Christian Skarby @ 2002-12-18 14:19 UTC (permalink / raw
  To: bakirov; +Cc: gentoo-dev

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts!
  2002-12-18 12:02   ` Meder Bakirov
  2002-12-18 14:19     ` Christian Skarby
@ 2002-12-18 14:29     ` Paul de Vrieze
  1 sibling, 0 replies; 5+ messages in thread
From: Paul de Vrieze @ 2002-12-18 14:29 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 501 bytes --]

On Wednesday 18 December 2002 13:02, Meder Bakirov wrote:
> 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!
>

Remember/note that the packages must be able to run on the compiling machine, 
but -mcpu optimizations are still possible.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.cs.kun.nl/~pauldv

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-12-18 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18  6:34 [gentoo-dev] Creating tbz2 or RPMS from ebuild for different hosts! Meder Bakirov
2002-12-18 11:18 ` Dietrich Heise
2002-12-18 12:02   ` Meder Bakirov
2002-12-18 14:19     ` Christian Skarby
2002-12-18 14:29     ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox