libxml2-python é incompatível com x86_64?

14 Messages Forum Options Options
Permalink
Ricardo Brito do Nascimento
libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
libxml2-python é incompatível com x86_64?
Estou instalando um ambiente zope, independente no sistema operacional
com os pacotes abaixo, e neste ambiente irei compartilhar o
zope298/plone255 e zope297/plone253, realizei com sucesso a instalação
em uma máquina com arquitera 686, entretanto não tive sucesso na
instalação com arquitetura x86_64, com o pacote* libxml2-python*.
./elementtree-1.2.6-20050316.tar.gz
./ez_setup.py
./HelperScripts.tgz
./Imaging-1.1.6.tar.bz2
./jpeg-6b.tar.bz2
./libxml2-2.6.30.tar.bz2
./libxml2-python-2.6.21.tar.bz2
./libxslt-1.1.22.tar.bz2
./Plone-2.5.5.tar.bz2
./Python-2.4.4.tar.bz2
./python-openid-2.0.1.tar.bz2
./PyXML-0.8.4.tar.bz2
./reportlab_2_0.tar.bz2
./setuptools-0.6c7-py2.4.tgz
./TextIndexNG-3.1.16.tar.bz2
./zlib-1.2.3.tar.bz2
./Zope-2.9.8-final.tar.bz2

Luis Flavio Rocha-3
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
2008/7/18 Ricardo Brito do Nascimento <informatica@...>:
> libxml2-python é incompatível com x86_64?

Não, não é incompatível.

> Estou instalando um ambiente zope, independente no sistema operacional
> com os pacotes abaixo, e neste ambiente irei compartilhar o
> zope298/plone255 e zope297/plone253, realizei com sucesso a instalação
> em uma máquina com arquitera 686, entretanto não tive sucesso na
> instalação com arquitetura x86_64, com o pacote* libxml2-python*.

E o que vc tentou fazer?
Qual o erro?
Qual sistema operacional?

Sem essas informações fica difícil de te ajudar.

--
Luís Flávio Rocha

"Não sou jovem o suficiente para saber tudo."
Oscar Wilde
Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
nesta não funcionou
Linux 2.6.18-53.el5xen #1 SMP Mon Nov 12 02:46:57 EST 2007 x86_64 x86_64
x86_64 GNU/Linux
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)

nesta funcionou
Linux 2.6.18-8.el5xen #1 SMP Thu Mar 15 21:02:53 EDT 2007 i686 i686 i386
GNU/Linux
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)

diretório de instalação /opt/dir/usr/{bin,man,lib,include,...}
ordem de instalação, compilando pacote por pacote, foi  zlib, jpeg,
python, reportlab, pyxml, setuptool, pil, elementree, libxml2, libxslt,
libxml2-python, python-openid e finalmente zope

------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



Luis Flavio Rocha escreveu:

>
> 2008/7/18 Ricardo Brito do Nascimento
> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>>:
> > libxml2-python é incompatível com x86_64?
>
> Não, não é incompatível.
>
> > Estou instalando um ambiente zope, independente no sistema operacional
> > com os pacotes abaixo, e neste ambiente irei compartilhar o
> > zope298/plone255 e zope297/plone253, realizei com sucesso a instalação
> > em uma máquina com arquitera 686, entretanto não tive sucesso na
> > instalação com arquitetura x86_64, com o pacote* libxml2-python*.
>
> E o que vc tentou fazer?
> Qual o erro?
> Qual sistema operacional?
>
> Sem essas informações fica difícil de te ajudar.
>
> --
> Luís Flávio Rocha
>
> "Não sou jovem o suficiente para saber tudo."
> Oscar Wilde
>
>  

Luis Flavio Rocha-3
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
2008/7/18 Ricardo Brito do Nascimento <informatica@...>:

