[Usuarios Plone] Habilitar soporte a SSL para Python 2.4 con buildout.python

Mikel Larreategi mlarreategi at codesyntax.com
Tue Jul 16 05:48:28 UTC 2013


2013/7/16 Leonardo Caballero <leonardocaballero at gmail.com>

> Hola Plonistas
>
> Estoy usando buildout.python [0] para compilar Python 2.4 para unos
> proyectos que están aun con Plone 3.3.x :/
>
> El problema es que buildout.python me genera mi interprete mas no me da
> soporte a SSL y cuando requiero descargar un paquete Egg desde un sitio con
> https
>
> changing mode of
> /home/macagua/pythons/parts/opt/lib/python2.4/lib-dynload/ to 755
> running install_scripts
> copying build/scripts-2.4/pydoc -> /home/macagua/pythons/parts/opt/bin
> copying build/scripts-2.4/idle -> /home/macagua/pythons/parts/opt/bin
> copying build/scripts-2.4/smtpd.py -> /home/macagua/pythons/parts/opt/bin
> changing mode of /home/macagua/pythons/parts/opt/bin/pydoc to 755
> changing mode of /home/macagua/pythons/parts/opt/bin/idle to 755
> changing mode of /home/macagua/pythons/parts/opt/bin/smtpd.py to 755
> if test -f /home/macagua/pythons/parts/opt/bin/python -o -h
> /home/macagua/pythons/parts/opt/bin/python; \
>     then rm -f /home/macagua/pythons/parts/opt/bin/python; \
>     else true; \
>     fi
> (cd /home/macagua/pythons/parts/opt/bin; ln python2.4 python)
> /usr/bin/install -c -m 644 ./Misc/python.man \
>         /home/macagua/pythons/parts/opt/man/man1/python.1
> Installing virtualenv172.
> Searching cache at /home/macagua/.buildout/downloads/
> Using cache file
> /home/macagua/.buildout/downloads/9b6c8541e881368cf1f4b9a04d6b14e7
> virtualenv172: Extracting package to
> /home/macagua/pythons/parts/virtualenv172
> Installing python-2.4-virtualenv.
> Installing python-2.4.
> python-2.4: Running '
> /home/macagua/pythons/bin/virtualenv-2.4 /home/macagua/pythons/python-2.4
> /home/macagua/pythons/python-2.4/bin/easy_install -U collective.dist'
> New python executable in /home/macagua/pythons/python-2.4/bin/python2.4
> Also creating executable in /home/macagua/pythons/python-2.4/bin/python
> Installing
> distribute.................................................................................................................................................................................................done.
> Installing pip................done.
> Searching for collective.dist
> Reading http://pypi.python.org/simple/collective.dist/
> Download error on http://pypi.python.org/simple/collective.dist/: unknown
> url type: https -- Some packages may not be found!
> Reading http://pypi.python.org/simple/collective.dist/
> Download error on http://pypi.python.org/simple/collective.dist/: unknown
> url type: https -- Some packages may not be found!
> Couldn't find index page for 'collective.dist' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading http://pypi.python.org/simple/
> Download error on http://pypi.python.org/simple/: unknown url type: https
> -- Some packages may not be found!
> No local packages or download links found for collective.dist
> error: Could not find suitable distribution for
> Requirement.parse('collective.dist')
> python-2.4: Non zero exit code (1) while running command.
> While:
>   Installing python-2.4.
>
> Error: Non zero exit code (1) while running command.
>
> Ya tengo instalando los paquetes openssl libssl-dev
>
> Alguna idea?
>
>
Hola:

Yo he tenido esta misma semana el mismo problema, soy incapaz de tener un
python2.4 son soporte SSL utilizando el buildout.python.

Lo que hice fue descargarme directamente el tar de python 2.4,
descomprimirlo, editar el archivo Modules/Setup y descomentar ahí las
líneas correspondientes a SSL indicando un path correcto. Después ejecuté
configure --prefix=~/py24 && make && make install (como en los viejos
tiempos), para tener un python2.4 con soporte SSL preparado.


Saludos,


Mikel



-- 
Mikel Larreategi
mlarreategi at codesyntax.com

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-usuarios-plone/attachments/20130716/6852e1c4/attachment.html>


More information about the Usuarios-Plone mailing list