|
From: Tatsuro M. <tma...@ya...> - 2010-03-05 23:42:30
|
Hello On windows build (I have used the dynamic build), I do not use libexpat libraries. However, the libexpat-1.dll is required for gnuplot execution. I have looked around what requires libexpat. In the fontconfig.pc, I found *********** Libs.private: -L/devel/dist/win32/expat-2.0.1-1/lib -lexpat -L/devel/dist/win32/freetype-2.3.11-1/bin/../lib -lfreetype ********** For dynamic build, -lexpat is not required for linking but libexpat-1.dll is required for gnuplot execution because the libexpat is privately linked with from the fontconfig. Perhaps for static build, all libraries related might be required at link stage. If the gdlib-config requires the fontconfig, the libexpat might be required through the fontconfig for static build. The above is my guess so that please see it as a reference. Regards Tatsuro --- Ethan Merritt wrote: > On Friday 05 March 2010 14:05:14 Manfred Schwarb wrote: > > > > and had to apply > > > > > > > > --- configure.in.orig 2010-03-01 13:44:59.000000000 +0100 > > > > +++ configure.in 2010-03-02 11:55:43.000000000 +0100 > > > > @@ -482,6 +482,7 @@ > > > > libgd_CPPFLAGS=`gdlib-config --cflags` > > > > libgd_LDFLAGS=`gdlib-config --ldflags` > > > > libgd_LIBS=`gdlib-config --libs` > > > > + libgd_LIBS="$libgd_LIBS -lexpat -pthread" > > > > elif test -d "$with_gd"; then > > > > libgd_CPPFLAGS="-I$with_gd/include" > > > > libgd_LDFLAGS="-L$with_gd/lib" > > > > > > That seems like a problem with the libgd package configuration tool. > > > I'll forward a bug report in that direction if I can confirm it. > > > > > > Ethan > > I can't reproduce this problem. > > On my machines, neither libgd nor gnuplot as a whole requires libexpat, > which seems to be an XML parsing tool. > > And libpthread is pulled in by practically everything, so adding it > specifically to libgd_LIBS is redundant. > > What was the error message you got before adding this line to configure.in? > > Ethan > > ------------------------------------------------------------------------------ > Download Intel¢î Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |