hello community,
compiling libgdiplus 2.6.4-1 on mac os x snow lepoard is not working for me.
help would be greatly appreciated.
best regard
chris
> sudo fink selfupdate
> sudo fink update-all
> sudo fink install libgdiplus
Information about 9367 packages read in 1 seconds.
The following package will be installed or updated:
libgdiplus
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libgdiplus-2.6.4-1
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libgdiplus-2.6.4-1' in
`/sw/src/fink.build/fink-buildlock-libgdiplus-2.6.4-1_2010.07.26-21.59.12_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-libgdiplus-2.6.4-1_2010.07.26-21.59.12_darwin-i386.deb
Selecting previously deselected package fink-buildlock-libgdiplus-2.6.4-1.
(Reading database ... 120746 files and directories currently installed.)
Unpacking fink-buildlock-libgdiplus-2.6.4-1 (from
.../fink-buildlock-libgdiplus-2.6.4-1_2010.07.26-21.59.12_darwin-i386.deb)
...
Setting up fink-buildlock-libgdiplus-2.6.4-1 (2010.07.26-21.59.12) ...
bzip2 -dc /sw/src/libgdiplus-2.6.4.tar.bz2 | /sw/bin/tar -xf -
--no-same-owner --no-same-permissions
[ -r /sw/fink/dists/unstable/main/finkinfo/crypto/libgdiplus.patch ]
patch -p1 < /sw/fink/dists/unstable/main/finkinfo/crypto/libgdiplus.patch
patching file configure
Hunk #1 succeeded at 12839 (offset -8491 lines).
patching file src/Makefile.in
Hunk #1 succeeded at 337 (offset 2 lines).
perl -pi -e 's,-Werror,,' src/Makefile.in
./configure --prefix=/sw --mandir=/sw/share/man --with-cairo=system
--disable-dependency-tracking
checking build system type... i386-apple-darwin10.4.0
checking host system type... i386-apple-darwin10.4.0
checking target system type... i386-apple-darwin10.4.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to
reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... gcc -E
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... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker
(/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin10.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... yes
checking for CAIRO... yes
checking for FONTCONFIG... yes
checking for FcInit in -lfontconfig... no
checking for FcFini... no
checking for FREETYPE2... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking host threading settings... checking if compiler recognizes
-pthread... yes
checking for sigsetjmp... yes
checking for visibility __attribute__... no
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for DGifOpenFileName in -lgif... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for DGifOpenFileName in -lungif... yes
checking for gif_lib.h... (cached) yes
checking for libpng12... yes
checking for LIBEXIF... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgdiplus.pc
config.status: creating libgdiplus0.spec
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
---
Configuration summary
* Installation prefix = /sw
* Cairo = 1.8.10 (system)
* Text = cairo
* EXIF tags = yes
* Codecs supported:
- TIFF:
yes
- JPEG:
yes
- GIF:
yes
- PNG: yes
NOTE: if any of the above say 'no' you may install the
corresponding development packages for them, rerun
autogen.sh to include them in the build.
---
make
make all-recursive
Making all in src
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
-I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/X11/include
-I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -I/sw/include
-Wall -Wno-unused -Wno-format -I/sw/include -g -O2 -pthread -c -o
adjustablearrowcap.lo adjustablearrowcap.c
[...much more...]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/sw/include/freetype2
-I/sw/include -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11/include
-I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -I/sw/include
-Wall -Wno-unused -Wno-format -I/sw/include -g -O2 -pthread -c
jpegcodec.c -fno-common -DPIC -o .libs/jpegcodec.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/sw/include/freetype2
-I/sw/include -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11/include
-I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -I/sw/include
-Wall -Wno-unused -Wno-format -I/sw/include -g -O2 -pthread -c
jpegcodec.c -o jpegcodec.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
-I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/X11/include
-I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -I/sw/include
-Wall -Wno-unused -Wno-format -I/sw/include -g -O2 -pthread -c -o
pngcodec.lo pngcodec.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/sw/include/freetype2
-I/sw/include -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11/include
-I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -I/sw/include
-Wall -Wno-unused -Wno-format -I/sw/include -g -O2 -pthread -c
pngcodec.c -fno-common -DPIC -o .libs/pngcodec.o
pngcodec.c: In function 'gdip_load_png_image_from_file_or_stream':
pngcodec.c:351: error: 'png_info' has no member named 'trans_alpha'
make[2]: *** [pngcodec.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libgdiplus-2.6.4-1
(Reading database ... 120747 files and directories currently installed.)
Removing fink-buildlock-libgdiplus-2.6.4-1 ...
Failed: phase compiling: libgdiplus-2.6.4-1 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:
Benjamin Reed <[email protected]>
Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users