Hi all,

I have just built FF2 on a very recent LFS/BLFS system.

At the end of this post is my .mozconfig FYI.

The build failed several times with an "Undefined Reference to XFreePixmap..." message. After playing about with a few settings in my mozconfig I did a bit more digging. It turns out there is a problem with the build process finding and/or linking to Xlib during a certain part of the build.

I found a message on a Japanese blog (translated by Google!) where the author suggested doing the following:

In the file mozilla/layout/build/Makefile.in add the two library links shown between the \ and \ characters.

ifdef MOZ_ENABLE_GTK2 EXTRA_DSO_LDOPTS += $ (MOZ_GTK2_LIBS) \ - lX11 - lXrender \ $ (NULL) endif

I did this and the build completed!

I think Firefox itself is O.K but it won't load yet. I get a "XML Parsing Error: undefined entity..." message and then it stops. Googling shows me this is a very common error, am looking into it...

Hope this helps someone.

Alan


--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to