Re: Can't compile Dillo 3.0.3
Axel Beckert <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Organization | DeuxChevaux.org -- The Citr oën 2CV Database |
| Message-ID | <[email protected]> |
Hi, On Mon, Jun 24, 2013 at 09:02:44PM +0900, furaisanjin wrote: > 2013/6/24 Axel Beckert <[email protected]> > > On Sun, Jun 23, 2013 at 04:20:13PM +0200, Axel Beckert wrote: > > > On Sat, May 18, 2013 at 02:47:56PM +0200, Sebastian Geerken wrote: > > > > X11 is needed in src/xembed.cc. It seems that on most systems it is > > > > linked indirectly, (src/dillo -> libfltk.so -> libX11.so), on others > > > > not, so that an additional "-lX11" is necessary. > > > > On non-linux architectures, there's more than -lX11 necessary. I > > suspect a -lpthread for Hurd and kFreeBSD, maybe also FreeBSD, not > > sure: > > I got this output from fltk-config --ldflags on FreeBSD 8.2. > > -L/usr/local/lib -R/usr/local/lib -lfltk -lXext -lXft -lfontconfig > -lXinerama -lpthread -lm -lX11 Ah, ok. Thanks for checking! This looks fine, indeed. On Debian GNU/kFreeBSD I just get "-L/usr/lib/i386-kfreebsd-gnu -lfltk". The missing -lX11 seems to be an issue with the libfltk1.3-dev package in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713933 I just checked the minimal example from that bug report. It doesn't seem to need pthreads on kfreebsd despite the string "pthreads" appears in libfltk.a and libfltk.so. I suspect the remaining libs (-lXext -lXft -lfontconfig -lXinerama -lpthread -lm) are not strictly necessary for every program either. (Or there's something else different on FreeBSD.) Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | [email protected] (Mail) X See http://www.asciiribbon.org/ | [email protected] (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)