Re: Cross-compiling on Fedora 12

From: Suvayu Ali <fatkasuvayu_at_gmail.com>
Date: Sat, 27 Feb 2010 13:30:59 +0100


On 27/02/10 01:03 PM, Vassili Maroussov wrote:
> I've got some clues from the Konstantin Olchanski ("Partial success-
> cross-compiling 32-bit ROOT on 64-bit Linux", posted on 02/02/2009
> 09:20PM), but on Fedora 12 already the "./configure linux" didn't work,
> because several libraries weren't found in the place were they are
> supposed to be. From another machine with Fedora 12 i686 installed I
> took /usr/lib/libXpm.so.4.11.0, /lib/libcrypt-2.11.1.so,
> /usr/lib/libpthread_nonshared.a, /usr/lib/libpthread.so, placed them
> into the /usr/lib directory and made the following links in /usr/lib/:

I think the right way to compile 32 bit libraries on 64 bit Fedora is to install the 32 bit packages from the repositories. Try explicitly specifying .i586 or .i686 after the package name. You can look at the available packages with commands like these:

$ yum list [available | installed | all] <package-name>\*

The resulting list should list both x86_64 and i586 or i686 versions of the packages.

You might also want to look into chroot and mock for this kind of cross-platform builds. However in my opinion the safest way to do cross-platform builds is to use a virtual machine. With GUIs like virt-manager (based on libvirt), this should be trivial. Check http://fedoraproject.org/wiki/Getting_started_with_virtualization for more information.

> Regards,
>
> Vassili

Hope this helps.

GL :)

-- 
Suvayu

Open source is the future. It sets us free.
Received on Sat Feb 27 2010 - 13:30:33 CET

This archive was generated by hypermail 2.2.0 : Sat Feb 27 2010 - 23:50:01 CET