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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux