Plone-3.3.1-UnifiedInstaller - Ajuda

9 messages Options
Embed this post
Permalink
simonemedeirosm

Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
Oi gente estou instalando no Ubuntu 8.04 LTS Server 64bit o Plone-3.3.1-UnifiedInstaller e ao executar o comando de instalação retorna o erro abaixo, gostaria da ajuda para entender o que possivelmente possa estar ocorrendo.

Installing PIL
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named _imaging
Python imaging support is missing; something went wrong in the PIL or python build.

Installation has failed.
See the detailed installation log at /home/Zope/Plone-3.3.1-UnifiedInstaller/install.log
to determine the cause.


simonemedeirosm

Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
No arquivo de log da instalação segue o erro:

Obrigada a todos!!
[]s

Processing PILwoTk-1.1.6.3.tar.gz
Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
libImaging/File.c: In function âImagingOpenPPMâ:
libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
libImaging/Quant.c: In function ârehash_collideâ:
libImaging/Quant.c:154: warning: cast to pointer from integer of different size
libImaging/Quant.c: At top level:
libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
/usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against `_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command '/usr/bin/gcc' failed with exit status 1


simonemedeirosm

Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
In reply to this post by simonemedeirosm
No arquivo de log da instalação segue o erro:

Obrigada a todos!!
[]s

Processing PILwoTk-1.1.6.3.tar.gz
Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
libImaging/File.c: In function âImagingOpenPPMâ:
libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
libImaging/Quant.c: In function ârehash_collideâ:
libImaging/Quant.c:154: warning: cast to pointer from integer of different size
libImaging/Quant.c: At top level:
libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
/usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against `_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command '/usr/bin/gcc' failed with exit status 1


Alexandre Marinho-2

Re: Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
In reply to this post by simonemedeirosm
Cara você precisa instalar a PIL (Python Imaging Library) [1]

[1]http://www.pythonware.com/products/pil/

--
Alexandre Marinho
http://alexandre.cuboestudioweb.com


2009/9/22 simonemedeirosm <[hidden email]>

> No arquivo de log da instalação segue o erro:
>
> Obrigada a todos!!
> []s
>
> Processing PILwoTk-1.1.6.3.tar.gz
> Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
> libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
> libImaging/File.c: In function âImagingOpenPPMâ:
> libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared
> with attribute warn_unused_result
> libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared
> with attribute warn_unused_result
> libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not
> used
> libImaging/Quant.c: In function ârehash_collideâ:
> libImaging/Quant.c:154: warning: cast to pointer from integer of different
> size
> libImaging/Quant.c: At top level:
> libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
> libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
> libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
> /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32
> against `_length_code' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libz.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: Setup script exited with error: command '/usr/bin/gcc' failed with
> exit status 1
>
>
>
>
> ------------------------------------
>
> Para enviar uma mensagem: [hidden email]
> Para desistir envie uma mensagem em branco para:
> [hidden email] do Yahoo! Grupos
>
>
>
Gabriel Monnerat

Re: Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
In reply to this post by simonemedeirosm
simonemedeirosm wrote:
Simone,
verifique se o pacote de desenvolvimento do python está instalado.
"python2.4-dev" ou "python2.5-dev" depende do python que estiver usando.

vlw
[]'s

>  
>
> No arquivo de log da instalação segue o erro:
>
> Obrigada a todos!!
> []s
>
> Processing PILwoTk-1.1.6.3.tar.gz
> Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
> libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
> libImaging/File.c: In function âImagingOpenPPMâ:
> libImaging/File.c:112: warning: ignoring return value of âfreadâ,
> declared with attribute warn_unused_result
> libImaging/File.c:119: warning: ignoring return value of âfreadâ,
> declared with attribute warn_unused_result
> libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but
> not used
> libImaging/Quant.c: In function ârehash_collideâ:
> libImaging/Quant.c:154: warning: cast to pointer from integer of
> different size
> libImaging/Quant.c: At top level:
> libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
> libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
> libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not
> used
> /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32
> against `_length_code' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libz.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: Setup script exited with error: command '/usr/bin/gcc' failed
> with exit status 1
>

>
>


--
Gabriel M. Monnerat

lucas aquino

Re: Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
Para instalar a PIL:

sua-instancia/Python/bin/easy_install –i *
http://dist.repoze.org/plone/latest/simple*<http://dist.repoze.org/plone/latest/simple>PIL




2009/9/22 gabrielmonnerat <[hidden email]>

