Hi! I have small doubts, whether libjpeg is delivered with Mac OS X:
locate libjpeg gives me the following Third Party App.: /Applications/Gimp.app/Contents/Resources/lib/libjpeg.62.0.0.dylib /Applications/Gimp.app/Contents/Resources/lib/libjpeg.62.dylib /Applications/Gimp.app/Contents/Resources/lib/libjpeg.dylib Hidden inside other frameworks /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries/ libjpeg.jnilib /System/Library/Tcl/8.4/Img1.4/libjpegtcl1.0.dylib /System/Library/Tcl/8.5/Img1.4/libjpegtcl1.0.dylib MacPorts /opt/local/lib/libjpeg.62.0.0.dylib /opt/local/lib/libjpeg.62.dylib /opt/local/lib/libjpeg.a /opt/local/lib/libjpeg.dylib /opt/local/lib/libjpeg.la /opt/local/var/macports/software/jpeg/6b_2/opt/local/lib/libjpeg. 62.0.0.dylib /opt/local/var/macports/software/jpeg/6b_2/opt/local/lib/libjpeg. 62.dylib /opt/local/var/macports/software/jpeg/6b_2/opt/local/lib/libjpeg.a /opt/local/var/macports/software/jpeg/6b_2/opt/local/lib/libjpeg.dylib /opt/local/var/macports/software/jpeg/6b_2/opt/local/lib/libjpeg.la Fink /sw/fink/10.4/stable/main/finkinfo/graphics/libjpeg.info /sw/fink/10.4/stable/main/finkinfo/graphics/libjpeg.patch /sw/fink/10.4/unstable/main/binary-darwin-i386/graphics/libjpeg- bin_6b-17_darwin-i386.deb /sw/fink/10.4/unstable/main/binary-darwin-i386/graphics/libjpeg- shlibs_6b-17_darwin-i386.deb /sw/fink/10.4/unstable/main/binary-darwin-i386/graphics/ libjpeg_6b-17_darwin-i386.deb /sw/fink/10.4/unstable/main/finkinfo/graphics/libjpeg-exif.info /sw/fink/10.4/unstable/main/finkinfo/graphics/libjpeg-exif.patch /sw/fink/10.4/unstable/main/finkinfo/graphics/libjpeg.info /sw/fink/10.4/unstable/main/finkinfo/graphics/libjpeg.patch /sw/fink/debs/libjpeg-bin_6b-17_darwin-i386.deb /sw/fink/debs/libjpeg-shlibs_6b-17_darwin-i386.deb /sw/fink/debs/libjpeg_6b-17_darwin-i386.deb /sw/lib/libjpeg.62.0.0.dylib /sw/lib/libjpeg.62.dylib /sw/lib/libjpeg.a /sw/lib/libjpeg.dylib /sw/lib/libjpeg.la /sw/share/doc/libjpeg /sw/share/doc/libjpeg/README /sw/share/doc/libjpeg-bin /sw/share/doc/libjpeg-bin/README /sw/share/doc/libjpeg-bin/libjpeg.doc /sw/share/doc/libjpeg-bin/structure.doc /sw/share/doc/libjpeg-bin/usage.doc /sw/share/doc/libjpeg-bin/wizard.doc /sw/share/doc/libjpeg-shlibs /sw/share/doc/libjpeg-shlibs/README /sw/share/doc/python25/Doc/lib/libjpeg.tex /sw/var/lib/dpkg/info/libjpeg-bin.list /sw/var/lib/dpkg/info/libjpeg-bin.postinst /sw/var/lib/dpkg/info/libjpeg-bin.prerm /sw/var/lib/dpkg/info/libjpeg-shlibs.list /sw/var/lib/dpkg/info/libjpeg-shlibs.shlibs /sw/var/lib/dpkg/info/libjpeg.list Cheers, Michael On 24 Sep., 19:48, Marshall Hampton <hampto...@gmail.com> wrote: > I'm pretty sure I've fixed this once on a mac, but unfortunately I > can't remember what I did. In fact, sadly, I'm not sure I knew what I > did at the time, I just kept trying different things I until it > worked. > > From your original link, I think we just have to correctly do option > 5, i.e. edit the setup.py file with: > > # add jpeg directories > INCLUDE_DIRS.append("/somelib/include") > LIBRARY_DIRS.append("/somelib/lib") > > ..after detecting that its a Darwin system. I am forwarding this to > sage-devel in the hopes that someone there might be able to > immediately know how to fix this. > > -M. Hampton > > On Sep 24, 10:46 am, Pierre <pierre.guil...@gmail.com> wrote: > > > well one crappy solution is use convert, from the imagemagik suite, > > which ships with every mac: > > > sage: %convert image.jpg new_image.png > > > ... but of course that's not ideal. > > > On 24 sep, 17:56, wdjoyner <wdjoy...@gmail.com> wrote: > > > > I think this is a mac issue. It does not happen for me in linux. > > > I'd be very interested in a solution (preferably a very simple one:-) > > > since I have a mac as well and have experienced the same problem > > > you reported. > > > > On Thu, Sep 24, 2009 at 10:22 AM, Pierre <pierre.guil...@gmail.com> wrote: > > > > > Is it just me then ? can everyone else use the PIL with jpeg ? i've > > > > got two macs with a slightly different version of leopard, this fails > > > > on both. > > > > > On 23 sep, 18:15, Pierre <pierre.guil...@gmail.com> wrote: > > > >> Mac OS X. Sage was compiled from source. > > > > >> This all seems like a path problem, really. > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---