gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep-gui-0.9.4 and libpng path configuring


From: T.J. Yang
Subject: Re: gnustep-gui-0.9.4 and libpng path configuring
Date: Fri, 22 Oct 2004 21:10:43 -0500

From: Adam Fedor <address@hidden>
To: "T.J. Yang" <address@hidden>
CC: address@hidden
Subject: Re: gnustep-gui-0.9.4 and libpng path configuring
Date: Fri, 22 Oct 2004 19:54:02 -0600


On Oct 22, 2004, at 7:15 PM, T.J. Yang wrote:

from ./configure --help of gnustep-gui-0.9.4

<snip>
Optional Packages:
 --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 --with-x                use the X Window System
 --with-jpeg-library=DIR JPEG library file are in DIR
 --with-jpeg-include=DIR JPEG include files are in DIR
 --with-tiff-library=DIR TIFF library file are in DIR
 --with-tiff-include=DIR TIFF include files are in DIR
 --with-ungif-library=DIR UNGIF library file are in DIR
 --with-ungif-include=DIR UNGIF include files are in DIR
 --with-audiofile-library=DIR AUDIOFILE library file are in DIR
 --with-audiofile-include=DIR AUDIOFILE include files are in DIR



Actually, setting --with-jpeg-include and --with-jpeg-library should work for everything, since it's tested first and the flags are just added to the general CFLAGS and LDFLAGS. I dislike having all those --with options. Really there should just be two.

Execuse the long post. I tried your suggestion but failed at png.h can't be found.

tj

<snip>
configuring ...
   creating configure script ... /var/tmp/AAAiZaOX4
   executing configure script ...
+ echo /opt/TWWfsw/gcc332r/lib://GNUstep/Library/Libraries:/opt/TWWfsw/GNUstep/Local/Library/Libraries:/opt/TWWfsw/GNUstep/System/Library/Libraries:/opt/TWWfsw/libpng12/lib:/opt/TWWfsw/cups1120r/lib
/opt/TWWfsw/gcc332r/lib://GNUstep/Library/Libraries:/opt/TWWfsw/GNUstep/Local/Library/Libraries:/opt/TWWfsw/GNUstep/System/Library/Libraries:/opt/TWWfsw/libpng12/lib:/opt/TWWfsw/cups1120r/lib
+ ./configure CC=gcc CFLAGS=-O2 --prefix=/opt/TWWfsw/GNUstep --with-jpeg-library=/opt/TWWfsw/libpng12/lib --with-jpeg-include=/opt/TWWfsw/libpng12/include --with-ungif-library=/opt/TWWfsw/libungif/lib --with-ungif-include=/opt/TWWfsw/libungif/include --with-jpeg-library=/opt/TWWfsw/jpeg/lib --with-jpeg-include=/opt/TWWfsw/jpeg/include --with-tiff-library=/opt/TWWfsw/tiff/lib --with-tiff-include=/opt/TWWfsw/tiff/include --disable-gsnd
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for main in -lm... yes
checking for rint... yes
checking for rintf... no
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for main in -lz... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for png_sig_cmp in -lpng... yes
checking for DGifOpen in -lungif... yes
checking for new_aspell_document_checker in -laspell... no
checking for afGetVirtualFrameSize in -laudiofile... yes
checking for cups-config... no
Could not find cups-config program, cups printing support will not be built.
checking for the version of gnustep-gui we are compiling... 0.9.4
configure: creating ./config.status
config.status: creating config.make
config.status: creating gui.make
config.status: creating Headers/Additions/GNUstepGUI/GSVersion.h
config.status: creating Headers/Additions/GNUstepGUI/config.h
 building ...
   creating build script ... /var/tmp/BAAjZaOX4
   executing build script ...
