hello--okay so i've managed to configure fvwm properly(?)
with png support.  that is, the message at the end of the
configure process states PNG support as yes.  when i go to
compile, however, i get the attached fatal error.  any
ideas?  i'm including my fvwm-options during configuration,
also.  i've checked the paths, yet again, and the dir
exists and contains the proper png.h file which seems to
be causing the problem for Fpng.h ... hmm.

-jesse
--prefix=/home/unmdue/jlf27/bin/fvwm  --disable-bidi  --disable-nls  
--disable-xinerama  --disable-xft  --disable-xrender  --without-gnome  
--without-stroke  --with-png-library=/home/unmdue/jlf27/bin/libpng/lib  
--with-png-includes=/home/unmdue/jlf27/bin/libpng/include/libpng12
% gmake

gmake  all-recursive
gmake[1]: Entering directory `/tmp/jlf27/fvwm-2.5.7'
Making all in libs
gmake[2]: Entering directory `/tmp/jlf27/fvwm-2.5.7/libs'
source='PictureImageLoader.c' object='PictureImageLoader.o' libtool=no \
depfile='.deps/PictureImageLoader.Po' tmpdepfile='.deps/PictureImageLoader.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I/util/X11R6.6/include      -g -O2 -Wall 
-Wno-implicit-int -c `test -f 'PictureImageLoader.c' || echo './'`PictureImageLoader.c
In file included from PictureImageLoader.c:44:
Fpng.h:27:17: png.h: No such file or directory
In file included from PictureImageLoader.c:44:
Fpng.h:98: parse error before "Fpng_uint_32"
Fpng.h:98: warning: data definition has no type or storage class
Fpng.h:99: parse error before "Fpng_int_32"
Fpng.h:99: warning: data definition has no type or storage class
Fpng.h:100: parse error before "Fpng_uint_16"
Fpng.h:100: warning: data definition has no type or storage class
Fpng.h:101: parse error before "Fpng_int_16"
Fpng.h:101: warning: data definition has no type or storage class
Fpng.h:102: parse error before "Fpng_byte"
Fpng.h:102: warning: data definition has no type or storage class
Fpng.h:103: parse error before "Fpng_size_t"
Fpng.h:103: warning: data definition has no type or storage class
Fpng.h:105: parse error before "Fpng_struct"
Fpng.h:105: warning: data definition has no type or storage class
Fpng.h:106: parse error before "Fpng_structp"
Fpng.h:106: warning: data definition has no type or storage class
Fpng.h:107: parse error before "Fpng_structpp"
Fpng.h:107: warning: data definition has no type or storage class
Fpng.h:108: parse error before "Fpng_info"
Fpng.h:108: warning: data definition has no type or storage class
Fpng.h:109: parse error before "Fpng_infop"
Fpng.h:109: warning: data definition has no type or storage class
Fpng.h:110: parse error before "Fpng_infopp"
Fpng.h:110: warning: data definition has no type or storage class
PictureImageLoader.c: In function `PImageLoadPng':
PictureImageLoader.c:102: parse 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:131: warning: implicit declaration of function 
`png_create_read_struct'
PictureImageLoader.c:131: `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:156: warning: implicit declaration of function `png_get_IHDR'
PictureImageLoader.c:156: parse error before ')' token
PictureImageLoader.c:156: `w32' undeclared (first use in this function)
PictureImageLoader.c:156: parse error before ')' token
PictureImageLoader.c:156: `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_expand'
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:187: warning: implicit declaration of function 
`png_set_swap_alpha'
PictureImageLoader.c:188: warning: implicit declaration of function `png_set_filler'
PictureImageLoader.c:188: `PNG_FILLER_BEFORE' 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)
gmake[2]: *** [PictureImageLoader.o] Error 1
gmake[2]: Leaving directory `/tmp/jlf27/fvwm-2.5.7/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/jlf27/fvwm-2.5.7'
gmake: *** [all] Error 2
|13:38 /tmp/jlf27/fvwm-2.5.7|% exit

exit

script done on Wed Sep 03 13:38:27 2003

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to