How to build i386 rpms on x86_64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	I'm sure that this must have been discussed before, probably ad
nauseum, but I can't seem to find the right search terms to google it
successfully.

	I would like to replace the freetype packages on my F8 x86_64 machine
with ones where the bytecode interpreter is enabled. I see that the
freetype spec file has a toggle for that and sure enough,

rpmbuild --sign -ba --with bytecode_interpreter --with
subpixel_rendering freetype.spec

builds me the x86_64 rpms I need for the x86_64 libraries I need.

	Alas, for reasons of my own, I need to run the 32-bit firefox, so I
need the i386 libraries as well, but

rpmbuild --sign -ba --with bytecode_interpreter --with
subpixel_rendering --target=i386 freetype.spec

fails, with the following error:

...
cd builds/unix; ./configure  "--build=x86_64-redhat-linux-gnu"
"--host=x86_64-redhat-linux-gnu" "--target=i686-redhat-linux-gnu"
"--program-prefix=" "--prefix=/usr" "--exec-prefix=/usr"
"--bindir=/usr/bin" "--sbindir=/usr/sbin" "--sysconfdir=/etc"
"--datadir=/usr/share" "--includedir=/usr/include" "--libdir=/usr/lib64"
"--libexecdir=/usr/libexec" "--localstatedir=/var"
"--sharedstatedir=/usr/com" "--mandir=/usr/share/man"
"--infodir=/usr/share/info" "--disable-static"
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [setup] Error 77
error: Bad exit status from /usr/local/rpm/tmp/rpm-tmp.27521 (%build)


RPM build errors:
    Bad exit status from /usr/local/rpm/tmp/rpm-tmp.27521 (%build)


	Can someone please point me to the appropraite place to learn how to
build i386 rpms on x86_64?

	Thanks,
		Joe


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux