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

Re: Building rpms on AMD64

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 adm hio no> 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 redhat com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list


Nick Bargnesi
Den 4 Software

pub  1024D/E8BD2FD0 2004-12-02 Nick Bargnesi <nbargnesi gmail com>
Key fingerprint = 6F9D 9404 63CD 2B04 DE7A  0F9D A1ED C1B0 E8BD 2FD0
sub  2048g/56C5D45B 2004-12-02

dd if=/dev/zero of=/dev/hda

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