Comment posted mod_python + Python 2.6 en CentOS by Alejandro.
Tengo una pregunta…
Si yo lo que necesito es Python2.6.1 para una aplicación específica que ocupa esa versión, es necesario que instale mod_python??? Es que estuve leyendo que era mod_python y entendí que es un módulo de apache para que éste pueda ejecutar código python.
Si yo lo que ocupo es que la aplicación “X” corra con python2.6.1 no le puedo decir a esta aplicación en el configure que se compile con el pyhton que esta compilado anteriormente aunque no tenga mod_python???
Alejandro also commented
- AHHHH bueno excelente noticia!!! muchísimas gracias por toda tu ayuda!!! Pura vida!!
- ahora mientras hacía el configure de mod_python me dio este error
checking for –with-python… /usr/bin/python2.6
checking Python version… /usr/bin/python2.6: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
/usr/bin/python2.6: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directoryconfigure: error: This version of mod_python only works with Python major version 2. The one you have seems to be .
- ok,
el configure lo puse así
# ./configure –enable-shared –prefix=/usry apenas le dí el #make me dio esto
Failed to find the necessary bits to build these modules:
_curses _curses_panel _hashlib
_sqlite3 _ssl _tkinter
bsddb185 bz2 dl
gdbm imageop readline
sunaudiodev zlib
To find the necessary bits, look in setup.py in detect_modules() for the module’s name.running build_scripts
voy a darle #make altinstall a ver que hace
- mod_python
- Hola ya volví al punto en que necesito Python 2.6.1, todo va bien pero cuando estoy recompilando me da un error, específicamente aquí:
# makeMe da este error
/usr/lib/python2.6/config/libpython2.6.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make[1]: se sale del directorio `/usr/src/mod_python-3.3.1/src’
make: *** [do_dso] Error 2
powered by SEO Super Comments