> nesta não funcionou
> Linux 2.6.18-53.el5xen #1 SMP Mon Nov 12 02:46:57 EST 2007 x86_64 x86_64
> x86_64 GNU/Linux
> gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
>
> nesta funcionou
> Linux 2.6.18-8.el5xen #1 SMP Thu Mar 15 21:02:53 EDT 2007 i686 i686 i386
> GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>
> diretório de instalação /opt/dir/usr/{bin,man,lib,include,...}
> ordem de instalação, compilando pacote por pacote, foi  zlib, jpeg,
> python, reportlab, pyxml, setuptool, pil, elementree, libxml2, libxslt,
> libxml2-python, python-openid e finalmente zope


Mas qual foi o erro?

--
Luís Flávio Rocha

"Não sou jovem o suficiente para saber tudo."
Oscar Wilde
vitor-2
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
oi brito, tudo bom?

você instalou no seu sistema libxml2-dev? dah uma olhadinha no readme do
plone.

abs, vitor

> nesta não funcionou
> Linux 2.6.18-53.el5xen #1 SMP Mon Nov 12 02:46:57 EST 2007 x86_64 x86_64
> x86_64 GNU/Linux
> gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
>
> nesta funcionou
> Linux 2.6.18-8.el5xen #1 SMP Thu Mar 15 21:02:53 EDT 2007 i686 i686 i386
> GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>
> diretório de instalação /opt/dir/usr/{bin,man,lib,include,...}
> ordem de instalação, compilando pacote por pacote, foi  zlib, jpeg,
> python, reportlab, pyxml, setuptool, pil, elementree, libxml2, libxslt,
> libxml2-python, python-openid e finalmente zope
>
> ------------------------------------------------------------------------
>   Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> (Salmo 95.3)
>   For the LORD is the great God, the great King above all gods. (Psalm
> 95.3)
>   Jesus te ama, aceite-O!   Jesus loves you, accept you Him!
>
>
>
> Luis Flavio Rocha escreveu:
>>
>> 2008/7/18 Ricardo Brito do Nascimento
>> <informatica@...
>> <mailto:informatica%40rbncurriculo.cjb.net>>:
>> > libxml2-python é incompatível com x86_64?
>>
>> Não, não é incompatível.
>>
>> > Estou instalando um ambiente zope, independente no sistema operacional
>> > com os pacotes abaixo, e neste ambiente irei compartilhar o
>> > zope298/plone255 e zope297/plone253, realizei com sucesso a instalação
>> > em uma máquina com arquitera 686, entretanto não tive sucesso na
>> > instalação com arquitetura x86_64, com o pacote* libxml2-python*.
>>
>> E o que vc tentou fazer?
>> Qual o erro?
>> Qual sistema operacional?
>>
>> Sem essas informações fica difícil de te ajudar.
>>
>> --
>> Luís Flávio Rocha
>>
>> "Não sou jovem o suficiente para saber tudo."
>> Oscar Wilde
>>
>>
>
>


Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
segue o erro:
running install
running build
running build_py
running build_ext
building 'libxml2mod' extension
/usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -D_REENTRANT=1 -DMERGED_MODULES
=1 -I/opt/pzp-dev/usr/include/libxml2 -I/usr/include
-I/opt/pzp-dev/usr/include/libxslt -I/opt/pzp-dev/usr/include/python2
.4 -c libxslt-py.c -o build/temp.linux-x86_64-2.4/libxslt-py.o
libxslt-py.c:3:32: error: libxslt/xsltconfig.h: No such file or directory
In file included from libxslt-py.c:4:
libxslt_wrap.h:2:26: error: libxslt/xslt.h: No such file or directory
libxslt_wrap.h:3:35: error: libxslt/xsltInternals.h: No such file or
directory
libxslt_wrap.h:4:31: error: libxslt/xsltutils.h: No such file or directory
libxslt_wrap.h:5:32: error: libxslt/attributes.h: No such file or directory
libxslt_wrap.h:6:31: error: libxslt/documents.h: No such file or directory
libxslt_wrap.h:7:32: error: libxslt/extensions.h: No such file or directory
libxslt_wrap.h:8:27: error: libxslt/extra.h: No such file or directory
libxslt_wrap.h:9:31: error: libxslt/functions.h: No such file or directory
libxslt_wrap.h:10:29: error: libxslt/imports.h: No such file or directory
libxslt_wrap.h:11:26: error: libxslt/keys.h: No such file or directory
libxslt_wrap.h:12:32: error: libxslt/namespaces.h: No such file or directory
libxslt_wrap.h:13:38: error: libxslt/numbersInternals.h: No such file or
directory
libxslt_wrap.h:14:29: error: libxslt/pattern.h: No such file or directory
libxslt_wrap.h:15:29: error: libxslt/preproc.h: No such file or directory
libxslt_wrap.h:16:31: error: libxslt/templates.h: No such file or directory
libxslt_wrap.h:17:31: error: libxslt/transform.h: No such file or directory
libxslt_wrap.h:18:31: error: libxslt/variables.h: No such file or directory
In file included from libxslt-py.c:4:
libxslt_wrap.h:26: error: expected specifier-qualifier-list before
‘xsltStylesheetPtr’
libxslt_wrap.h:34: error: expected specifier-qualifier-list before
‘xsltTransformContextPtr’
libxslt_wrap.h:42: error: expected specifier-qualifier-list before
‘xsltTransformContextPtr’
libxslt_wrap.h:46: error: expected ‘)’ before ‘ctxt’
libxslt_wrap.h:47: error: expected ‘)’ before ‘ctxt’
libxslt_wrap.h:48: error: expected ‘)’ before ‘comp’
------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



