On 23-Oct-11, at 5:24 PM, Alexander Hansen wrote:

> -----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)
>

Yeah, that's probably a good idea.  I'll do that.

> 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.
>

I think I have the same one installed.  Where would I look to check  
that?

> 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.
>

Didn't know that was representing the old version: thanks!

I tried building it and it was complaining about not being able to  
build gmp and that some of my compiler stuffs weren't right:

checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of  
Makefiles... no
checking ABI=32
checking compiler gcc-4.2  -fexceptions -I/sw/include... no
configure: error: could not find a working compiler, see config.log  
for details
### execution of /var/tmp/tmp.4.OLjqsf failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gmp-4.3.2-8
(Reading database ... 70643 files and directories currently installed.)
Removing fink-buildlock-gmp-4.3.2-8 ...

I'm going to try and update my XCode first and then try again.

Thanks.

Rodney Lott

------------------------------------------------------------------------------
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