[Image-SIG] Compilation problem on Mac OS X 10.2.8

Nate Iverson nate0000000000000 at yahoo.com
Wed Nov 19 09:52:07 EST 2003


> You may want to consider just using the official
> MacPython 2.3.0 

My eventual goal is to install the pygame package. I
tried the MacPython installer and could install all
the prerequisites.. but for some reason the new pygame
(in the non-official list) requires the 10.3
installation of python. I poked around a little but
couldn't find an upgrade from apple. I also tried some
older / different install lists but things still
didn't seem to be working correctly.

> You also may want to consider just turning Fink off.
>  I don't use Fink 
> (but have build libjpeg and freetype myself) and
> don't have these 
> problems.

I'll try that. 

> Also don't replace stuff in /usr/bin, change your
> PATH.  Upgrading that 
> version of Python breaks OS X. 

I was a little careful here i only replaced:
/usr/bin/python
which was hard linked to:
/usr/bin/python2.2
So I can go back to using apples python if i have 
problems. Maybe i'm having trouble because the install

is looking for the wrong libraries for my python. 
I'll try compiling with python pointed at my binary
rather than the link.

> >
> > I have libjpeg & freetype installed by fink &
> followed
> > the instructions in the readme about:
> >
> > LDFLAGS="-L/sw/lib" CPPFLAGS="-I/sw/lib"
> ./configure
> >
> > and
> >
> > JPEGINCLUDE=    /sw/include/
> >
> >
> > The first errors I run into follow in the make:
> >
> > gcc -o coretest coretest.o libImaging.a -lz -ljpeg
> > -lm
> > ld: can't locate file for: -ljpeg
> > make: *** [coretest] Error 1
> 
> It's not picking up those LDFLAGS.. maybe you have a
> cached configure 
> or something?  Try removing config.cache.

I'm pretty sure i removed config.cache but I'll make
sure I do that on my next try. Think it's possible
that 
this is related to apple's other linking problems
like -no-cpp-precomp?

thanks :-)

-nate

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



More information about the Image-SIG mailing list