vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote: > > Hello > > i have amd64, but i have several binary applications compiled for x86 > (32bit). I need to compile some dependant libraries for x86. > How can i do it using emerge ? > > Thanx Have you installed the following ebuilds? emul-linux-ppc-glibc emul-linux-x86-baselibs emul-linux-x86-compat emul-linux-x86-gtklibs emul-linux-x86-java emul-linux-x86-medialibs emul-linux-x86-qtlibs emul-linux-x86-sdl emul-linux-x86-soundlibs emul-linux-x86-xlibs if you still need other packages, you will need to install crosdev, build a x86 compiler and use it to build packages, you will need to modify those, as you want to install them under the /emul/linux/x86, but in the gentoo wiki there is a bit information how to build packages for other arches, don't have the link, but think you can find it. //Aho |
| |||
| On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote: >Hello >i have amd64, but i have several binary applications compiled for x86 >(32bit). I need to compile some dependant libraries for x86. >How can i do it using emerge ? You shouldn't. I also have gentoo built for amd64, and it has 32 bit compatibility libraries and runs 32 bit s/w with no problem. |
| |||
| On Friday 17 November 2006 22:57, AZ Nomad stood up and addressed the masses in /alt.os.linux.gentoo/ as follows...: > On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote: > >> Hello > >> i have amd64, but i have several binary applications compiled for x86 >> (32bit). I need to compile some dependant libraries for x86. >> How can i do it using emerge ? > > You shouldn't. I also have gentoo built for amd64, and it has 32 bit > compatibility libraries and runs 32 bit s/w with no problem. The excellent Gentoo AMD64 installation manual covers both the use of /multilib/ - which is the default set-up in Gentoo - and of using a dedicated 32-bit /chroot'ed/ environment. I suggest that the OP would take a peak there... ;-) -- With kind regards, *Aragorn* (registered GNU/Linux user #223157) |
| |||
| > On Friday 17 November 2006 22:57, AZ Nomad stood up and addressed the > masses > in /alt.os.linux.gentoo/ as follows...: > >> On Fri, 17 Nov 2006 21:52:59 +0100, vertigo <spam@spam.pl> wrote: >> >>> Hello >> >>> i have amd64, but i have several binary applications compiled for x86 >>> (32bit). I need to compile some dependant libraries for x86. >>> How can i do it using emerge ? >> >> You shouldn't. I also have gentoo built for amd64, and it has 32 bit >> compatibility libraries and runs 32 bit s/w with no problem. > > The excellent Gentoo AMD64 installation manual covers both the use > of /multilib/ - which is the default set-up in Gentoo - and of using a > dedicated 32-bit /chroot'ed/ environment. > > I suggest that the OP would take a peak there... ;-) i found some info about multilib on: http://www.gentoo.org/doc/en/handboo...?part=1&chap=6 and in the FAQ: http://www.gentoo.org/proj/en/base/amd64/ but it's far from solving my problem. As i understeand multilib profile is default when using amd64 stage3: # ls -FGg /etc/make.profile lrwxrwxrwx 1 50 Nov 17 06:08 /etc/make.profile -> .../usr/portage/profiles/default-linux/amd64/2006.1/ The problem is: How to emerge specific library for x86 archtecture ? (they are emerged for x86_64 by default). Maybe it's possible to emerge specific library for both x86 and x86_64 ? Thanx |
| |||
| On Saturday 18 November 2006 08:21, vertigo stood up and addressed the masses in /alt.os.linux.gentoo/ as follows...: > i found some info about multilib on: > http://www.gentoo.org/doc/en/handboo...?part=1&chap=6 > and in the FAQ: > http://www.gentoo.org/proj/en/base/amd64/ > > but it's far from solving my problem. As i understeand multilib profile > is default when using amd64 stage3: > # ls -FGg /etc/make.profile > lrwxrwxrwx 1 50 Nov 17 06:08 /etc/make.profile -> > ../usr/portage/profiles/default-linux/amd64/2006.1/ > > The problem is: > How to emerge specific library for x86 archtecture ? <Gentoo-specific n00b advice> Out of my league here as I'm not running Gentoo myself yet at this stage, but I would presume that the correct libraries would be pulled in by /emerge'ing/ a specific 32-bit application. > (they are emerged for x86_64 by default). > Maybe it's possible to emerge specific library for both x86 and x86_64 ? That's the idea. Perhaps you could check your /package.keywords/ file? </Gentoo-specific n00b advice> -- With kind regards, *Aragorn* (registered GNU/Linux user #223157) |
| |||
| > On Saturday 18 November 2006 08:21, vertigo stood up and addressed the > masses in /alt.os.linux.gentoo/ as follows...: > >> i found some info about multilib on: >> http://www.gentoo.org/doc/en/handboo...?part=1&chap=6 >> and in the FAQ: >> http://www.gentoo.org/proj/en/base/amd64/ >> >> but it's far from solving my problem. As i understeand multilib profile >> is default when using amd64 stage3: >> # ls -FGg /etc/make.profile >> lrwxrwxrwx 1 50 Nov 17 06:08 /etc/make.profile -> >> ../usr/portage/profiles/default-linux/amd64/2006.1/ >> >> The problem is: >> How to emerge specific library for x86 archtecture ? > > <Gentoo-specific n00b advice> > > Out of my league here as I'm not running Gentoo myself yet at this stage, > but I would presume that the correct libraries would be pulled in > by /emerge'ing/ a specific 32-bit application. > >> (they are emerged for x86_64 by default). >> Maybe it's possible to emerge specific library for both x86 and x86_64 ? no - they are not. Opera and vmware-workstations are examples. They are 32bit binaries, emerge does not recognize it, install that binaries but there are only 64bit libraries for them > That's the idea. Perhaps you could check your /package.keywords/ file? > for what ? could you clarify ? Thanx |
| |||
| vertigo wrote: > The problem is: > How to emerge specific library for x86 archtecture ? > (they are emerged for x86_64 by default). You emerge on of these: emul-linux-ppc-glibc emul-linux-x86-baselibs emul-linux-x86-compat emul-linux-x86-gtklibs emul-linux-x86-java emul-linux-x86-medialibs emul-linux-x86-qtlibs emul-linux-x86-sdl emul-linux-x86-soundlibs emul-linux-x86-xlibs they are prebuilt packages, you get the libs that is most commonly used in x86 binaries which you can't get as x86_64 binary, as example Opera, flash and so on. > Maybe it's possible to emerge specific library for both x86 and x86_64 ? If you install crossdev, build an x86 gcc environment, modify ebuild to install in the /emul/linux/x86 three, you should be able to install to install two versions of the same library, just see to that the ebuilds has different names as you don't want slotting here. If you feel that the 32bit programs are all to important for you, then use a 32bit kernel with 32bit programs/libs only. //Aho |
| |||
| vertigo wrote: >> On Saturday 18 November 2006 08:21, vertigo stood up and addressed the >> Out of my league here as I'm not running Gentoo myself yet at this stage, >> but I would presume that the correct libraries would be pulled in >> by /emerge'ing/ a specific 32-bit application. >> >>> (they are emerged for x86_64 by default). >>> Maybe it's possible to emerge specific library for both x86 and x86_64 ? > > no - they are not. Opera and vmware-workstations are examples. > They are 32bit binaries, emerge does not recognize it, > install that binaries but there are only 64bit libraries for them Opera works fine, just install the emul-libs that I have nagged about in two posts in this thread now. >> That's the idea. Perhaps you could check your /package.keywords/ file? > for what ? could you clarify ? His idea is that you use x86 as keyword on packages --- package.keywords --- media-libs/megalib x86 --- eof --- and then do: emerge media-libs/megalib He thinks that this would build a x86 version of the media-libs/megalib, but the keywords won't change what your gcc builds, so it won't work. Note, there isn't any megalib ebuild. //Aho |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | [...] As i understeand multilib profile | is default when using amd64 stage3: | # ls -FGg /etc/make.profile | lrwxrwxrwx 1 50 Nov 17 06:08 /etc/make.profile -> | ../usr/portage/profiles/default-linux/amd64/2006.1/ | Hi all, if I'm not much mistaken, there may be a problem with your profile, too. With 2006.1 you should either use the 2006.1/desktop/ or the 2006.1/server profile. Correct me, if I'm wrong ;-) - -- *Sebastian Volke* registered Linux user #426550 mail address: echo ozslxhmfw_gfxyn@lrc.sjy | perl -pe 'y/a-z/v-za-w/' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD4DBQFFXu0ATVzZ9whcz3sRAn/7AKChe5quCVzz+O4XQwDv+yBC3tGFAQCXdK6D mRp9CsBWV7PBSyisH/ivaQ== =pdia -----END PGP SIGNATURE----- |