Hi,
I'd keep this thread on cps-devel. It might help others ...
It's definitely strange to have two packages with the same name
installed and it surely can be a source of trouble. Try that in your
setup.py:
JPEG_ROOT = "/usr/lib64", "/usr/include"
According to your rpm output these should be your lib and include
paths for jpeg ...
Have fun, Michael
2007/5/16, christophe leroy <[EMAIL PROTECTED]>:
Thanks you a lot for your answer.
I am newbie with linux so excuse me if I ask you too
easy questions...
If I do like you (JPEG_ROOT =
libinclude("/usr/local")) or like that (JPEG_ROOT =
"/usr/local") I have still the same message "jpeg
support not available"
I did that:
rpm -qa | grep jpeg
and the answer is:
lib_jpeg-6b-30
lib_jpeg-6b-30
lib_jpeg-devel-6b-30
Is it strange that I have two time "lib_jpeg-6b-30"?
and if I do that to know where is the library of
jpeg-6b:
rpm -ql libjpeg-devel-6b-30
I have:
/usr/include/jconfig.h
/usr/include/jerror.h
/usr/include/jmorecfg.h
/usr/include/jpeglib.h
/usr/lib64/libjpeg.a
/usr/lib64/libjpeg.la
/usr/lib64/libjpeg.so
/usr/share/doc/libjpeg-devel-6b
/usr/share/doc/libjpeg-devel-6b/coderules.doc
/usr/share/doc/libjpeg-devel-6b/example.c
/usr/share/doc/libjpeg-devel-6b/libjpeg.doc
/usr/share/doc/libjpeg-devel-6b/structure.doc
/usr/share/doc/libjpeg-devel-6b/wizard.doc
and with that:
rpm -ql libjpeg-6b-30
I have that:
/usr/bin/cjpeg
/usr/bin/djpeg
/usr/bin/jpegtran
/usr/bin/rdjpgcom
/usr/bin/wrjpgcom
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/share/doc/libjpeg-6b
/usr/share/doc/libjpeg-6b/README
/usr/share/doc/libjpeg-6b/usage.doc
/usr/share/man/man1/cjpeg.1.gz
/usr/share/man/man1/djpeg.1.gz
/usr/share/man/man1/jpegtran.1.gz
/usr/share/man/man1/rdjpgcom.1.gz
/usr/share/man/man1/wrjpgcom.1.gz
/usr/bin/cjpeg
/usr/bin/djpeg
/usr/bin/jpegtran
/usr/bin/rdjpgcom
/usr/bin/wrjpgcom
/usr/lib64/libjpeg.so.62
/usr/lib64/libjpeg.so.62.0.0
/usr/share/doc/libjpeg-6b
/usr/share/doc/libjpeg-6b/README
/usr/share/doc/libjpeg-6b/usage.doc
/usr/share/man/man1/cjpeg.1.gz
/usr/share/man/man1/djpeg.1.gz
/usr/share/man/man1/jpegtran.1.gz
/usr/share/man/man1/rdjpgcom.1.gz
/usr/share/man/man1/wrjpgcom.1.gz
Do you know which one is the good folder for the
variable JPEG_ROOT ?
Thanks,
Christophe
--- Michael Schulz <[EMAIL PROTECTED]> a écrit :
> Hi Christophe,
>
> make sure you have the dev-jpeg-lib package
> installed.
> I had to put:
>
> JPEG_ROOT = libinclude("/usr/local")
>
> in setup.py. But that's after a src install.
> Did you have a look at:
>
http://effbot.org/zone/pil-decoder-jpeg-not-available.htm
>
> Cheers and good luck, Michael
>
>
> 2007/5/16, christophe leroy <[EMAIL PROTECTED]>:
> > Hi!
> >
> > I am working with a redhat entreprise 3 and CPS 3.
> >
> > I have a problem to have the resize functionality
> for
> > the jpeg images of my site. To have this
> > functionality, I have to install Imaging
> >
> > When I run the build of Imaging (python setup.py
> > build_ext -i), I have the message:
> > "JPEG support not available"
> >
> > Do you have an idea to help me?
> >
> > One idea could be to modify the variable JPEG_ROOT
> in
> > the setup.py file with the path of the jpeg
> library
> > but I am not sure where is this library.
> > I tried that:
> > JPEG_ROOT="/usr/lib64"
> > and when I launched the build of Imaging I did not
> > have any problem. But then, I have a problem with
> the
> > jpeg image with the test script "selftest.py".
> >
> > Could you help to find a solution to have the
> resize
> > functionality with CPS?
> >
> > Thanks,
> >
> > Christophe Leroy
> >
> >
> >
>
_____________________________________________________________________________
> > Ne gardez plus qu'une seule adresse mail ! Copiez
> vos mails vers Yahoo! Mail
> > _______________________________________________
> > cps-devel mailing list
> > http://lists.nuxeo.com/mailman/listinfo/cps-devel
> >
>
>
> --
>
-----------------------------------------------------------
> Michael Schulz
> [EMAIL PROTECTED]
>
> in medias res
> Gesellschaft für Informationstechnologie mbH
>
> In den Weihermatten 66
> 79108 Freiburg
>
> Tel +49 (0)761 556959-5
> Fax +49 (0)761 556959-6
>
> http://www.webgis.de / http://www.zopecms.de
>
-----------------------------------------------------------
>
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
--
-----------------------------------------------------------
Michael Schulz
[EMAIL PROTECTED]
in medias res
Gesellschaft für Informationstechnologie mbH
In den Weihermatten 66
79108 Freiburg
Tel +49 (0)761 556959-5
Fax +49 (0)761 556959-6
http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel