[reportlab-users] Problem on Mac OSX
ytu888 at hotmail.com
Tue Oct 2 08:50:50 EDT 2007
Sorry, I got confused about the code, especially the first part. Could you explain it a bit? Thank you very much.
> From: reed.l.obrien at nasa.gov
> Date: Mon, 1 Oct 2007 15:57:12 -0400
> To: reportlab-users at reportlab.com
> Subject: Re: [reportlab-users] Problem on Mac OSX
> On Oct 1, 2007, at 3:44 PM, Andy Robinson wrote:
> > I think this is a problem with the specific copy of the Python Imaging
> > Library you have installed on your Mac OS. On many platforms, PIL is
> > compiled with jpeg support. It seems your PIL isn't. We also had
> > this from a customer on Mac OS last week.
> > Can anyone who knows Mac OS well recommend what versions of PIL to
> > install, or what options are needed to recompile it with JPEG support?
> > On your second question, we don't normally run scripts from within an
> > interactive prompt.
> > If you want to, you need to run the same code which is at the bottom
> > of that script e.g.
> > CEO/Chief Architect
> > ReportLab Europe Ltd.
> > 165 The Broadway, Wimbledon, London SW19 1NE, UK
> > Tel +44-20-8544-8049
> > _______________________________________________
> > reportlab-users mailing list
> > reportlab-users at reportlab.com
> > http://two.pairlist.net/mailman/listinfo/reportlab-users
> cd jpeg-6b
> ./configure # if 64 bit uncomment => CFLAGS='-fPIC'
> make install
> ranlib libjpeg.a
> cp libjpeg.a /usr/local/lib
> cp *.h /usr/local/include
> cd Imaging-1.1.6
> mv setup.py setup.py.tmp
> SED_CMD="s|JPEG_ROOT = None|JPEG_ROOT = libinclude(\"/usr/local/lib
> \")|; s|ZLIB_ROOT = None|ZLIB_ROOT = libinclude(\"/usr/local/lib\")|;"
> cat setup.py.tmp | sed -e "$SED_CMD" > setup.py
> $PYTHON_COMMAND setup.py build_ext -i
> $PYTHON_COMMAND selftest.py
> $PYTHON_COMMAND setup.py install
> Is what I have in my build notes.
> reportlab-users mailing list
> reportlab-users at reportlab.com
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the reportlab-users