Hi,

For testing latest changes to jhalfs, I am building a full blfs (systemd [*]) book in a VM. I've ticked all the pages in the menu, shuffled the "configuration" file obtained, then launched ./gen_pkg_book.sh. So the build order is supposed to respect dependency order, but otherwise is random. It so happened that my build order is:

X libraries ... imlib2 ... w3m, before gdk-pixbuf/gtk.

So w3m wants to use imlib2 for displaying images, and imlib2 links to X libraries. But -lX11 is not passed to the linker (it is the same problem as that fixed by one of the seds for w3m, but that sed fixes only gtk2 image loader), so the build fails...

I think one sed could do (but I have not tested it with gtk+-2):
sed '/IMGX11LDFLAGS=/s/`"/` -lX11"/' -i configure

it would replace the one for gtk2, and add -lX11 to all the libraries using Xlib. The build passes and basic functionalities are there. I'm not able to display images in console mode, but it may be a VM problem, not imlib2/w3m.

Another possibility is to get rid of w3m, which is:
- old (no update since 2011)
- unable to display www.linuxfromscratch.org correctly (some characters are displayed as question marks; maybe we are missing a switch)
- having more and more issues with recent toolchains/toolkits

We have two other text browsers in the book.

Pierre


[*]: BTW, I've not been able to get a correct clock time with rtc set to local time. Maybe more to come, but I don't want to lose time with that ATM
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to