rm -rf ./*~ ./obj
Making clean in Source...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Source'
rm -rf ./*~ ./obj
(cd .; \
rm -rf shared_obj  )
rm -f libgnustep-gui.def
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Source'
Making clean in Images...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Images'
rm -rf ./*~ ./obj
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Images'
Making clean in Model...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Model'
rm -rf ./*~ ./obj
(cd .; \
rm -rf shared_obj   \
      libgmodel.bundle)
(cd .; \
rm -rf shared_obj  )
rm -rf ./shared_obj
(cd .; \
rm -rf shared_obj   \
  *.app)
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Model'
Making clean in Tools...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Tools'
rm -rf ./*~ ./obj
rm -rf ./shared_obj
(cd .; \
rm -rf shared_obj   \
 *.service)
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Tools'
Making clean in Panels...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Panels'
rm -rf ./*~ ./obj
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Panels'
Making clean in PrinterTypes...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/PrinterTypes'
rm -rf ./*~ ./obj
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/PrinterTypes'
Making clean in TextConverters...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/TextConverters'
rm -rf ./*~ ./obj
Making clean in RTF...
gmake[2]: Entering directory `/opt/build/gnustep-gui-0.9.4/TextConverters/RTF'
rm -rf ./*~ ./obj
(cd .; \
rm -rf shared_obj   \
      RTFConverter.bundle)
gmake[2]: Leaving directory `/opt/build/gnustep-gui-0.9.4/TextConverters/RTF'
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/TextConverters'
Making clean in ColorPickers...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/ColorPickers'
rm -rf ./*~ ./obj
(cd .; \
rm -rf shared_obj       \
      StandardPicker.bundle NamedPicker.bundle WheelPicker.bundle)
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/ColorPickers'
Making clean in KeyBindings...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/KeyBindings'
rm -rf ./*~ ./obj
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/KeyBindings'
Making clean in Resources...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Resources'
rm -rf ./*~ ./obj
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Resources'
Making clean in Printing...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Printing'
rm -rf ./*~ ./obj
Making clean in GSLPR...
gmake[2]: Entering directory `/opt/build/gnustep-gui-0.9.4/Printing/GSLPR'
rm -rf ./*~ ./obj
(cd .; \
rm -rf shared_obj   \
      GSLPR.bundle)
gmake[2]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Printing/GSLPR'
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Printing'
cd Headers ; cd gnustep ; cd gui ; rm -f *~
/bin/sh: gnustep: does not exist
gmake: *** [after-clean] Error 1
Making all in Source...
gmake[1]: Entering directory `/opt/build/gnustep-gui-0.9.4/Source'
/opt/TWWfsw/GNUstep/System/Library/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepGUI/config.h .
touch ./config.h
Making all for library libgnustep-gui...
Compiling file Functions.m ...
Compiling file NSActionCell.m ...
Compiling file NSAffineTransform.m ...
Compiling file NSAlert.m ...
Compiling file NSApplication.m ...
Compiling file NSAttributedString.m ...
Compiling file NSBezierPath.m ...
Compiling file NSBitmapImageRep.m ...
Compiling file NSBitmapImageRep+GIF.m ...
Compiling file NSBitmapImageRep+JPEG.m ...
Compiling file NSBitmapImageRep+PNG.m ...
NSBitmapImageRep+PNG.m:34:17: warning: png.h: No such file or directory
NSBitmapImageRep+PNG.m: In function `+[NSBitmapImageRep(PNG) _bitmapIsPNG:]': NSBitmapImageRep+PNG.m:48: warning: implicit declaration of function `png_sig_cmp' NSBitmapImageRep+PNG.m:48: error: `png_bytep' undeclared (first use in this function) NSBitmapImageRep+PNG.m:48: error: (Each undeclared identifier is reported only once
NSBitmapImageRep+PNG.m:48: error: for each function it appears in.)
NSBitmapImageRep+PNG.m:48: error: parse error before "bytes"
NSBitmapImageRep+PNG.m: At top level:
NSBitmapImageRep+PNG.m:59: error: parse error before "png_struct"
NSBitmapImageRep+PNG.m: In function `reader_func':
NSBitmapImageRep+PNG.m:62: warning: implicit declaration of function `png_get_io_ptr' NSBitmapImageRep+PNG.m:62: error: `png_struct' undeclared (first use in this function) NSBitmapImageRep+PNG.m:62: warning: initialization makes pointer from integer without a cast NSBitmapImageRep+PNG.m:64: error: `length' undeclared (first use in this function) NSBitmapImageRep+PNG.m:66: warning: implicit declaration of function `png_error' NSBitmapImageRep+PNG.m:69: error: `data' undeclared (first use in this function) NSBitmapImageRep+PNG.m: In function `-[NSBitmapImageRep(PNG) _initBitmapFromPNG:]': NSBitmapImageRep+PNG.m:75: error: `png_structp' undeclared (first use in this function)
NSBitmapImageRep+PNG.m:75: error: parse error before "png_struct"
NSBitmapImageRep+PNG.m:76: error: `png_infop' undeclared (first use in this function) NSBitmapImageRep+PNG.m:93: error: `png_struct' undeclared (first use in this function) NSBitmapImageRep+PNG.m:93: warning: implicit declaration of function `png_create_read_struct' NSBitmapImageRep+PNG.m:93: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function) NSBitmapImageRep+PNG.m:100: error: `png_info' undeclared (first use in this function) NSBitmapImageRep+PNG.m:100: warning: implicit declaration of function `png_create_info_struct' NSBitmapImageRep+PNG.m:103: warning: implicit declaration of function `png_destroy_read_struct' NSBitmapImageRep+PNG.m:108: error: `png_end_info' undeclared (first use in this function) NSBitmapImageRep+PNG.m:116: warning: implicit declaration of function `png_jmpbuf' NSBitmapImageRep+PNG.m:116: warning: passing arg 1 of `setjmp' makes pointer from integer without a cast NSBitmapImageRep+PNG.m:125: warning: implicit declaration of function `png_set_read_fn' NSBitmapImageRep+PNG.m:127: warning: implicit declaration of function `png_read_info' NSBitmapImageRep+PNG.m:129: warning: implicit declaration of function `png_get_image_width' NSBitmapImageRep+PNG.m:130: warning: implicit declaration of function `png_get_image_height' NSBitmapImageRep+PNG.m:131: warning: implicit declaration of function `png_get_rowbytes' NSBitmapImageRep+PNG.m:132: warning: implicit declaration of function `png_get_color_type' NSBitmapImageRep+PNG.m:133: warning: implicit declaration of function `png_get_channels' NSBitmapImageRep+PNG.m:134: warning: implicit declaration of function `png_get_bit_depth' NSBitmapImageRep+PNG.m:138: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function) NSBitmapImageRep+PNG.m:145: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function) NSBitmapImageRep+PNG.m:152: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function) NSBitmapImageRep+PNG.m:153: warning: implicit declaration of function `png_set_palette_to_rgb' NSBitmapImageRep+PNG.m:158: warning: implicit declaration of function `png_get_valid' NSBitmapImageRep+PNG.m:158: error: `PNG_INFO_tRNS' undeclared (first use in this function) NSBitmapImageRep+PNG.m:162: warning: implicit declaration of function `png_set_tRNS_to_alpha' NSBitmapImageRep+PNG.m:170: error: `PNG_COLOR_TYPE_RGB' undeclared (first use in this function) NSBitmapImageRep+PNG.m:177: error: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function) NSBitmapImageRep+PNG.m:197: warning: implicit declaration of function `png_read_image'
gmake[2]: *** [shared_obj/NSBitmapImageRep+PNG.o] Error 1
gmake[1]: *** [libgnustep-gui.all.library.variables] Error 2
gmake[1]: Leaving directory `/opt/build/gnustep-gui-0.9.4/Source'
gmake: *** [internal-all] Error 2
     error: error executing script

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]