Luis Flavio Rocha escreveu:

>
> 2008/7/18 Ricardo Brito do Nascimento
> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>>:
> > nesta não funcionou
> > Linux 2.6.18-53.el5xen #1 SMP Mon Nov 12 02:46:57 EST 2007 x86_64 x86_64
> > x86_64 GNU/Linux
> > gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
> >
> > nesta funcionou
> > Linux 2.6.18-8.el5xen #1 SMP Thu Mar 15 21:02:53 EDT 2007 i686 i686 i386
> > GNU/Linux
> > gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
> >
> > diretório de instalação /opt/dir/usr/{bin,man,lib,include,...}
> > ordem de instalação, compilando pacote por pacote, foi zlib, jpeg,
> > python, reportlab, pyxml, setuptool, pil, elementree, libxml2, libxslt,
> > libxml2-python, python-openid e finalmente zope
>
> Mas qual foi o erro?
>
> --
> Luís Flávio Rocha
>
> "Não sou jovem o suficiente para saber tudo."
> Oscar Wilde
>
>  

Luis Flavio Rocha-3
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
Brito,

2008/7/21 Ricardo Brito do Nascimento <informatica@...>:
> segue o erro:
(cut)

você precisa instalar o libxslt-1.1.22.tar.bz2 antes do
libxml2-python-2.6.21.tar.bz2

Em http://xmlsoft.org/XSLT/python.html diz:


To install the Python bindings there are 2 options:

* If you use an RPM based distribution, simply install the
libxml2-python RPM and the libxslt-python RPM.
* Otherwise use the libxml2-python module distribution corresponding
to your installed version of libxml2 and libxslt. Note that to install
it you will need both libxml2 and libxslt installed and run "python
setup.py build install" in the module tree.

Testa ai e diz pra gente se funcionou.

Abraço,
--
Luís Flávio Rocha

"Não sou jovem o suficiente para saber tudo."
Oscar Wilde
Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
estou fazendo a instalação do libxml2 no próprio diretório, compilando
todos os pacotes individualmente.
quero deixar esta instalação de zope completamente independente do
sistema operacional.
------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



vitor@... escreveu:

