From: Manfred S. <man...@gm...> - 2010-03-05 22:05:22
|
> On Friday 05 March 2010 06:52:39 Manfred Schwarb wrote: > > > > Another thing: I recently did a static build, it was > > a bit a pain. I had to manually set "#undef HAVE_PWD_H" > > I don't see the connection there. > What does HAVE_PWD_H have to do with a static build? > I get the following when compiling with gcc 4.4.1: util.o: In function `getusername': /tmp/gnuplot-4.4/src/util.c:1211: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > There was a post on the newsgroup recently that implicitly complained > about HAVE_PWD_H for privacy reasons. If there is now another down-side > as well, I think we should get rid of this code. The only thing it does > is fill in extra information in the "author" field of a PostScript or > PDF file header. > > > > 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 -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser |