x11-wm/fvwm2-devel build problem (fvwm-2.5.6)

Shawn Kennedy shawnlkennedy at lucent.com
Tue Apr 15 14:17:11 PDT 2003


Hello,

I have a problem building the update to this port.

I've been keeping things updated with cvsup every week
and am running 4.8 STABLE just fine. The port structure
updated OK and all my other ports upgrade fine, but for
some reason, I can't get this port to build.
Anyone with ideas? The error is complaining about
not being able to find "png.h", but I find it under
/usr/local/include/libpng and /usr/local/include/png.h.
I've attached a snippet of the relevant build output
at the end.

Shawn
shawnlkennedy at lucent.com


=======================================================

.
.
.
.
source='Bindings.c' object='Bindings.o' libtool=no \
depfile='.deps/Bindings.Po' tmpdepfile='.deps/Bindings.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I/usr/X11R6/include      -O -pipe  -Wall -Wno-implicit-int -c `test -f 'Bindings.c' || echo
'./'`Bindings.c
source='FlocaleCharset.c' object='FlocaleCharset.o' libtool=no \
depfile='.deps/FlocaleCharset.Po' tmpdepfile='.deps/FlocaleCharset.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I/usr/X11R6/include      -O -pipe  -Wall -Wno-implicit-int -c `test -f 'FlocaleCharset.c' ||
echo './'`FlocaleCharset.c
source='Parse.c' object='Parse.o' libtool=no \
depfile='.deps/Parse.Po' tmpdepfile='.deps/Parse.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I/usr/X11R6/include      -O -pipe  -Wall -Wno-implicit-int -c `test -f 'Parse.c' || echo
'./'`Parse.c
source='PictureImageLoader.c' object='PictureImageLoader.o' libtool=no \
depfile='.deps/PictureImageLoader.Po' tmpdepfile='.deps/PictureImageLoader.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I/usr/X11R6/include      -O -pipe  -Wall -Wno-implicit-int -c `test -f
'PictureImageLoader.c' || echo './'`PictureImageLoader.c
In file included from PictureImageLoader.c:44:
Fpng.h:27: png.h: No such file or directory
In file included from PictureImageLoader.c:44:
Fpng.h:98: syntax error before `Fpng_uint_32'
Fpng.h:98: warning: data definition has no type or storage class
Fpng.h:99: syntax error before `Fpng_int_32'
Fpng.h:99: warning: data definition has no type or storage class
Fpng.h:100: syntax error before `Fpng_uint_16'
Fpng.h:100: warning: data definition has no type or storage class
Fpng.h:101: syntax error before `Fpng_int_16'
Fpng.h:101: warning: data definition has no type or storage class
Fpng.h:102: syntax error before `Fpng_byte'
Fpng.h:102: warning: data definition has no type or storage class
Fpng.h:103: syntax error before `Fpng_size_t'
Fpng.h:103: warning: data definition has no type or storage class
Fpng.h:105: syntax error before `Fpng_struct'
Fpng.h:105: warning: data definition has no type or storage class
Fpng.h:106: syntax error before `Fpng_structp'
Fpng.h:106: warning: data definition has no type or storage class
Fpng.h:107: syntax error before `Fpng_structpp'
Fpng.h:107: warning: data definition has no type or storage class
Fpng.h:108: syntax error before `Fpng_info'
Fpng.h:108: warning: data definition has no type or storage class
Fpng.h:109: syntax error before `Fpng_infop'
Fpng.h:109: warning: data definition has no type or storage class
Fpng.h:110: syntax error before `Fpng_infopp'
Fpng.h:110: warning: data definition has no type or storage class
PictureImageLoader.c: In function `PImageLoadPng':
PictureImageLoader.c:102: syntax error before `w32'
PictureImageLoader.c:124: warning: implicit declaration of function `png_check_sig'
PictureImageLoader.c:130: `Fpng_ptr' undeclared (first use in this function)
PictureImageLoader.c:130: (Each undeclared identifier is reported only once
PictureImageLoader.c:130: for each function it appears in.)
PictureImageLoader.c:130: warning: implicit declaration of function `png_create_read_struct'
PictureImageLoader.c:130: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
PictureImageLoader.c:137: `Finfo_ptr' undeclared (first use in this function)
PictureImageLoader.c:137: warning: implicit declaration of function `png_create_info_struct'
PictureImageLoader.c:140: warning: implicit declaration of function `png_destroy_read_struct'
PictureImageLoader.c:152: warning: implicit declaration of function `png_init_io'
PictureImageLoader.c:153: warning: implicit declaration of function `png_read_info'
PictureImageLoader.c:154: warning: implicit declaration of function `png_get_IHDR'
PictureImageLoader.c:154: syntax error before `)'
PictureImageLoader.c:154: `w32' undeclared (first use in this function)
PictureImageLoader.c:155: syntax error before `)'
PictureImageLoader.c:155: `h32' undeclared (first use in this function)
PictureImageLoader.c:161: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
PictureImageLoader.c:163: warning: implicit declaration of function `png_set_exp
PictureImageLoader.c:165: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
PictureImageLoader.c:169: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
PictureImageLoader.c:174: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
PictureImageLoader.c:190: warning: implicit declaration of function `png_set_bgr'
PictureImageLoader.c:191: warning: implicit declaration of function `png_set_filler'
PictureImageLoader.c:191: `PNG_FILLER_AFTER' undeclared (first use in this function)
PictureImageLoader.c:194: warning: implicit declaration of function `png_set_strip_16'
PictureImageLoader.c:196: warning: implicit declaration of function `png_set_packing'
PictureImageLoader.c:197: warning: implicit declaration of function `png_get_valid'
PictureImageLoader.c:197: `PNG_INFO_tRNS' undeclared (first use in this function)
PictureImageLoader.c:205: warning: implicit declaration of function `png_set_gray_to_rgb'
PictureImageLoader.c:206: warning: implicit declaration of function `png_get_bit_depth'
PictureImageLoader.c:208: warning: implicit declaration of function `png_set_gray_1_2_4_to_8'
PictureImageLoader.c:215: warning: implicit declaration of function `png_read_image'
PictureImageLoader.c:216: warning: implicit declaration of function `png_read_end'
PictureImageLoader.c:217: `png_infopp' undeclared (first use in this function)
PictureImageLoader.c:217: syntax error before `0'
gmake[2]: *** [PictureImageLoader.o] Error 1
gmake[2]: Leaving directory `/usr/ports/x11-wm/fvwm2-devel/work/fvwm-2.5.6/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-wm/fvwm2-devel/work/fvwm-2.5.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-wm/fvwm2-devel.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade50533.0 make
** Fix the problem and try again.
** 'net/angst' is marked as IGNORE:
        "is marked as broken: "Changes ownership of system directories""
** The following packages were not installed or upgraded (*:skipped / !:failed)
        ! x11-wm/fvwm2-devel (fvwm-imlib-2.5.5) (missing header)



More information about the freebsd-questions mailing list