>
> oi brito, tudo bom?
>
> você instalou no seu sistema libxml2-dev? dah uma olhadinha no readme do
> plone.
>
> abs, vitor
>
> > nesta não funcionou
> > Linux 2.6.18-53.el5xen #1 SMP Mon Nov 12 02:46:57 EST 2007 x86_64 x86_64
> > x86_64 GNU/Linux
> > gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
> >
> > nesta funcionou
> > Linux 2.6.18-8.el5xen #1 SMP Thu Mar 15 21:02:53 EDT 2007 i686 i686 i386
> > GNU/Linux
> > gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
> >
> > diretório de instalação /opt/dir/usr/{bin,man,lib,include,...}
> > ordem de instalação, compilando pacote por pacote, foi zlib, jpeg,
> > python, reportlab, pyxml, setuptool, pil, elementree, libxml2, libxslt,
> > libxml2-python, python-openid e finalmente zope
> >
> > ----------------------------------------------------------
> > Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> > (Salmo 95.3)
> > For the LORD is the great God, the great King above all gods. (Psalm
> > 95.3)
> > Jesus te ama, aceite-O! Jesus loves you, accept you Him!
> >
> >
> >
> > Luis Flavio Rocha escreveu:
> >>
> >> 2008/7/18 Ricardo Brito do Nascimento
> >> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>
> >> <mailto:informatica%40rbncurriculo.cjb.net>>:
> >> > libxml2-python é incompatível com x86_64?
> >>
> >> Não, não é incompatível.
> >>
> >> > Estou instalando um ambiente zope, independente no sistema
> operacional
> >> > com os pacotes abaixo, e neste ambiente irei compartilhar o
> >> > zope298/plone255 e zope297/plone253, realizei com sucesso a
> instalação
> >> > em uma máquina com arquitera 686, entretanto não tive sucesso na
> >> > instalação com arquitetura x86_64, com o pacote* libxml2-python*.
> >>
> >> E o que vc tentou fazer?
> >> Qual o erro?
> >> Qual sistema operacional?
> >>
> >> Sem essas informações fica difícil de te ajudar.
> >>
> >> --
> >> Luís Flávio Rocha
> >>
> >> "Não sou jovem o suficiente para saber tudo."
> >> Oscar Wilde
> >>
> >>
> >
> >
>
>  

Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
Este pacote estou instalando via fonte, compilando o pacote.
o que acontece é que quando vou compilar o libxml2-python ele não
encontra as bibliotecas.
mesmo eu passando o path como parâmetros na compilação.

------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



Luis Flavio Rocha escreveu:

>
> Brito,
>
> 2008/7/21 Ricardo Brito do Nascimento
> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>>:
> > segue o erro:
> (cut)
>
> você precisa instalar o libxslt-1.1.22.tar.bz2 antes do
> libxml2-python-2.6.21.tar.bz2
>
> Em http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html> diz:
>
> To install the Python bindings there are 2 options:
>
> * If you use an RPM based distribution, simply install the
> libxml2-python RPM and the libxslt-python RPM.
> * Otherwise use the libxml2-python module distribution corresponding
> to your installed version of libxml2 and libxslt. Note that to install
> it you will need both libxml2 and libxslt installed and run "python
> setup.py build install" in the module tree.
>
> Testa ai e diz pra gente se funcionou.
>
> Abraço,
> --
> Luís Flávio Rocha
>
> "Não sou jovem o suficiente para saber tudo."
> Oscar Wilde
>
>  

Luis Flavio Rocha-3
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
E você tentou instalar o libxslt antes do libxml2-python?

2008/7/22 Ricardo Brito do Nascimento <informatica@...>:

