Thanks for the pointer. I will work on it and hopefully somebody else can point me to the right direction if I dont find it myself :)
On 7/23/07, Daniel Lord <[EMAIL PROTECTED]> wrote: > It's been some time since I worked through this for 2.4, but IIRC, > one has to modify the PIL make to ensure it finds libjpeg after you > have installed it. > > How I did that I cannot recall just now off the cuff, so when I have > time at some point I can try to dig it up. > But in the mean time, if you are industrious and read the build notes > for PIL, > those pesky details might still be in there somewhere and clue you in > to set it up properly so libjpeg is found by PIL on the build. > If even I was able to solve it, I have no doubt that, with > application, you will also and in a shorter time than I. > > Daniel > > On Jul 23, 2007, at 9:22 PM, Ritesh Nadhani wrote: > > > Hello > > > > So I want to install Python Imaging Library on my Mac OS X. I followed > > the tutorial steps by step. When I executed: > > > > IOError: decoder jpeg not available > > > > I got the error. Further Googling pointed me to the website: > > http://www.kyngchaos.com/macosx/install/libjpeg > > > > I downloaded the libtool updated linked there and unzipped it. It says > > that: Then, you need to update the libtool file in the source. > > > > Though I have no clue what does that mean. Unzipping it gave me two > > file ltconfig and ltconfig.sh. Running the sh file gave me libtool > > version mismatch error. Doing a search of system I found that there is > > another ltconfig in /usr/share/libtool. Assuming that this file needs > > to be updated with the one provided in the zip, I copied the original > > ltconfig.sh to ltconfig.sh.bak and copied the new one to the folder. > > > > The I followed the same steps as mentioned up there and the > > compilation and installation seems to have gone correctly. > > > > But again when I do selftest.py, I get: > > > > Exception raised: > > Traceback (most recent call last): > > File "./doctest.py", line 499, in _run_examples_inner > > exec compile(source, "<string>", "single") in globs > > File "<string>", line 1, in <module> > > File "./selftest.py", line 22, in _info > > im.load() > > File "PIL/ImageFile.py", line 180, in load > > d = Image._getdecoder(self.mode, d, a, self.decoderconfig) > > File "PIL/Image.py", line 375, in _getdecoder > > raise IOError("decoder %s not available" % decoder_name) > > IOError: decoder jpeg not available > > 1 items had failures: > > 1 of 57 in selftest.testimage > > ***Test Failed*** 1 failures. > > *** 1 tests of 57 failed. > > > > Moreover, sudo python setup.py build_ext -i, give me: > > > > -------------------------------------------------------------------- > > PIL 1.1.6 BUILD SUMMARY > > -------------------------------------------------------------------- > > version 1.1.6 > > platform darwin 2.5 (r25:51918, Sep 19 2006, 08:49:13) > > [GCC 4.0.1 (Apple Computer, Inc. build 5341)] > > -------------------------------------------------------------------- > > --- TKINTER support ok > > --- JPEG support ok > > --- ZLIB (PNG/ZIP) support ok > > --- FREETYPE2 support ok > > -------------------------------------------------------------------- > > To check the build, run the selftest.py script. > > > > So it seems that the libraries were correctly found. > > > > -- > > Ritesh > > http://www.riteshn.com > > _______________________________________________ > > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > > http://mail.python.org/mailman/listinfo/pythonmac-sig > > -- Ritesh http://www.riteshn.com _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig