-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/23/11 4:04 PM, Rodney Lott wrote:
> Hello.
> 
> I am new to the fink suite and I was trying to install gimp (i.e. 
> fink install gimp).  After much of the building has been done, I 
> got this error when trying to build the imlib package:
> 
> gcc -DSYSTEM_IMRC=\"/sw/etc/imrc\" -DIMLIB_LIB=\"/sw/lib\" - 
> DSYSCONFDIR=\"/sw/etc\" -I. -I. -I.. -I. -I. -I.. -I./.. 
> -I/sw/include/ gtk-1.2 -I/sw/include/glib-1.2 
> -I/sw/lib/glib/include -I/usr/X11R6/ include -I/usr/X11/include 
> -I/sw/include/glib-1.2 -I/sw/lib/glib/ include -w 
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ 
> freetype219/include -I/sw/include -I/sw/include/gtk-1.2 
> -I/sw/include/ glib-1.2 -I/sw/lib/glib/include
> -I/usr/X11R6/include -I/sw/include -I/ sw/include -g -O2 -MT
> io-tiff.lo -MD -MP -MF .deps/io-tiff.Tpo -c io- tiff.c  -fno-common
> -DPIC -o .libs/io-tiff.o gcc -DSYSTEM_IMRC=\"/sw/etc/imrc\" 
> -DIMLIB_LIB=\"/sw/lib\" - DSYSCONFDIR=\"/sw/etc\" -I. -I. -I.. -I. 
> -I. -I.. -I./.. -I/sw/include/ gtk-1.2 -I/sw/include/glib-1.2 
> -I/sw/lib/glib/include -I/usr/X11R6/ include -I/usr/X11/include 
> -I/sw/include/glib-1.2 -I/sw/lib/glib/ include -w 
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ 
> freetype219/include -I/sw/include -I/sw/include/gtk-1.2 
> -I/sw/include/ glib-1.2 -I/sw/lib/glib/include
> -I/usr/X11R6/include -I/sw/include -I/ sw/include -g -O2 -MT
> io-png.lo -MD -MP -MF .deps/io-png.Tpo -c io- png.c  -fno-common
> -DPIC -o .libs/io-png.o gcc -DSYSTEM_IMRC=\"/sw/etc/imrc\"
> -DIMLIB_LIB=\"/sw/lib\" - DSYSCONFDIR=\"/sw/etc\" -I. -I. -I.. -I.
> -I. -I.. -I./.. -I/sw/include/ gtk-1.2 -I/sw/include/glib-1.2 
> -I/sw/lib/glib/include -I/usr/X11R6/ include -I/usr/X11/include 
> -I/sw/include/glib-1.2 -I/sw/lib/glib/ include -w 
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ 
> freetype219/include -I/sw/include -I/sw/include/gtk-1.2 
> -I/sw/include/ glib-1.2 -I/sw/lib/glib/include
> -I/usr/X11R6/include -I/sw/include -I/ sw/include -g -O2 -MT
> io-tiff.lo -MD -MP -MF .deps/io-tiff.Tpo -c io- tiff.c -o io-tiff.o
> >/dev/null 2>&1 io-png.c: In function 'loader_png': io-png.c:43:
> error: dereferencing pointer to incomplete type io-png.c:49:
> error: dereferencing pointer to incomplete type io-png.c: In
> function 'inline_png': io-png.c:278: error: dereferencing pointer
> to incomplete type io-png.c:284: error: dereferencing pointer to 
> incomplete type io-png.c: In function '_loader_alpha_png': 
> io-png.c:443: error: dereferencing pointer to incomplete type 
> io-png.c:449: error: dereferencing pointer to incomplete type 
> io-png.c: In function 'saver_png': io-png.c:638: error: 
> dereferencing pointer to incomplete type make[2]: *** [io-png.lo] 
> Error 1 make[2]: *** Waiting for unfinished jobs.... 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-imlib-1.9.15-1026 (Reading database ... 47227 files 
> and directories currently installed.) Removing 
> fink-buildlock-imlib-1.9.15-1026 ... Failed: phase compiling: 
> imlib-1.9.15-1026 failed
> 
> Here's the additional system information:
> 
> Package manager version: 0.31.3 Distribution version: 
> selfupdate-rsync Sat Oct 22 20:15:42 2011, 10.5, powerpc Trees: 
> local/main stable/main stable/crypto local/injected Xcode: 3.0
> 
> I am running OS X version 10.5.8 (Leopard) on a Power Mac.  If 
> someone would be able to help me figure out what I am missing,
> that would be great.
> 
> Thanks.
> 
> Rodney Lott
> 

(I'd recommend a newer Xcode, but that's not the problem on this build)

I see the same thing on 10.5/PowerPC.  Do you have Xquartz 2.6.x
installed?  That installs libpng15 as "libpng" and Fink packages that
link to X11's libpng (which they really shouldn't do) have been known
to pick that up and have build issues.

I have Xquartz 2.6.3, so that's why I suspect this might be the issue
here.

As a workaround, maybe see if "fink install gimp2" doesn't bring in
this rather ancient imlib. :-)  Unless of course you really need
gimp-1.x instead of 2.x.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6khg8ACgkQB8UpO3rKjQ9tJwCfTrcqYCge75UbznWnR2hXeyAK
lPUAnRzu0HCzO1ASHkxCosh7hjgQoP62
=wdFD
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to