> Este pacote estou instalando via fonte, compilando o pacote.
> o que acontece é que quando vou compilar o libxml2-python ele não
> encontra as bibliotecas.
> mesmo eu passando o path como parâmetros na compilação.
>
> ------------------------------------------------------------------------
>  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> (Salmo 95.3)
>  For the LORD is the great God, the great King above all gods. (Psalm
> 95.3)
>  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!
>
>
>
> Luis Flavio Rocha escreveu:
>>
>> Brito,
>>
>> 2008/7/21 Ricardo Brito do Nascimento
>> <informatica@...
>> <mailto:informatica%40rbncurriculo.cjb.net>>:
>> > segue o erro:
>> (cut)
>>
>> você precisa instalar o libxslt-1.1.22.tar.bz2 antes do
>> libxml2-python-2.6.21.tar.bz2
>>
>> Em http://xmlsoft.org/XSLT/python.html
>> <http://xmlsoft.org/XSLT/python.html> diz:
>>
>> To install the Python bindings there are 2 options:
>>
>> * If you use an RPM based distribution, simply install the
>> libxml2-python RPM and the libxslt-python RPM.
>> * Otherwise use the libxml2-python module distribution corresponding
>> to your installed version of libxml2 and libxslt. Note that to install
>> it you will need both libxml2 and libxslt installed and run "python
>> setup.py build install" in the module tree.
>>
>> Testa ai e diz pra gente se funcionou.
>>
>> Abraço,
>> --
>> Luís Flávio Rocha
>>
>> "Não sou jovem o suficiente para saber tudo."
>> Oscar Wilde
>>
>>
>
>
> ------------------------------------
>
> Para enviar uma mensagem: zope-pt@...
> Para desistir envie uma mensagem em branco para: zope-pt-unsubscribe@... do Yahoo! Grupos
>
>
>



--
Luís Flávio Rocha

"Não sou jovem o suficiente para saber tudo."
Oscar Wilde
Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
Estou instalando este pacote antes sim. especificamente nesta ordem:
zlib, jpeg, python, reportlab, pyxml, setuptool, pil, elementree,
libxml2, libxslt, libxml2-python, python-openid, zope, plone.


------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



Luis Flavio Rocha escreveu:

>
> E você tentou instalar o libxslt antes do libxml2-python?
>
> 2008/7/22 Ricardo Brito do Nascimento
> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>>:
> > Este pacote estou instalando via fonte, compilando o pacote.
> > o que acontece é que quando vou compilar o libxml2-python ele não
> > encontra as bibliotecas.
> > mesmo eu passando o path como parâmetros na compilação.
> >
> > ----------------------------------------------------------
> > Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> > (Salmo 95.3)
> > For the LORD is the great God, the great King above all gods. (Psalm
> > 95.3)
> > Jesus te ama, aceite-O! Jesus loves you, accept you Him!
> >
> >
> >
> > Luis Flavio Rocha escreveu:
> >>
> >> Brito,
> >>
> >> 2008/7/21 Ricardo Brito do Nascimento
> >> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>
> >> <mailto:informatica%40rbncurriculo.cjb.net>>:
> >> > segue o erro:
> >> (cut)
> >>
> >> você precisa instalar o libxslt-1.1.22.tar.bz2 antes do
> >> libxml2-python-2.6.21.tar.bz2
> >>
> >> Em http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>
> >> <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>> diz:
> >>
> >> To install the Python bindings there are 2 options:
> >>
> >> * If you use an RPM based distribution, simply install the
> >> libxml2-python RPM and the libxslt-python RPM.
> >> * Otherwise use the libxml2-python module distribution corresponding
> >> to your installed version of libxml2 and libxslt. Note that to install
> >> it you will need both libxml2 and libxslt installed and run "python
> >> setup.py build install" in the module tree.
> >>
> >> Testa ai e diz pra gente se funcionou.
> >>
> >> Abraço,
> >> --
> >> Luís Flávio Rocha
> >>
> >> "Não sou jovem o suficiente para saber tudo."
> >> Oscar Wilde
> >>
> >>
> >
> >
> > ------------------------------------
> >
> > Para enviar uma mensagem: zope-pt@...
> <mailto:zope-pt%40yahoogrupos.com.br>
> > Para desistir envie uma mensagem em branco para:
> zope-pt-unsubscribe@...
> <mailto:zope-pt-unsubscribe%40yahoogrupos.com.brLinks> do Yahoo! Grupos
> >
> >
> >
>
> --
> Luís Flávio Rocha
>
> "Não sou jovem o suficiente para saber tudo."
> Oscar Wilde
>
>  

