Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-22 Por tôpico Ricardo Brito do Nascimento
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 
>
> 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
> > > <[EMAIL PROTECTED] 
> 
> > 
> > > >:
> > > > 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
> > > >> <[EMAIL PROTECTED] 
> 
> > 
> > > 
> > > >> >:
> > > >> > 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 
> 
> >  >
> > >  
> >  >>
> > > >>  
> >  >
> > >  
> >   > > >>
> > > >> 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@yahoogrupos.com.br 
> 
> > 
> > > 
> > > > Para desistir envie uma mensagem em branco para:
> > > [EMAIL PROTECTED] 
> 
> > 
> > >  do Yahoo! 
> Grupos
> > > >
> > > >
> > > >
> > >
> > > --
> > > Luís Flávio Rocha
> > >
> > > "Não sou jovem o suficiente para saber tudo."
> > > Oscar Wilde
> > >
> > >
> >
> >
>
>  



Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-22 Por tôpico Jeronimo Zucco
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
> > <[EMAIL PROTECTED]
> 
> > >:
> > > 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
> > >> <[EMAIL PROTECTED]
> 
> > 
> > >> >:
> > >> > 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
> > >>
> > >>
> > >
> > >
> > > 
> > >
> > > Para enviar uma mensagem: zope-pt@yahoogrupos.com.br
> 
> > 
> > > Para desistir envie uma mensagem em branco para:
> > [EMAIL PROTECTED]
> 
> >  do Yahoo! Grupos
> > >
> > >
> > >
> >
> > --
> > Luís Flávio Rocha
> >
> > "Não sou jovem o suficiente para saber tudo."
> > Oscar Wilde
> >
> >
>
>  



Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-22 Por tôpico Ricardo Brito do Nascimento
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 
> <[EMAIL PROTECTED] 
> >:
> > 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
> >> <[EMAIL PROTECTED] 
> 
> >> >:
> >> > 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
> >>
> >>
> >
> >
> > 
> >
> > Para enviar uma mensagem: zope-pt@yahoogrupos.com.br 
> 
> > Para desistir envie uma mensagem em branco para: 
> [EMAIL PROTECTED] 
>  do Yahoo! Grupos
> >
> >
> >
>
> -- 
> Luís Flávio Rocha
>
> "Não sou jovem o suficiente para saber tudo."
> Oscar Wilde
>
>  



Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-22 Por tôpico Ricardo Brito do Nascimento
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 
> <[EMAIL PROTECTED] 
> >:
> > 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
>
>  



Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-22 Por tôpico Ricardo Brito do Nascimento
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!



[EMAIL PROTECTED] 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
> >> <[EMAIL PROTECTED] 
> 
> >> >:
> >> > 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
> >>
> >>
> >
> >
>
>  



Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-21 Por tôpico Ricardo Brito do Nascimento
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 
> <[EMAIL PROTECTED] 
> >:
> > 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
>
>  



Re: [zope-pt] libxml2-python é incompatível co m x86_64?

2008-07-18 Por tôpico Ricardo Brito do Nascimento
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 
> <[EMAIL PROTECTED] 
> >:
> > 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
>
>