Re: Can't compile Dillo 3.0.3

"Sebastian Geerken" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Sat, May 11, August Karlstrom wrote:
> [...]
> Linking with libX11 is what's missing:
> 
> LIBS=-lX11 ./configure
> make
> make install
> 
> This means that libX11 needs to be added to the build scripts.

I've looked at the fltk-config script, and found that it has two
options:

$ fltk-config --ldflags
-L/usr/lib/x86_64-linux-gnu -lfltk
$ fltk-config --ldstaticflags
/usr/lib/x86_64-linux-gnu/libfltk.a -lXext -lXft -lfontconfig -lfontconfig -lXinerama -ldl -lm -lX11

The configure script of dillo uses "--ldflags", which is used for
dynamic linking against "libfltk.so", while "--ldstaticflags" is used
for linking against "libfltk.a". Which files of the two do you have in
the respective directory (/usr/lib/x86_64-linux-gnu/)? My guess is
that "libfltk.so" does not exist and so dillo is linked statically.

(A simple test confirms this: renaming "libfltk.so" results in similar
errors.)

For this case, the configure script of dillo should be modified. My
suggestions:

- Generally make it possible to use "--ldstaticflags". An option for
  this, "--enable-static-fltk"?
- There should be some tests to detect this error.

Sebastian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.