gd-nox11-2.0.15 (graphics/gd-nox11) won't build

Jon Noack noackjr at alumni.rice.edu
Thu Jul 10 02:09:25 PDT 2003


Didn't work for me -- the result below is what I get for 4.8-RELEASE, 
4.8-STABLE, and 5.1-RELEASE.

cc -O -pipe -march=pentiumpro -c gd_wbmp.c -o gd_wbmp.o
gd_wbmp.c:60: gd.h: No such file or directory
gd_wbmp.c:61: gdfonts.h: No such file or directory
gd_wbmp.c: In function `gd_putout':
gd_wbmp.c:77: `gdIOCtx' undeclared (first use in this function)
gd_wbmp.c:77: (Each undeclared identifier is reported only once
gd_wbmp.c:77: for each function it appears in.)
gd_wbmp.c:77: syntax error before `)'
gd_wbmp.c: In function `gd_getin':
gd_wbmp.c:89: `gdIOCtx' undeclared (first use in this function)
gd_wbmp.c:89: syntax error before `)'
gd_wbmp.c: At top level:
gd_wbmp.c:103: syntax error before `image'
gd_wbmp.c: In function `gdImageWBMPCtx':
gd_wbmp.c:112: `image' undeclared (first use in this function)
gd_wbmp.c:121: `fg' undeclared (first use in this function)
gd_wbmp.c:130: `out' undeclared (first use in this function)
gd_wbmp.c: At top level:
gd_wbmp.c:142: syntax error before `gdImageCreateFromWBMPCtx'
gd_wbmp.c:142: syntax error before `*'
gd_wbmp.c: In function `gdImageCreateFromWBMPCtx':
gd_wbmp.c:146: syntax error before `im'
gd_wbmp.c:150: `infile' undeclared (first use in this function)
gd_wbmp.c:153: `im' undeclared (first use in this function)
gd_wbmp.c: At top level:
gd_wbmp.c:191: syntax error before `gdImageCreateFromWBMP'
gd_wbmp.c: In function `gdImageCreateFromWBMP':
gd_wbmp.c:193: syntax error before `im'
gd_wbmp.c:194: `gdIOCtx' undeclared (first use in this function)
gd_wbmp.c:194: `in' undeclared (first use in this function)
gd_wbmp.c:195: `im' undeclared (first use in this function)
gd_wbmp.c: At top level:
gd_wbmp.c:204: syntax error before `im'
gd_wbmp.c: In function `gdImageWBMP':
gd_wbmp.c:206: `gdIOCtx' undeclared (first use in this function)
gd_wbmp.c:206: `out' undeclared (first use in this function)
gd_wbmp.c:206: `outFile' undeclared (first use in this function)
gd_wbmp.c:207: `im' undeclared (first use in this function)
gd_wbmp.c:207: `fg' undeclared (first use in this function)
gd_wbmp.c: At top level:
gd_wbmp.c:215: syntax error before `im'
gd_wbmp.c: In function `gdImageWBMPPtr':
gd_wbmp.c:218: `gdIOCtx' undeclared (first use in this function)
gd_wbmp.c:218: `out' undeclared (first use in this function)
gd_wbmp.c:219: `im' undeclared (first use in this function)
gd_wbmp.c:219: `fg' undeclared (first use in this function)
gd_wbmp.c:220: `size' undeclared (first use in this function)
gd_wbmp.c:220: warning: assignment makes pointer from integer without a cast
*** Error code 1

Stop in /usr/ports/graphics/gd-nox11/work/gd-2.0.15.
*** Error code 1

Stop in /usr/ports/graphics/gd-nox11/work/gd-2.0.15.
*** Error code 1

Stop in /usr/ports/graphics/gd-nox11.

Sorry,
Jon Noack

daichi said the following on 7/10/2003 3:30 AM:
>>OK -- my original email was slightly in error.  I was actually trying to 
>>build graphics/gd-nox11 instead of graphics/gd2.  In any case, I've 
>>tracked the error down to gd2/files/Makefile.bsd (included from 
>>gd2/Makefile which is in turn included from gd-nox11/Makefile).
>>
>>gd-nox11/Makefile has the following defines before the include:
>>WITHOUT_X11=            yes
>>WITHOUT_XPM=            yes
>>
>>gd2/files/Makefile.bsd acts as if these 2 are not defined while 
>>gd2/Makefile obeys them.  If I define them in /etc/make.conf, the build 
>>works fine.
>>
>>To sum up, the issue is that gd2/files/Makefile.bsd is not inheriting 
>>defined values from gd-nox11/Makefile (through gd2/Makefile).
>>
>>Everyone got that?  good... (sorry if it was confusing)
>>Jon Noack
> 
> 
> Hi Jon
> 
> I committed fix patch from KATO-san. Please update your ports tree
> and check it again :)  I thinks now it has no problem.
> 
> --
>   Daichi GOTO, http://people.freebsd.org/~daichi
> 
> 



More information about the freebsd-ports mailing list