[Image-SIG] trying it in osx...

derek prowse esworp@mac.com
Tue, 3 Dec 2002 22:45:58 -0600


Heyyyy!  Thanks!  Nice to see a positive response...



The compiler goes a little bit further.. and then starts up with...

cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
_imagingtk.c:20:16: tk.h: No such file or directory
_imagingtk.c:23: parse error before '*' token
_imagingtk.c:23: warning: function declaration isn't a prototype
_imagingtk.c:31: parse error before "Tcl_Interp"
_imagingtk.c:31: warning: no semicolon at end of struct or union
_imagingtk.c:32: warning: type defaults to `int' in declaration of 
`TkappObject'
_imagingtk.c:32: warning: data definition has no type or storage class
_imagingtk.c: In function `_tkinit':
_imagingtk.c:37: `Tcl_Interp' undeclared (first use in this function)
_imagingtk.c:37: (Each undeclared identifier is reported only once
_imagingtk.c:37: for each function it appears in.)
_imagingtk.c:37: `interp' undeclared (first use in this function)
_imagingtk.c:45: parse error before ')' token
_imagingtk.c:50: `app' undeclared (first use in this function)
_imagingtk.c:50: parse error before ')' token
_imagingtk.c: At top level:
_imagingtk.c:55: warning: type defaults to `int' in declaration of 
`TkImaging_Init'
_imagingtk.c:55: warning: parameter names (without types) in function 
declaration
_imagingtk.c:55: conflicting types for `TkImaging_Init'
_imagingtk.c:23: previous declaration of `TkImaging_Init'
_imagingtk.c:55: warning: data definition has no type or storage class
_imagingtk.c:57: parse error before '&' token
_imagingtk.c: In function `_tkinit':
_imagingtk.c:45: warning: statement with no effect
make: *** [_imagingtk.o] Error 1

and I'm back to the prompt...

Care to come up to bat again?


On Tuesday, December 3, 2002, at 06:09 PM, Chris Barker wrote:

> derek prowse wrote:
>> I've been trying to get PIL to install for a while now, and seem to
>> have met a few problems..   I'm sure this list doesn't get many 'i
>> can't install' posts,  and I apologize for being such a lamer.
>>
>> That said, take a look at this:
>>
>> ld: for architecture i386
>> ld: warning -L: directory name (/usr/local/lib) does not exist
>> ld: warning -L: directory name (/usr/local/lib) does not exist
>> ld: warning /usr/lib/bundle1.o cputype (18, architecture ppc) does not
>> match cputype (7) for specified -arch flag: i386 (file not loaded)
>
> Here's your problem. It's a bug in the Apple distributed version of
> Python 2.2. What you need to do is edit the
>
> /usr/lib/python2.2/config/Makefile
>
>
> and remove the line that says:
>
> -arch i386
>
> You can imagine that you really aren't on an i386 machine, after all.
>
> I still didn't get jpeg support, but otherwise it works fine.
>
> -Chris
>
> -- 
> Christopher Barker, Ph.D.
> Oceanographer
>                                     		
> NOAA/OR&R/HAZMAT         (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker@noaa.gov
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG@python.org
> http://mail.python.org/mailman/listinfo/image-sig