Mod python installation problems on unix

Srinivasachari <[email protected]> Mon, 2 Aug 2010 13:27:17 +0530
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
--===============1457182333==
Content-Type: multipart/alternative; boundary=0016363b8f64d47ae8048cd28d38

--0016363b8f64d47ae8048cd28d38
Content-Type: text/plain; charset=ISO-8859-1

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.

--0016363b8f64d47ae8048cd28d38
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<div><br></div><div>I am trying to install mod python.</div><div><div><b=
r></div><div>Server version: Apache/2.2.16 (Unix)</div><div>Python 2.5.2</d=
iv></div><div>mod_pyton-3.3.1</div><div><br></div><div>
./configure --with-apxs=3D/usr/local/apache2/bin/apxs --with-python=3D/usr/=
local/bin/python2.5</div><div><br></div><div>while make time its is giving =
error</div><div><br></div><div><div>connobject.c: In function &#39;_conn_re=
ad&#39;:</div>



<div>connobject.c:142: error: request for member &#39;next&#39; in somethin=
g not a structure or union</div><div>apxs:Error: Command failed with rc=3D6=
5536</div><div><br></div><div>I have used proposed patch=A0<a href=3D"https=
://issues.apache.org/jira/browse/MODPYTHON-249" target=3D"_blank">https://i=
ssues.apache.org/jira/browse/MODPYTHON-249</a></div>



<div><br></div><div>After these changes configure and ran make , while=A0ru=
nning=A0i am getting=A0following=A0error.</div><div><br></div><div><div>***=
 static library /home/esuser/apache_test/appython/lib/python2.5/config/libp=
ython2.5.a is not portable!</div>


<div>
ld: 0706-004 Cannot find or read export file: Modules/python.exp</div><div>=
=A0=A0 =A0 =A0 =A0ld:accessx(): No such file or directory</div><div>collect=
2: ld returned 255 exit status</div><div>apxs:Error: Command failed with rc=
=3D65536</div>



</div><div><br></div><div><br></div><div><br></div><div>Any=A0suggestions=
=A0?=A0</div><div><br></div><div><br></div>Regards,<br>Srinivasachari.<br>
</div>

--0016363b8f64d47ae8048cd28d38--

--===============1457182333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mod_python mailing list
[email protected]
http://mailman.modpython.org/mailman/listinfo/mod_python

--===============1457182333==--