Re: Building rpms on AMD64

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

 




The trick for using rpmbuild seems to be that /usr/X11R6/bin must be in the path - otherwise rpmbuild just fails on x86_64. It seems to OK to have this directory last place in the path though.


-psi


On Fri, 14 Jan 2005, Nick Bargnesi wrote:

If I were you - I would check to make sure you also do not have 32-bit
X libraries installed.  Part of the full installation you selected
installs compat packages allowing you to build for different
platforms.  If removing the 32-bit libraries helps, send the solution
back to the user list.


On Fri, 14 Jan 2005 15:09:44 +0100 (CET), Per Steinar Iversen <PerSteinar.Iversen@xxxxxxxxxx> wrote:

I tried this question on fedora-list yesterday, and got a number of messages from other users with the same problem, but no resolution. Perhaps this list is a better place to ask?

A silly question: How does one build or rebuild src rpms under x86_64?

On a freshly installed FC3 (full install) nearly everything fails to build
as configure looks at the wrong X11 libraries. As an example, rebuilding
mozilla:

$ rpmbuild --rebuild mozilla-1.7.5-3.src.rpm
...lines deleted...
checking GLIB_LIBS...   -lglib-2.0
configure: error:  Could not find the following X libraries:  -lX11 -lXext -lXt
error: Bad exit status from /var/tmp/rpm-tmp.13288 (%build)

Modifying the spec-file to add a line like this cures the problem:

--x-libraries=/usr/X11R6/lib64

But this is probably too crude - what is the proper incantation to make
rpmbuild understand where the X11 libraries are placed on x86_64?

-psi

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux