nope i do not have import apache

[EMAIL PROTECTED]:/srv/mod_wsgi# svn revert mod_wsgi.c
Reverted 'mod_wsgi.c'
[EMAIL PROTECTED]:/srv/mod_wsgi# patch -p0 < patch
patching file mod_wsgi.c
Hunk #2 succeeded at 4310 with fuzz 1.
[EMAIL PROTECTED]:/srv/mod_wsgi#

[EMAIL PROTECTED]:/srv/mod_wsgi# make clean
rm -rf .libs
rm -f mod_wsgi.o mod_wsgi.la mod_wsgi.lo mod_wsgi.slo mod_wsgi.loT
rm -f config.log config.status
rm -rf autom4te.cache
[EMAIL PROTECTED]:/srv/mod_wsgi# make
/usr/bin/apxs2 -c -I/usr/include/python2.5 -DNDEBUG   mod_wsgi.c -Wl,-
L/usr/lib/python2.5/config -Wl,-lpython2.5 -Wl,-lpthread -Wl,-ldl -Wl,-
lutil -Wl,-lm
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-
static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread     -I/usr/include/apache2  -I/usr/include/
apr-1.0   -I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/
include/mysql -I/usr/include/python2.5 -DNDEBUG  -c -o mod_wsgi.lo
mod_wsgi.c && touch mod_wsgi.slo
mod_wsgi.c: In function 'wsgi_log_script_error':
mod_wsgi.c:6726: warning: format not a string literal and no format
arguments
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-
static i486-linux-gnu-gcc -o mod_wsgi.la  -rpath /usr/lib/apache2/
modules -module -avoid-version    mod_wsgi.lo -Wl,-L/usr/lib/python2.5/
config -Wl,-lpython2.5 -Wl,-lpthread -Wl,-ldl -Wl,-lutil -Wl,-lm
[EMAIL PROTECTED]:/srv/mod_wsgi# make install
/usr/bin/apxs2 -i -S LIBEXECDIR=/usr/lib/apache2/modules -n 'mod_wsgi'
mod_wsgi.la
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/
build/libtool' mod_wsgi.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install cp mod_wsgi.la /usr/
lib/apache2/modules/
cp .libs/mod_wsgi.so /usr/lib/apache2/modules/mod_wsgi.so
cp .libs/mod_wsgi.lai /usr/lib/apache2/modules/mod_wsgi.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/apache2/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 644 /usr/lib/apache2/modules/mod_wsgi.so
[EMAIL PROTECTED]:/srv/mod_wsgi#

