[Nut-upsuser] Network UPS Tools 2.4.3 - compile on RHEL5

Arjen de Korte nut+users at de-korte.org
Fri Feb 26 09:45:07 UTC 2010

Citeren "Yury V. Zaytsev" <yury op shurup.com>:

>>> --with-gd-libs=LDFLAGS  linker flags for the gd library
>> ${LDFLAGS} != ${LIBS}
> Would you please elaborate?

The gdlib-config tool has three separate options for finding the  
include and linker flags and for the libraries. We don't keep a  
separate list of LIBS as these are passed as the linker flags and  
-libraries are passed as command line parameters to the linker. The  
linker flags and libraries are merged by configure into the LDFLAGS  
that are used for building programs.

Unless you have GD older than 2.0.8 installed, the flags required for  
compiling/linking and the libraries needed can be detected  
automatically, so you probably should not use --with-gd-includes  
and/or --with-gd-libs anyway.

Best regards, Arjen
Please keep list traffic on the list

More information about the Nut-upsuser mailing list