Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 15:51:02 +0100
From:      "G D McKee" <freebsd@gdmckee.com>
To:        <freebsd-ports@freebsd.org>
Subject:   gd-2 broken?
Message-ID:  <008901c20b0e$1529e4f0$c800a8c0@p1000>

next in thread | raw e-mail | index | archive | help
Hi

Just tried to patch mod_php4 to the latest version and got the following
error!!

cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-2.0.1 -I/usr
/local/include/freetype2/  -I/usr/local/include/freetype2/freetype -I/usr/lo
cal/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/usr/X11R6/in
clude/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_jpeg.c -o gd_jpeg.o
cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-2.0.1 -I/usr
/local/include/freetype2/  -I/usr/local/include/freetype2/freetype -I/usr/lo
cal/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/usr/X11R6/in
clude/X11 -I/usr/X11R6/include -DHAVE_XPM -c gdxpm.c -o gdxpm.o
gdxpm.c:23: xpm.h: No such file or directory
cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-2.0.1 -I/usr
/local/include/freetype2/  -I/usr/local/include/freetype2/freetype -I/usr/lo
cal/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/usr/X11R6/in
clude/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_gif_in.c -o gd_gif_in.o
gdxpm.c: In function `gdImageCreateFromXpm':
gdxpm.c:28: syntax error before `info'
gdxpm.c:39: `image' undeclared (first use in this function)
gdxpm.c:39: (Each undeclared identifier is reported only once
gdxpm.c:39: for each function it appears in.)
gdxpm.c:39: `info' undeclared (first use in this function)
gdxpm.c:40: `XpmSuccess' undeclared (first use in this function)
cc -fpic -DPIC -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-
2.0.1 -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freety
pe -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/
usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_io_file.c -o
gd_io_file.So
cc -fpic -DPIC -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-
2.0.1 -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freety
pe -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/
usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_ss.c -o gd_ss.So
*** Error code 1
cc -fpic -DPIC -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-
2.0.1 -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freety
pe -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/
usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_io_ss.c -o
gd_io_ss.So
cc -fpic -DPIC -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-
2.0.1 -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freety
pe -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/
usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_png.c -o
gd_png.So
1 error
*** Error code 2
cc -fpic -DPIC -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-
2.0.1 -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freety
pe -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/
usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM -c gd_jpeg.c -o
gd_jpeg.So
cc -fpic -DPIC -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd2/work/gd-
2.0.1 -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freety
pe -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/
usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM -c gdxpm.c -o gdxpm.So
gdxpm.c:23: xpm.h: No such file or directory
gdxpm.c: In function `gdImageCreateFromXpm':
gdxpm.c:28: syntax error before `info'
gdxpm.c:39: `image' undeclared (first use in this function)
gdxpm.c:39: (Each undeclared identifier is reported only once
gdxpm.c:39: for each function it appears in.)
gdxpm.c:39: `info' undeclared (first use in this function)
gdxpm.c:40: `XpmSuccess' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 2
2 errors
*** Error code 2

Stop in /usr/ports/graphics/gd2.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
fastdell#


Does anyone have any ideas?

Tried it on two boses and the same error on both.  Tried an earlier version
of gd-2 and it still broke so I guess something else is a stray?

Gordon



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008901c20b0e$1529e4f0$c800a8c0>