>
>
> simonemedeirosm wrote:
> Simone,
> verifique se o pacote de desenvolvimento do python está instalado.
> "python2.4-dev" ou "python2.5-dev" depende do python que estiver usando.
>
> vlw
> []'s
>
>
> >
> >
> > No arquivo de log da instalação segue o erro:
> >
> > Obrigada a todos!!
> > []s
> >
> > Processing PILwoTk-1.1.6.3.tar.gz
> > Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir
> > /tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
> > libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
> > libImaging/File.c: In function âImagingOpenPPMâ:
> > libImaging/File.c:112: warning: ignoring return value of âfreadâ,
> > declared with attribute warn_unused_result
> > libImaging/File.c:119: warning: ignoring return value of âfreadâ,
> > declared with attribute warn_unused_result
> > libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but
> > not used
> > libImaging/Quant.c: In function ârehash_collideâ:
> > libImaging/Quant.c:154: warning: cast to pointer from integer of
> > different size
> > libImaging/Quant.c: At top level:
> > libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
> > libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
> > libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not
> > used
> > /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32
> > against `_length_code' can not be used when making a shared object;
> > recompile with -fPIC
> > /usr/local/lib/libz.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > error: Setup script exited with error: command '/usr/bin/gcc' failed
> > with exit status 1
> >
>
> >
> >
>
> --
> Gabriel M. Monnerat
>
>  
>



--
Lucas Aquino
Alexandre Marinho-2

Re: Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
In reply to this post by Gabriel Monnerat
Esqueça o que eu disse... auihaiuhaiuah nada a ver :P

--
Alexandre Marinho
http://alexandre.cuboestudioweb.com


2009/9/22 gabrielmonnerat <[hidden email]>

> simonemedeirosm wrote:
> Simone,
> verifique se o pacote de desenvolvimento do python estį instalado.
> "python2.4-dev" ou "python2.5-dev" depende do python que estiver usando.
>
> vlw
> []'s
>
> >
> >
> > No arquivo de log da instalaēćo segue o erro:
> >
> > Obrigada a todos!!
> > []s
> >
> > Processing PILwoTk-1.1.6.3.tar.gz
> > Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir
> > /tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
> > libImaging/Effects.c:210: warning: āperlin_initā defined but not used
> > libImaging/File.c: In function āImagingOpenPPMā:
> > libImaging/File.c:112: warning: ignoring return value of āfreadā,
> > declared with attribute warn_unused_result
> > libImaging/File.c:119: warning: ignoring return value of āfreadā,
> > declared with attribute warn_unused_result
> > libImaging/Geometry.c:236: warning: āquadratic_transformā defined but
> > not used
> > libImaging/Quant.c: In function ārehash_collideā:
> > libImaging/Quant.c:154: warning: cast to pointer from integer of
> > different size
> > libImaging/Quant.c: At top level:
> > libImaging/Quant.c:311: warning: ātest_sortedā defined but not used
> > libImaging/Quant.c:676: warning: ācheckContainedā defined but not used
> > libImaging/QuantHash.c:136: warning: ā_hashtable_testā defined but not
> > used
> > /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32
> > against `_length_code' can not be used when making a shared object;
> > recompile with -fPIC
> > /usr/local/lib/libz.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > error: Setup script exited with error: command '/usr/bin/gcc' failed
> > with exit status 1
> >
>
> >
> >
>
>
> --
> Gabriel M. Monnerat
>
>
>
> ------------------------------------
>
> Para enviar uma mensagem: [hidden email]
> Para desistir envie uma mensagem em branco para:
> [hidden email] do Yahoo! Grupos
>
>
>
simonemedeirosm

Re: Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
In reply to this post by Alexandre Marinho-2
Oi tentei instalar pelo easy_install da instancia porém ocorreu o erro abaixo. Me surgiu a seguinte dúvida existe algum problema do plone ou PIL com 64bit?

/home/Zope/Plone1/Python-2.4/bin# easy_install -i http://dist.repoze.org/plone/latest/simple PIL
Searching for PIL
Reading http://dist.repoze.org/plone/latest/simple/PIL/
Best match: PIL 1.1.6
Downloading http://dist.repoze.org/plone/latest/PIL-1.1.6.tar.gz
Processing PIL-1.1.6.tar.gz
Running PIL-1.1.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3LxgNA/PIL-1.1.6/egg-dist-tmp-4mytXm
_imaging.c:2907: warning: initialization from incompatible pointer type
_imaging.c:2967: warning: initialization from incompatible pointer type
path.c:559: warning: initialization from incompatible pointer type
libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
libImaging/File.c: In function âImagingOpenPPMâ:
libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
libImaging/Quant.c: In function ârehash_collideâ:
libImaging/Quant.c:154: warning: cast to pointer from integer of different size
libImaging/Quant.c: At top level:
libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
/usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against `_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1


simonemedeirosm

Plone-3.3.1-UnifiedInstaller - Ajuda

Reply Threaded More More options
Print post
Permalink
Resolvido agradeço pelas ideias.

Acredito que estava ocorrendo o erro devido ao compilador padrão do ubuntu ser o dash, modifiquei para bash, e rodou blz.

[]s

--- Em [hidden email], "simonemedeirosm" <simonemedeiros@...> escreveu

>
> Oi tentei instalar pelo easy_install da instancia porém ocorreu o erro abaixo. Me surgiu a seguinte dúvida existe algum problema do plone ou PIL com 64bit?
>
> /home/Zope/Plone1/Python-2.4/bin# easy_install -i http://dist.repoze.org/plone/latest/simple PIL
> Searching for PIL
> Reading http://dist.repoze.org/plone/latest/simple/PIL/
> Best match: PIL 1.1.6
> Downloading http://dist.repoze.org/plone/latest/PIL-1.1.6.tar.gz
> Processing PIL-1.1.6.tar.gz
> Running PIL-1.1.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3LxgNA/PIL-1.1.6/egg-dist-tmp-4mytXm
> _imaging.c:2907: warning: initialization from incompatible pointer type
> _imaging.c:2967: warning: initialization from incompatible pointer type
> path.c:559: warning: initialization from incompatible pointer type
> libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
> libImaging/File.c: In function âImagingOpenPPMâ:
> libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
> libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result
> libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
> libImaging/Quant.c: In function ârehash_collideâ:
> libImaging/Quant.c:154: warning: cast to pointer from integer of different size
> libImaging/Quant.c: At top level:
> libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
> libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
> libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
> /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against `_length_code' can not be used when making a shared object; recompile with -fPIC
> /usr/local/lib/libz.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: Setup script exited with error: command 'gcc' failed with exit status 1
>