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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
> > >> Mac OS X. Sage was compiled from source.
>
> > >> This all seems like a path problem, really.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to