Date: Tue, 10 Apr 2001 18:02:03 -0400 From: John <papalia@udel.edu> To: freebsd-questions@freebsd.org Subject: Trouble building libwmf (and wv) ports Message-ID: <4.3.2.7.2.20010410180144.00aed220@mail.udel.edu>
next in thread | raw e-mail | index | archive | help
Hi all... I've been trying to build wv (/usr/ports/textproc/wv). As a dependency, it's trying to build libwmf (/usr/ports/graphics/libwmf). This build, however, keeps crashing. I've pasted the errors below. I've tried deleting (and thereby re-downloading the tarball), and I've also tried re-cvsupping the entire libwmf port. Neither provided an operating solution. Any thoughts? Thanks in advance, John The build goes as follows: ===> Extracting for libwmf-0.1.21 >> Checksum OK for libwmf-0.1.21.tar.gz. ===> libwmf-0.1.21 depends on shared library: png.4 - found ===> libwmf-0.1.21 depends on shared library: ttf.4 - found ===> libwmf-0.1.21 depends on shared library: Xpm.4 - found ===> libwmf-0.1.21 depends on shared library: X11.6 - found ===> Patching for libwmf-0.1.21 ===> Applying FreeBSD patches for libwmf-0.1.21 ===> Configuring for libwmf-0.1.21 (cd /usr/ports/graphics/libwmf/work/libwmf; /bin/ln -sf xgd-1.7.3 xgd) (cd /usr/ports/graphics/libwmf/work/libwmf/libdib; /bin/ln -sf ../bytelevel.c) creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O -pipe ) works... yes checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for ranlib... ranlib checking how to run the C preprocessor... cc -E checking for freetype.h... yes checking for TT_Init_FreeType in -lttf... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for ptsname in -lpt... no checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes checking for unistd.h... yes checking for X11/xpm.h... yes checking for XpmReadFileToXpmImage in -lXpm... yes checking for nint in -lm... no checking for zlib.h... yes checking for gzread in -lz... yes checking for png.h... no checking for working const... yes updating cache ./config.cache creating ./config.status creating Makefile creating libdib/Makefile creating xgd-1.7.3/Makefile creating libxfig/Makefile ===> Building for libwmf-0.1.21 making libxgd in xgd-1.7.3 cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_gd.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_gd2.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_io.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_io_dp.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_io_file.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_ss.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_io_ss.c cc -I/usr/local/include -I/usr/X11R6/include -O -pipe -I/usr/X11R6/include -DHAVE_TTF=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_XPM=1 -DUSE_X=1 -I../ -c gd_png.c gd_png.c:6: png.h: No such file or directory gd_png.c:32: syntax error before `jmp_buf' gd_png.c:37: syntax error before `png_ptr' gd_png.c: In function `gdPngErrorHandler': gd_png.c:50: `msg' undeclared (first use in this function) gd_png.c:50: (Each undeclared identifier is reported only once gd_png.c:50: for each function it appears in.) gd_png.c:53: `png_ptr' undeclared (first use in this function) gd_png.c:53: warning: assignment makes pointer from integer without a cast gd_png.c:61: structure has no member named `jmpbuf' gd_png.c: At top level: gd_png.c:65: syntax error before `png_ptr' gd_png.c: In function `gdPngReadData': gd_png.c:68: `data' undeclared (first use in this function) gd_png.c:68: `length' undeclared (first use in this function) gd_png.c:69: `png_ptr' undeclared (first use in this function) gd_png.c: At top level: gd_png.c:72: syntax error before `png_ptr' gd_png.c: In function `gdPngWriteData': gd_png.c:75: `data' undeclared (first use in this function) gd_png.c:75: `length' undeclared (first use in this function) gd_png.c:76: `png_ptr' undeclared (first use in this function) gd_png.c: At top level: gd_png.c:79: syntax error before `png_ptr' gd_png.c: In function `gdImageCreateFromPngCtx': gd_png.c:98: syntax error before `sig' gd_png.c:104: syntax error before `palette' gd_png.c:120: `sig' undeclared (first use in this function) gd_png.c:124: `png_ptr' undeclared (first use in this function) gd_png.c:124: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function) gd_png.c:131: `info_ptr' undeclared (first use in this function) gd_png.c:144: structure has no member named `jmpbuf' gd_png.c:155: `width' undeclared (first use in this function) gd_png.c:155: `height' undeclared (first use in this function) gd_png.c:163: `PNG_COLOR_MASK_ALPHA' undeclared (first use in this function) gd_png.c:169: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function) gd_png.c:170: `palette' undeclared (first use in this function) gd_png.c:171: `PNG_INFO_tRNS' undeclared (first use in this function) gd_png.c:175: `trans' undeclared (first use in this function) gd_png.c:199: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function) gd_png.c:200: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function) gd_png.c:202: `png_colorp' undeclared (first use in this function) gd_png.c:202: syntax error before `malloc' gd_png.c:170: warning: unreachable code at beginning of switch statement gd_png.c:213: `trans_gray_rgb' undeclared (first use in this function) gd_png.c:229: break statement not within loop or switch gd_png.c:231: `PNG_COLOR_TYPE_RGB' undeclared (first use in this function) gd_png.c:232: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function) gd_png.c:234: syntax error before `malloc' gd_png.c: At top level: gd_png.c:239: warning: data definition has no type or storage class gd_png.c:240: warning: data definition has no type or storage class gd_png.c:241: syntax error before `if' *** Error code 1 Stop in /usr/ports/graphics/libwmf/work/libwmf/xgd-1.7.3. *** Error code 1 Stop in /usr/ports/graphics/libwmf/work/libwmf. *** Error code 1 Stop in /usr/ports/graphics/libwmf. *** Error code 1 Stop in /usr/ports/graphics/libwmf. *** Error code 1 Stop in /usr/ports/graphics/libwmf. merlin# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20010410180144.00aed220>