graphics/libsvg: svg_image.c:24:17: error: png.h: No such file or directory
Boris Samorodov
bsam at passap.ru
Thu Sep 12 11:59:00 UTC 2013
12.09.2013 15:42, Anton Shterenlikht пишет:
> On ia64 r254648, ports tree at 327030,
> rebuilding ports after removing converters/libiconv:
>
> --- svg_image.lo ---
> if /bin/sh /usr/local/bin/libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -MT svg_image.lo -MD -MP -MF ".deps/svg_image.Tpo" -c -o svg_image.lo svg_image.c; then mv -f ".deps/svg_image.Tpo" ".deps/svg_image.Plo"; else rm -f ".deps/svg_image.Tpo"; exit 1; fi
> libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -MT svg_image.lo -MD -MP -MF .deps/svg_image.Tpo -c svg_image.c -fPIC -DPIC -o .libs/svg_image.o
> svg_image.c:24:17: error: png.h: No such file or directory
> svg_image.c:25:21: error: jpeglib.h: No such file or directory
> svg_image.c:26:20: error: jerror.h: No such file or directory
>
> and so on.
>
> The full log:
>
> http://eis.bris.ac.uk/~mexas/libsvg-build-log.text
Please try the following patch.
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
-------------- next part --------------
Index: graphics/libsvg/Makefile
===================================================================
--- graphics/libsvg/Makefile (revision 327039)
+++ graphics/libsvg/Makefile (working copy)
@@ -20,6 +20,7 @@
USE_GNOME= libxml2
USES= pathfix iconv pkgconfig
USE_LDCONFIG= yes
+CFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= include/svg.h \
lib/libsvg.a \
More information about the freebsd-ports
mailing list