[Nut-upsdev] GD libraries and $PREFIX (was Re: building NUT on Mac OS X Yosemite(website/documentation))

Charles Lepple clepple at gmail.com
Thu Dec 4 00:46:41 UTC 2014

On Dec 3, 2014, at 7:05 PM, simon-alioth at eazimail.com wrote:

> One other issue I noticed is with the placement of the GD libraries, if they
> are not installed under the root it will not find them
> If I build GD into /build/usr and add the following lines to my make script
> for nut:
> 	PREFIX=/build/usr
> 	configure \
> 		--with-gd-includes="-I${sPREFIX}/include/libgd" \
> 		--with-gd-libs="-L${sPREFIX}/lib64" \
> 		......
> Configure will abort with a GD libary not found. If I set PREFIX=/build and
> rebuild GD and NUT then configure will identify the GD libs. Not sure where
> the problem is exactly.
> (this is with the latest public code release from the git repository).

Can you elaborate on how you are using PREFIX versus sPREFIX?

Charles Lepple
clepple at gmail

More information about the Nut-upsdev mailing list