tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fswebcam build error



On Fri, Feb 05, 2016 at 02:12:20AM -0500, Marina Brown wrote:
> Hi All:
> 
> I am getting a build error in a package i created with url2web.
> 
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/param.h... yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking for gdImageCreateTrueColor in -lgd... no
> configure: error: GD graphics library not found
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/pkgsrc/wip/fswebcam
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/wip/fswebcam
> bash-4.3#
> 
> 
> I'm not quite sure how to force my new package to pull in
> the GD Graphics library.

Look in config.log.
Probably you'll see that pkg-config detection of gd failed.
If that's the reason, add

USE_TOOLS+=pkg-config

to the pkgsrc Makefile.
Otherwise please provide the error and we can debug some more :)
 Thomas


Home | Main Index | Thread Index | Old Index