pkgsrc-Users archive

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

Re: error building pkgsrc/graphics/netpbm on OS X



> Trying to build pkgsrc/graphics/netpbm from latest pkgsrc-current on Mac OS 
> X, I get:
> 
>       ...
>       /usr/bin/gnumake -C util/ -f 
> /Users/feyrer/work/NetBSD/cvs/pkgsrc/graphics/netpbm/work.mini/netpbm-10.35.80/lib/util/Makefile
>  \
> 
>       SRCDIR=/Users/feyrer/work/NetBSD/cvs/pkgsrc/graphics/netpbm/work
>       .mini/netpbm-10.35.80
>       BUILDDIR=/Users/feyrer/work/NetBSD/cvs/pkgsrc/graphics/net
>       pbm/work.mini/netpbm-10.35.80 shhopt.o
>       gcc -c -I
>       /Users/feyrer/work/NetBSD/cvs/pkgsrc/graphics/netpbm/work.mini/netpbm-
>       10.35.80 -I
>       /Users/feyrer/work/NetBSD/cvs/pkgsrc/graphics/netpbm/work.mini/netpb
>       m-10.35.80/lib/util/.. -DNDEBUG -pipe -O2 -I/Volumes/pkgsrc5/pkg/include
>       -I/usr/
>       include -fno-common \
>                   -o shhopt.o shhopt.c
>       In file included from shhopt.c:32:
>       mallocvar.h:13:23: error: pm_config.h: No such file or directory
>       In file included from shhopt.c:33:
>       nstring.h:8:58: error: pm.h: No such file or directory
>       In file included from shhopt.c:33:
>       nstring.h: In function 'snprintfN':
>       nstring.h:123: error: expected declaration specifiers before
>       'PM_GNU_PRINTF_ATTR
>       '
>       nstring.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__'
>       before 'PM_GNU_PRINTF_ATTR'
> 
>       ...
>       gnumake[2]: *** [shhopt.o] Error 1
>       gnumake[1]: *** [util/shhopt.o] Error 2
>       gnumake: *** [lib/all] Error 2
>       *** Error code 2
> 
> How do I fix this?

Hubert,

I can't reproduce this on Mac OS X 10.6.7. Both GCC and Clang build the 
package. What's your OS?
Could it be something netpbm depends on? 

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index