On 11/5/06, Hans-Joachim Widmaier <[EMAIL PROTECTED]> wrote:
Andrey Voropaev wrote: > Amazing. After building firefox on x86_64 with older version of BLFS, > I've tried it on i686 with newer version of BLFS. And it failed! The > mozconfig was exactly the same. Looks like the problem could be in the > fact that I have gtk-2.8 on the newer system. > [snip] > undefined reference to `XListPixmapFormats'
[...]
You need to explicitly include the X libraries, best with directory, like so:sed -i "[EMAIL PROTECTED] += \$(MOZ_GTK2_LIBS)@& -L/usr/X11R6/lib -lXrender -lX11@" \ layout/build/Makefile.in
Thank you. Actually after reading all of the emails in this thread I've found this solution already and compiled the browser. Now I'm facing the "Error in parsing browser.xul", just like the one who started the thread :) Since the same sources produce quite normal executable on the older BLFS system, it means that there are some changes in the newer libraries/build tools that make things quite different. Like the above fix for building firefox with GTK2. I didn't have to apply it when building against gtk-2.6. Also I had to export LDFLAGS=-L/usr/X11R6/lib because configure couldn't find the libX11.so. Why it was working with older system I wonder? The error in parsing browser.xul is even funnier. In the sources browser.xul doesn't even have the lines that are reported as being wrong. Somewhere I've seen recommendation to delete .mozilla directory before starting firefox, I'll try it tonight :) -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
