[Image-SIG] Compilation problem on Mac OS X 10.2.8
Nate Iverson
nate0000000000000 at yahoo.com
Tue Nov 18 23:33:42 EST 2003
I've compiled & installed python 2.3.2 (I need 2.3)
(replaced python in /usr/bin/ with a symlink.
Also installed numeric, PyObjC, and a few others.
I'm having troubles installing the Imaging-1.1.4
(or 1.1.3) from source.
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:
rm -f libImaging.a
ar cr libImaging.a Storage.o Access.o Except.o
Antialias.o Bands.o Blend.o Chops.o Convert.o
ConvertYCbCr.o Copy.o Crop.o Crc32.o Dib.o Draw.o
Effects.o File.o Fill.o Filter.o Geometry.o GetBBox.o
Histo.o Matrix.o Negative.o Offset.o Pack.o Palette.o
Paste.o Point.o Quant.o QuantHash.o QuantHeap.o
RankFilter.o Unpack.o UnpackYCC.o BitDecode.o
EpsEncode.o FliDecode.o GifDecode.o GifEncode.o
HexDecode.o JpegDecode.o JpegEncode.o LzwDecode.o
MspDecode.o PackDecode.o PcdDecode.o PcxDecode.o
PcxEncode.o RawDecode.o RawEncode.o SunRleDecode.o
TgaRleDecode.o XbmDecode.o XbmEncode.o ZipDecode.o
ZipEncode.o
ranlib libImaging.a
ranlib: file: libImaging.a(Dib.o) has no symbols
gcc -o coretest coretest.o libImaging.a -lz -ljpeg
-lm
ld: can't locate file for: -ljpeg
make: *** [coretest] Error 1
In a similar fashion I get failure from
python setup.py build
building '_imagingtk' extension
gcc -fno-strict-aliasing -Wno-long-double
-no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -IlibImaging
-I/usr/local/include/python2.3 -c _imagingtk.c -o
build/temp.darwin-6.8-Power_Macintosh-2.3/_imagingtk.o
_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
error: command 'gcc' failed with exit status 1
Am I missing some dependencies?
any advice would be welcome
-nate
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
More information about the Image-SIG
mailing list