Subject: graphics/xli on slackware
To: None <tech-pkg@netbsd.org>
From: Pierre-Philipp Braun <ppwb@club-internet.fr>
List: tech-pkg
Date: 02/09/2005 22:53:38
Hi,
I'm trying to install graphics/xli on a small slackware 10.1 install,
using pkgsrc-2004Q4, fetched a few days ago.
help/hints/advices would be greatly appreciated. This is what I get,
gcc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include
-I/usr/pkg/include -I/usr/X11R6/include -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -I/usr/pkg/include -c png.c
In file included from
/usr/pkgsrc/graphics/xli/work/.buildlink/include/pngconf.h:326,
from
/usr/pkgsrc/graphics/xli/work/.buildlink/include/png.h:363,
from png.c:9:
/usr/include/string.h:292: error: parse error before '(' token
/usr/include/string.h:292: error: `memcpy' declared as function returning a
function
/usr/include/string.h:292: error: parse error before "char"
/usr/include/string.h:296: error: parse error before '(' token
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xli/work/xli-1.17.0
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xli
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xli
Thanks
Pierre-Philipp