Jeronimo Zucco
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
    Você compilou o python com a opção "--enable-shared" ?

    Para 64 bits, essa opção deve estar habilitada. E o arquivo de libs
do python deve estar em ld.so.conf.

--
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
Núcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com



Ricardo Brito do Nascimento wrote:

>
> Estou instalando este pacote antes sim. especificamente nesta ordem:
> zlib, jpeg, python, reportlab, pyxml, setuptool, pil, elementree,
> libxml2, libxslt, libxml2-python, python-openid, zope, plone.
>
> ----------------------------------------------------------
> Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> (Salmo 95.3)
> For the LORD is the great God, the great King above all gods. (Psalm
> 95.3)
> Jesus te ama, aceite-O! Jesus loves you, accept you Him!
>
> Luis Flavio Rocha escreveu:
> >
> > E você tentou instalar o libxslt antes do libxml2-python?
> >
> > 2008/7/22 Ricardo Brito do Nascimento
> > <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>
> > <mailto:informatica%40rbncurriculo.cjb.net>>:
> > > Este pacote estou instalando via fonte, compilando o pacote.
> > > o que acontece é que quando vou compilar o libxml2-python ele não
> > > encontra as bibliotecas.
> > > mesmo eu passando o path como parâmetros na compilação.
> > >
> > > ----------------------------------------------------------
> > > Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> > > (Salmo 95.3)
> > > For the LORD is the great God, the great King above all gods. (Psalm
> > > 95.3)
> > > Jesus te ama, aceite-O! Jesus loves you, accept you Him!
> > >
> > >
> > >
> > > Luis Flavio Rocha escreveu:
> > >>
> > >> Brito,
> > >>
> > >> 2008/7/21 Ricardo Brito do Nascimento
> > >> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>
> > <mailto:informatica%40rbncurriculo.cjb.net>
> > >> <mailto:informatica%40rbncurriculo.cjb.net>>:
> > >> > segue o erro:
> > >> (cut)
> > >>
> > >> você precisa instalar o libxslt-1.1.22.tar.bz2 antes do
> > >> libxml2-python-2.6.21.tar.bz2
> > >>
> > >> Em http://xmlsoft.org/XSLT/python.html
> <http://xmlsoft.org/XSLT/python.html>
> > <http://xmlsoft.org/XSLT/python.html
> <http://xmlsoft.org/XSLT/python.html>>
> > >> <http://xmlsoft.org/XSLT/python.html
> <http://xmlsoft.org/XSLT/python.html>
> > <http://xmlsoft.org/XSLT/python.html
> <http://xmlsoft.org/XSLT/python.html>>> diz:
> > >>
> > >> To install the Python bindings there are 2 options:
> > >>
> > >> * If you use an RPM based distribution, simply install the
> > >> libxml2-python RPM and the libxslt-python RPM.
> > >> * Otherwise use the libxml2-python module distribution corresponding
> > >> to your installed version of libxml2 and libxslt. Note that to
> install
> > >> it you will need both libxml2 and libxslt installed and run "python
> > >> setup.py build install" in the module tree.
> > >>
> > >> Testa ai e diz pra gente se funcionou.
> > >>
> > >> Abraço,
> > >> --
> > >> Luís Flávio Rocha
> > >>
> > >> "Não sou jovem o suficiente para saber tudo."
> > >> Oscar Wilde
> > >>
> > >>
> > >
> > >
> > > ------------------------------------
> > >
> > > Para enviar uma mensagem: zope-pt@...
> <mailto:zope-pt%40yahoogrupos.com.br>
> > <mailto:zope-pt%40yahoogrupos.com.br>
> > > Para desistir envie uma mensagem em branco para:
> > zope-pt-unsubscribe@...
> <mailto:zope-pt-unsubscribe%40yahoogrupos.com.brLinks>
> > <mailto:zope-pt-unsubscribe%40yahoogrupos.com.brLinks> do Yahoo! Grupos
> > >
> > >
> > >
> >
> > --
> > Luís Flávio Rocha
> >
> > "Não sou jovem o suficiente para saber tudo."
> > Oscar Wilde
> >
> >
>
>  

Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
compilei com estas, passando as bibliotecas por flags.
./configure LDFLAGS="-L $PREFIX/lib" --prefix=$PREFIX --with-readline
--with-zlib --disable-tk --with-gcc=`which gcc` && make && make install

