Hello,
I'm trying to build gd-1.8.4 and it is failing fairly quickly. I'm hoping someone could enlighten me as to why. I am using portinstall to install it, but get the same result if i just use make in /usr/ports/graphics/gd. here is the output of `portversion`, followed by output of `portinstall -DN gd` I apologize for the length of this question but i'd rather err on the side of too much information. I've already tried cvsup'ing my ports collection and tried grabbing the distfiles from ftp.freebsd.org instead of letting it grab from boutell.com when i look in the workdir for gd, gd.h is not there, but gd.h.orig. Thanks in advance. .daniel.schrock 16:05:14:root@cobalt (/dev/ttyp1): 8 /usr/ports/graphics/gd >> portversion bash = dnetc = expat = freetype2 = gettext = gmake = jpeg = libiconv = libtool = mpd = pcre = png = portupgrade = ruby = ruby-bdb1 = ruby-shim-ruby18 = 16:05:22:root@cobalt (/dev/ttyp1): 9 /usr/ports/graphics/gd >> portinstall -DN gd ---> 2 ports match the given pattern 'gd': graphics/gd graphics/gd2 Install 'graphics/gd'? [yes] yes Install 'graphics/gd2'? [yes] no ---> Installing 'gd-1.8.4_6' from a port (graphics/gd) ---> Building '/usr/ports/graphics/gd' ===> Cleaning for libiconv-1.8_2 ===> Cleaning for gettext-0.11.5_1 ===> Cleaning for gmake-3.80 ===> Cleaning for libtool-1.3.4_4 ===> Cleaning for jpeg-6b_1 ===> Cleaning for png-1.2.5 ===> Cleaning for freetype2-2.1.2_1 ===> Cleaning for expat-1.95.5 ===> Cleaning for gd-1.8.4_6 ===> Deleting distfiles for gd-1.8.4_6 If you want to compile with Xpm support, hit Ctrl-C right now and use "make WITH_X11=yes" >> gd-1.8.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://www.boutell.com/gd/http/. Receiving gd-1.8.4.tar.gz (257631 bytes): 100% 257631 bytes transferred in 4.1 seconds (61.47 kBps) >> gd_gif_in.c.bz2 doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://www.boutell.com/gd/http/. fetch: http://www.boutell.com/gd/http/gd_gif_in.c.bz2: Not Found >> Attempting to fetch from ftp://ftp.boutell.com/pub/boutell/gd/. fetch: ftp://ftp.boutell.com/pub/boutell/gd/gd_gif_in.c.bz2: Connection refused >> Attempting to fetch from http://virtual-estates.net/~mi/port-stuff/. Receiving gd_gif_in.c.bz2 (3760 bytes): 100% 3760 bytes transferred in 0.1 seconds (50.50 kBps) ===> Extracting for gd-1.8.4_6 >> Checksum OK for gd-1.8.4.tar.gz. >> Checksum OK for gd_gif_in.c.bz2. ===> gd-1.8.4_6 depends on executable: freetype-config - found ===> gd-1.8.4_6 depends on shared library: jpeg - found ===> gd-1.8.4_6 depends on shared library: png - found ===> gd-1.8.4_6 depends on shared library: freetype - found ===> Patching for gd-1.8.4_6 ===> Applying FreeBSD patches for gd-1.8.4_6 ===> Configuring for gd-1.8.4_6 ===> Building for gd-1.8.4_6 cc -O -pipe -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I. `/usr/local/bin/freetype-config --cflags` -I/usr/local/include -c gd.c cc -O -pipe -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I. `/usr/local/bin/freetype-config --cflags` -I/usr/local/include -c gd_gd.c cc -O -pipe -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I. `/usr/local/bin/freetype-config --cflags` -I/usr/local/include -c gd_gd2.c gd_gd2.c:19: gd.h: No such file or directory gd_gd2.c:35: syntax error before `*' gd_gd2.c:36: syntax error before `im' gd_gd2.c:42: syntax error before `in' gd_gd2.c: In function `_gd2GetHeader': gd_gd2.c:55: `in' undeclared (first use in this function) gd_gd2.c:55: (Each undeclared identifier is reported only once gd_gd2.c:55: for each function it appears in.) gd_gd2.c:66: `GD2_ID' undeclared (first use in this function) gd_gd2.c:72: `vers' undeclared (first use in this function) gd_gd2.c:83: `sx' undeclared (first use in this function) gd_gd2.c:87: `sy' undeclared (first use in this function) gd_gd2.c:94: `cs' undeclared (first use in this function) gd_gd2.c:99: `GD2_CHUNKSIZE_MIN' undeclared (first use in this function) gd_gd2.c:99: `GD2_CHUNKSIZE_MAX' undeclared (first use in this function) gd_gd2.c:105: `fmt' undeclared (first use in this function) gd_gd2.c:110: `GD2_FMT_RAW' undeclared (first use in this function) gd_gd2.c:110: `GD2_FMT_COMPRESSED' undeclared (first use in this function) gd_gd2.c:117: `ncx' undeclared (first use in this function) gd_gd2.c:123: `ncy' undeclared (first use in this function) gd_gd2.c:141: `chunkIdx' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:153: syntax error before `_gd2CreateFromFile' gd_gd2.c:153: syntax error before `in' gd_gd2.c: In function `_gd2CreateFromFile': gd_gd2.c:157: syntax error before `im' gd_gd2.c:159: `in' undeclared (first use in this function) gd_gd2.c:159: `sx' undeclared (first use in this function) gd_gd2.c:159: `sy' undeclared (first use in this function) gd_gd2.c:159: `cs' undeclared (first use in this function) gd_gd2.c:159: `vers' undeclared (first use in this function) gd_gd2.c:159: `fmt' undeclared (first use in this function) gd_gd2.c:159: `ncx' undeclared (first use in this function) gd_gd2.c:159: `ncy' undeclared (first use in this function) gd_gd2.c:159: `cidx' undeclared (first use in this function) gd_gd2.c:164: `im' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:188: syntax error before `gdIOCtx' gd_gd2.c: In function `_gd2ReadChunk': gd_gd2.c:192: `in' undeclared (first use in this function) gd_gd2.c:192: `offset' undeclared (first use in this function) gd_gd2.c:201: `compBuf' undeclared (first use in this function) gd_gd2.c:201: `compSize' undeclared (first use in this function) gd_gd2.c:205: `chunkBuf' undeclared (first use in this function) gd_gd2.c:205: `chunkLen' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:215: syntax error before `gdImageCreateFromGd2' gd_gd2.c: In function `gdImageCreateFromGd2': gd_gd2.c:217: `gdIOCtx' undeclared (first use in this function) gd_gd2.c:217: `in' undeclared (first use in this function) gd_gd2.c:218: syntax error before `im' gd_gd2.c:220: `im' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:227: syntax error before `gdImageCreateFromGd2Ctx' gd_gd2.c:227: syntax error before `in' gd_gd2.c: In function `gdImageCreateFromGd2Ctx': gd_gd2.c:243: syntax error before `im' gd_gd2.c:246: `im' undeclared (first use in this function) gd_gd2.c:246: `in' undeclared (first use in this function) gd_gd2.c:254: `GD2_FMT_COMPRESSED' undeclared (first use in this function) gd_gd2.c:311: `GD2_FMT_RAW' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:354: syntax error before `gdImageCreateFromGd2Part' gd_gd2.c: In function `gdImageCreateFromGd2Part': gd_gd2.c:356: syntax error before `im' gd_gd2.c:357: `gdIOCtx' undeclared (first use in this function) gd_gd2.c:357: `in' undeclared (first use in this function) gd_gd2.c:359: `im' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:366: syntax error before `gdImageCreateFromGd2PartCtx' gd_gd2.c:366: syntax error before `*' gd_gd2.c: In function `gdImageCreateFromGd2PartCtx': gd_gd2.c:383: syntax error before `im' gd_gd2.c:390: `in' undeclared (first use in this function) gd_gd2.c:397: `im' undeclared (first use in this function) gd_gd2.c:397: `w' undeclared (first use in this function) gd_gd2.c:397: `h' undeclared (first use in this function) gd_gd2.c:410: `GD2_FMT_COMPRESSED' undeclared (first use in this function) gd_gd2.c:432: `srcx' undeclared (first use in this function) gd_gd2.c:433: `srcy' undeclared (first use in this function) gd_gd2.c:465: `GD2_FMT_RAW' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:537: syntax error before `im' gd_gd2.c: In function `_gd2PutHeader': gd_gd2.c:543: `GD2_ID' undeclared (first use in this function) gd_gd2.c:543: `out' undeclared (first use in this function) gd_gd2.c:549: `GD2_VERS' undeclared (first use in this function) gd_gd2.c:550: `im' undeclared (first use in this function) gd_gd2.c:552: `cs' undeclared (first use in this function) gd_gd2.c:553: `fmt' undeclared (first use in this function) gd_gd2.c:554: `cx' undeclared (first use in this function) gd_gd2.c:555: `cy' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:559: syntax error before `im' gd_gd2.c: In function `_gdImageGd2': gd_gd2.c:579: `fmt' undeclared (first use in this function) gd_gd2.c:579: `GD2_FMT_RAW' undeclared (first use in this function) gd_gd2.c:579: `GD2_FMT_COMPRESSED' undeclared (first use in this function) gd_gd2.c:589: `cs' undeclared (first use in this function) gd_gd2.c:590: `GD2_CHUNKSIZE' undeclared (first use in this function) gd_gd2.c:591: `GD2_CHUNKSIZE_MIN' undeclared (first use in this function) gd_gd2.c:593: `GD2_CHUNKSIZE_MAX' undeclared (first use in this function) gd_gd2.c:598: `im' undeclared (first use in this function) gd_gd2.c:602: `out' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:717: syntax error before `im' gd_gd2.c: In function `gdImageGd2': gd_gd2.c:719: `gdIOCtx' undeclared (first use in this function) gd_gd2.c:719: `out' undeclared (first use in this function) gd_gd2.c:719: `outFile' undeclared (first use in this function) gd_gd2.c:720: `im' undeclared (first use in this function) gd_gd2.c:720: `cs' undeclared (first use in this function) gd_gd2.c:720: `fmt' undeclared (first use in this function) gd_gd2.c: At top level: gd_gd2.c:724: syntax error before `im' gd_gd2.c: In function `gdImageGd2Ptr': gd_gd2.c:727: `gdIOCtx' undeclared (first use in this function) gd_gd2.c:727: `out' undeclared (first use in this function) gd_gd2.c:728: `im' undeclared (first use in this function) gd_gd2.c:728: `cs' undeclared (first use in this function) gd_gd2.c:728: `fmt' undeclared (first use in this function) gd_gd2.c:729: `size' undeclared (first use in this function) gd_gd2.c:729: warning: assignment makes pointer from integer without a cast *** Error code 1 Stop in /usr/ports/graphics/gd/work/gd-1.8.4. *** Error code 1 Stop in /usr/ports/graphics/gd. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall75812.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! graphics/gd (missing header) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message