|
From: Mojca M. <moj...@gm...> - 2009-01-14 13:01:52
|
On Wed, Jan 14, 2009 at 11:48 AM, Timothée Lecomte <tim...@lp...> wrote: > Mojca Miklavec a écrit : >> >> ... >> But still weird. The X11 terminal doesn't get built, but I still get >> dependencies on >> /usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0, >> current version 4.11.0) >> /usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, >> current version 6.2.0) >> /usr/X11R6/lib/libfontconfig.1.dylib (compatibility version >> 1.0.0, current version 1.0.0) >> /usr/X11R6/lib/libfreetype.6.dylib (compatibility version >> 6.3.0, current version 6.3.0) >> > > In config.log you may see where these come from. Attach it and we will help. > >> I also got some problems with libreadline. I thought that configure >> has been fixed to recognise the lack of proper libreadline, but well >> ... I have compiled it now and it probably works, though I cannot >> figure out how to build it statically into gnuplot. >> >> Thanks, >> Mojca >> > > Do you want MacOS libreadline to be built statically in gnuplot, or do you > want gnuplot's built-in readline to be used instead of what configure has > found ? The MacOS libreadline is apparently not powerful enough, so it wouldn't help. (But it would be nice to detect that deficiency and switch to built-in readline during configuration step instead of throwing an error.) The built-in readline would be fine, but suboptimal (I've seen the switch that forces usage of built-in readline.) I would like to compile readline myself and use that one, built in statically. I did: export PATH="$prefix/bin:$PATH" export LDFLAGS="-L$prefix/lib" export CPPFLAGS="-I$prefix/include" cd libs wget -c -N http://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz tar xzf readline-5.2.tar.gz cd readline-5.2 ./configure --prefix="$prefix" --disable-shared make && make install || exit 1 ... ./configure --prefix="$prefix" \ --with-png="$prefix" --with-gd="$prefix" --without-x --without-cairo --disable-wxwidgets make but otool still reports (among other dependencies) the dependency on libreadline: > otool -L src/gnuplot src/gnuplot: /Users/mojca/gnuplot/git/gnuplot-static/support_libs/lib/libreadline.5.2.dylib (compatibility version 5.0.0, current version 5.2.0) The png and gd libraries do not work properly, but that's yet another issue that I need to inspect. Thanks, Mojca |