Mike Klein
mikeklein at sbcglobal.net
Mon Sep 29 17:25:44 EST 2003
Well...I google'd some more and found a single page with the answer: I needed to manually update Makefile in mod_python's src directory and added -lutil to LIBS variable. Why is this needed though? I'm running a stock RH9 setup? I am now able to run py scripts thru apache... mike -----Original Message----- From: mod_python-bounces at modpython.org [mailto:mod_python-bounces at modpython.org]On Behalf Of Mike Klein Sent: Monday, September 29, 2003 3:27 PM To: mod_python at modpython.org Subject: [mod_python] Problems installing mod_python...openpty I've googled/etc. and can't seem to find an answer to this one. I am using RH9, and a separately installed Python (v. 2.2.3). My mod_python is 2.7.8. Mod_python's install instructions say it works with <up to> Python 2.1. My configure command is: ./configure --with-apxs=/apache/bin/apxs --with-python=/src/Python-2.2.3 The above version of python is compiled without threads and is in /usr/local/python, whereas stock rh python is in /usr/bin and /usr/lib. My apache is started with /usr/local/python/bin in the path before /usr/bin, so apache is now using my custom python. This eliminated some site warnings I was getting on restart. When I attempt starting apache I get the following error: Starting httpsd: Syntax error on line 211 of /usr/local/apache/conf/httpsd.conf: Cannot load /usr/local/apache/libexec/mod_python.so into server: /usr/local/apache/libexec/mod_python.so: undefined symbol: openpty Any ideas on how to solve this problem? thanks in advance... _______________________________________________ Mod_python mailing list Mod_python at modpython.org http://mailman.modpython.org/mailman/listinfo/mod_python
|