------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



Jeronimo Zucco escreveu:

>
> Você compilou o python com a opção "--enable-shared" ?
>
> Para 64 bits, essa opção deve estar habilitada. E o arquivo de libs
> do python deve estar em ld.so.conf.
>
> --
> Jeronimo Zucco
> LPIC-1 Linux Professional Institute Certified
> Núcleo de Processamento de Dados
> Universidade de Caxias do Sul
>
> http://jczucco.blogspot.com <http://jczucco.blogspot.com>
>
> Ricardo Brito do Nascimento wrote:
> >
> > Estou instalando este pacote antes sim. especificamente nesta ordem:
> > zlib, jpeg, python, reportlab, pyxml, setuptool, pil, elementree,
> > libxml2, libxslt, libxml2-python, python-openid, zope, plone.
> >
> > ----------------------------------------------------------
> > Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
> > (Salmo 95.3)
> > For the LORD is the great God, the great King above all gods. (Psalm
> > 95.3)
> > Jesus te ama, aceite-O! Jesus loves you, accept you Him!
> >
> > Luis Flavio Rocha escreveu:
> > >
> > > E você tentou instalar o libxslt antes do libxml2-python?
> > >
> > > 2008/7/22 Ricardo Brito do Nascimento
> > > <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>
> > <mailto:informatica%40rbncurriculo.cjb.net>
> > > <mailto:informatica%40rbncurriculo.cjb.net>>:
> > > > Este pacote estou instalando via fonte, compilando o pacote.
> > > > o que acontece é que quando vou compilar o libxml2-python ele não
> > > > encontra as bibliotecas.
> > > > mesmo eu passando o path como parâmetros na compilação.
> > > >
> > > > ----------------------------------------------------------
> > > > Porque o Senhor é Deus grande, e Rei grande acima de todos os
> deuses.
> > > > (Salmo 95.3)
> > > > For the LORD is the great God, the great King above all gods. (Psalm
> > > > 95.3)
> > > > Jesus te ama, aceite-O! Jesus loves you, accept you Him!
> > > >
> > > >
> > > >
> > > > Luis Flavio Rocha escreveu:
> > > >>
> > > >> Brito,
> > > >>
> > > >> 2008/7/21 Ricardo Brito do Nascimento
> > > >> <informatica@...
> <mailto:informatica%40rbncurriculo.cjb.net>
> > <mailto:informatica%40rbncurriculo.cjb.net>
> > > <mailto:informatica%40rbncurriculo.cjb.net>
> > > >> <mailto:informatica%40rbncurriculo.cjb.net>>:
> > > >> > segue o erro:
> > > >> (cut)
> > > >>
> > > >> você precisa instalar o libxslt-1.1.22.tar.bz2 antes do
> > > >> libxml2-python-2.6.21.tar.bz2
> > > >>
> > > >> Em http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>
> > <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>>
> > > <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>
> > <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>>>
> > > >> <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>
> > <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>>
> > > <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>
> > <http://xmlsoft.org/XSLT/python.html 
> <http://xmlsoft.org/XSLT/python.html>>>> diz:
> > > >>
> > > >> To install the Python bindings there are 2 options:
> > > >>
> > > >> * If you use an RPM based distribution, simply install the
> > > >> libxml2-python RPM and the libxslt-python RPM.
> > > >> * Otherwise use the libxml2-python module distribution
> corresponding
> > > >> to your installed version of libxml2 and libxslt. Note that to
> > install
> > > >> it you will need both libxml2 and libxslt installed and run "python
> > > >> setup.py build install" in the module tree.
> > > >>
> > > >> Testa ai e diz pra gente se funcionou.
> > > >>
> > > >> Abraço,
> > > >> --
> > > >> Luís Flávio Rocha
> > > >>
> > > >> "Não sou jovem o suficiente para saber tudo."
> > > >> Oscar Wilde
> > > >>
> > > >>
> > > >
> > > >
> > > > ------------------------------------
> > > >
> > > > Para enviar uma mensagem: zope-pt@...
> <mailto:zope-pt%40yahoogrupos.com.br>
> > <mailto:zope-pt%40yahoogrupos.com.br>
> > > <mailto:zope-pt%40yahoogrupos.com.br>
> > > > Para desistir envie uma mensagem em branco para:
> > > zope-pt-unsubscribe@...
> <mailto:zope-pt-unsubscribe%40yahoogrupos.com.brLinks>
> > <mailto:zope-pt-unsubscribe%40yahoogrupos.com.brLinks>
> > > <mailto:zope-pt-unsubscribe%40yahoogrupos.com.brLinks> do Yahoo!
> Grupos
> > > >
> > > >
> > > >
> > >
> > > --
> > > Luís Flávio Rocha
> > >
> > > "Não sou jovem o suficiente para saber tudo."
> > > Oscar Wilde
> > >
> > >
> >
> >
>
>  

