[mod_python] Mod python installation problems on unix

Srinivasachari srinivasachari2000 at gmail.com
Mon Aug 2 03:57:17 EDT 2010


Hi,

I am trying to install mod python.

Server version: Apache/2.2.16 (Unix)
Python 2.5.2
mod_pyton-3.3.1

./configure --with-apxs=/usr/local/apache2/bin/apxs
--with-python=/usr/local/bin/python2.5

while make time its is giving error

connobject.c: In function '_conn_read':
connobject.c:142: error: request for member 'next' in something not a
structure or union
apxs:Error: Command failed with rc=65536

I have used proposed patch
https://issues.apache.org/jira/browse/MODPYTHON-249

After these changes configure and ran make , while running i am
getting following error.

*** static library
/home/esuser/apache_test/appython/lib/python2.5/config/libpython2.5.a is not
portable!
 ld: 0706-004 Cannot find or read export file: Modules/python.exp
        ld:accessx(): No such file or directory
collect2: ld returned 255 exit status
apxs:Error: Command failed with rc=65536



Any suggestions ?


Regards,
Srinivasachari.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20100802/5a2b196d/attachment.html


More information about the Mod_python mailing list