Hi, I'm trying to build nut version 2.0.3 on a RHEL43 rebuild (Scientific LINUX 43). While trying to configure the package I get the following error: ]$ ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc/nut --with-statepath=/var/nut --with-drvpath=/usr/sbin --with-cgipath=/var/www/cgi-bin --with-cgi --with-user=nutmon --with-group=nutmon --mandir=/usr/share/man --datadir=/usr/share/nut --enable-shared ... checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for gdImagePng in -lgd... no configure: WARNING: libgd not found - CGI build will fail ... Looking on the RHEL43 machine libgd is clearly present and contains the needed symbol: ]$ nm /usr/lib/libgd.a | grep gdImagePng 00001580 T gdImagePng 000014b5 T gdImagePngCtx 00000ae8 T gdImagePngCtxEx 000015ba T gdImagePngEx 0000152b T gdImagePngPtr 000014d7 T gdImagePngPtrEx U gdImagePngCtx 00000000 T gdImagePngToSink The "WARNING" does indeed mean that the CGI part of the nut build fails. (I have built this package successfully under Scientific LINUX 305: a RHEL305 rebuild and do not see this error there.) Could the configure file be somehow out of date? On the RHEL43 platform the configure script generates a few other false errors too: checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no which is clearly clearly not true: ]$ locate varargs.h /usr/lib/gcc/i386-redhat-linux/3.4.3/include/varargs.h Does anyone have any suggestions? Thanks and Best Regards, Will
On 6/6/06, William H. Bell <w.bell@physics.gla.ac.uk> wrote:> Does anyone have any suggestions?Can you gzip up config.log and send that to the list? -- - Charles Lepple
On Tue, 6 Jun 2006, Charles Lepple wrote:> On 6/6/06, William H. Bell <w.bell@physics.gla.ac.uk> wrote: >> Does anyone have any suggestions? > > Can you gzip up config.log and send that to the list?Hi Charles, Please find it attached. Regards, Will -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log.gz Type: application/x-gzip Size: 6904 bytes Desc: Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060607/a99c7904/config.log.bin