Ricardo Brito do Nascimento
Re: libxml2-python é incompatível com x86_64?
Reply Threaded More
Print post
Permalink
Galera muito obrigado!
consegui fazer.
só tive que alterar alguns arquivos e algumas flags na compilação.
Valeu pela ajuda pessoal!!!

------------------------------------------------------------------------
  Porque o Senhor é Deus grande, e Rei grande acima de todos os deuses.
(Salmo 95.3)
  For the LORD is the great God, the great King above all gods. (Psalm
95.3)
  Jesus te ama, aceite-O!   Jesus loves you, accept you Him!



Ricardo Brito do Nascimento escreveu:

>
> libxml2-python é incompatível com x86_64?
> Estou instalando um ambiente zope, independente no sistema operacional
> com os pacotes abaixo, e neste ambiente irei compartilhar o
> zope298/plone255 e zope297/plone253, realizei com sucesso a instalação
> em uma máquina com arquitera 686, entretanto não tive sucesso na
> instalação com arquitetura x86_64, com o pacote* libxml2-python*.
> ./elementtree-1.2.6-20050316.tar.gz
> ./ez_setup.py
> ./HelperScripts.tgz
> ./Imaging-1.1.6.tar.bz2
> ./jpeg-6b.tar.bz2
> ./libxml2-2.6.30.tar.bz2
> ./libxml2-python-2.6.21.tar.bz2
> ./libxslt-1.1.22.tar.bz2
> ./Plone-2.5.5.tar.bz2
> ./Python-2.4.4.tar.bz2
> ./python-openid-2.0.1.tar.bz2
> ./PyXML-0.8.4.tar.bz2
> ./reportlab_2_0.tar.bz2
> ./setuptools-0.6c7-py2.4.tgz
> ./TextIndexNG-3.1.16.tar.bz2
> ./zlib-1.2.3.tar.bz2
> ./Zope-2.9.8-final.tar.bz2
>
>