[Mon Nov 03 05:11:17 2008] [info] Init: Seeding PRNG with 0 bytes of
entropy
[Mon Nov 03 05:11:17 2008] [info] Init: Generating temporary RSA
private keys (512/1024 bits)
[Mon Nov 03 05:11:17 2008] [info] Init: Generating temporary DH
parameters (512/1024 bits)
[Mon Nov 03 05:11:17 2008] [info] Init: Initializing (virtual) servers
for SSL
[Mon Nov 03 05:11:17 2008] [info] mod_ssl/2.2.9 compiled against
Server: Apache/2.2.9, Library: OpenSSL/0.9.8g
[Mon Nov 03 05:11:17 2008] [info] Init: Seeding PRNG with 0 bytes of
entropy
[Mon Nov 03 05:11:17 2008] [info] Init: Generating temporary RSA
private keys (512/1024 bits)
[Mon Nov 03 05:11:18 2008] [info] Init: Generating temporary DH
parameters (512/1024 bits)
[Mon Nov 03 05:11:18 2008] [info] Init: Initializing (virtual) servers
for SSL
[Mon Nov 03 05:11:18 2008] [info] mod_ssl/2.2.9 compiled against
Server: Apache/2.2.9, Library: OpenSSL/0.9.8g
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi: Initializing Python.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13933): Attach
interpreter ''.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13933): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13935): Attach
interpreter ''.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13935): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13936): Attach
interpreter ''.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13936): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13937): Attach
interpreter ''.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13937): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13938): Attach
interpreter ''.
[Mon Nov 03 05:11:18 2008] [info] mod_wsgi (pid=13938): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:18 2008] [notice] Apache/2.2.9 (Ubuntu) mod_ssl/
2.2.9 OpenSSL/0.9.8g mod_wsgi/3.0-TRUNK Python/2.5.2 configured --
resuming normal operations
[Mon Nov 03 05:11:18 2008] [info] Server built: Sep 19 2008 13:43:21
[Mon Nov 03 05:11:31 2008] [info] mod_wsgi (pid=13945): Attach
interpreter ''.
[Mon Nov 03 05:11:31 2008] [info] mod_wsgi (pid=13945): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:32 2008] [info] mod_wsgi (pid=13946): Attach
interpreter ''.
[Mon Nov 03 05:11:32 2008] [info] mod_wsgi (pid=13946): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:32 2008] [info] mod_wsgi (pid=13947): Attach
interpreter ''.
[Mon Nov 03 05:11:32 2008] [info] mod_wsgi (pid=13947): Adding '/srv/
www/appwsgi/www/lib' to path.
[Mon Nov 03 05:11:39 2008] [info] [client 80.200.208.100] mod_wsgi
(pid=13936, process='', application=''): Loading WSGI script '/srv/www/
appwsgi/www/upload2/upload.py'.
[Mon Nov 03 05:11:39 2008] [error] [client 80.200.208.100] mod_wsgi
(pid=13936): Target WSGI script '/srv/www/appwsgi/www/upload2/
upload.py' cannot be loaded as Python module.
[Mon Nov 03 05:11:39 2008] [error] [client 80.200.208.100] mod_wsgi
(pid=13936): Exception occurred processing WSGI script '/srv/www/
appwsgi/www/upload2/upload.py'.
[Mon Nov 03 05:11:39 2008] [error] [client 80.200.208.100] Traceback
(most recent call last):
[Mon Nov 03 05:11:39 2008] [error] [client 80.200.208.100]   File "/
srv/www/appwsgi/www/upload2/upload.py", line 3, in <module>
[Mon Nov 03 05:11:39 2008] [error] [client 80.200.208.100]     import
re,sessions
[Mon Nov 03 05:11:39 2008] [error] [client 80.200.208.100]
ImportError: No module named mod_wsgi
[Mon Nov 03 05:11:44 2008] [info] [client 80.200.208.100] mod_wsgi
(pid=13937, process='', application=''): Loading WSGI script '/srv/www/
appwsgi/www/upload2/upload.py'.
[Mon Nov 03 05:11:44 2008] [error] [client 80.200.208.100] mod_wsgi
(pid=13937): Target WSGI script '/srv/www/appwsgi/www/upload2/
upload.py' cannot be loaded as Python module.
[Mon Nov 03 05:11:44 2008] [error] [client 80.200.208.100] mod_wsgi
(pid=13937): Exception occurred processing WSGI script '/srv/www/
appwsgi/www/upload2/upload.py'.
[Mon Nov 03 05:11:44 2008] [error] [client 80.200.208.100] Traceback
(most recent call last):
[Mon Nov 03 05:11:44 2008] [error] [client 80.200.208.100]   File "/
srv/www/appwsgi/www/upload2/upload.py", line 3, in <module>
[Mon Nov 03 05:11:44 2008] [error] [client 80.200.208.100]     import
re,sessions
[Mon Nov 03 05:11:44 2008] [error] [client 80.200.208.100]
ImportError: No module named mod_wsgi
[Mon Nov 03 05:11:49 2008] [info] [client 80.200.208.100] mod_wsgi
(pid=13938, process='', application=''): Loading WSGI script '/srv/www/
appwsgi/www/upload2/upload.py'.
[Mon Nov 03 05:11:49 2008] [error] [client 80.200.208.100] mod_wsgi
(pid=13938): Target WSGI script '/srv/www/appwsgi/www/upload2/
upload.py' cannot be loaded as Python module.
[Mon Nov 03 05:11:49 2008] [error] [client 80.200.208.100] mod_wsgi
(pid=13938): Exception occurred processing WSGI script '/srv/www/
appwsgi/www/upload2/upload.py'.
[Mon Nov 03 05:11:49 2008] [error] [client 80.200.208.100] Traceback
(most recent call last):
[Mon Nov 03 05:11:49 2008] [error] [client 80.200.208.100]   File "/
srv/www/appwsgi/www/upload2/upload.py", line 3, in <module>
[Mon Nov 03 05:11:49 2008] [error] [client 80.200.208.100]     import
re,sessions
[Mon Nov 03 05:11:49 2008] [error] [client 80.200.208.100]
ImportError: No module named mod_wsgi

same result does not work

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to