No subject


Fri Jan 9 21:58:29 EST 2004


./configure --activate-module=src/modules/python/libpython.a

which gave : 

Configuring for Apache, Version 1.3.26
 + using installation path layout: Apache (config.layout)
 + activated python module (modules/python/libpython.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o python_module uses ConfigStart/End
 + using system Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/python

then issued make

This is the last part of the Apache compilation that shows the errors :


gcc -c -I/usr/drunix/webservers/apache/mod_python-2.7.8/src/include
-I/usr/drunix/webservers/apache/apache_1.3.26/src/include
-I/usr/drunix/webservers/apache/apache_1.3.26/src/os/unix
-I/usr/drunix/programming/python/Python-2.2.1
-I/usr/drunix/programming/python/Python-2.2.1/Include -I./os/unix
-I./include   -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` buildmark.c
gcc  -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` -Xlinker
-export-dynamic       \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/python/libpython.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a   -lm -lcrypt -lm  /usr/drunix/programming/python/Python-2.2.1/libpython2.2.a
-lexpat

--->> This is my note : Up to here everything seems to be okay, but then
...  --->>

/usr/drunix/programming/python/Python-2.2.1/libpython2.2.a(posixmodule.o):
In function `posix_tmpnam':
/usr/drunix/programming/python/Python-2.2.1/./Modules/posixmodule.c:4503:
the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/drunix/programming/python/Python-2.2.1/libpython2.2.a(posixmodule.o):
In function `posix_tempnam':
/usr/drunix/programming/python/Python-2.2.1/./Modules/posixmodule.c:4451:
the use of `tempnam' is dangerous, better use `mkstemp'

/usr/drunix/programming/python/Python-2.2.1/libpython2.2.a(dynload_shlib.o):
In function `_PyImport_GetDynLoadFunc':
/usr/drunix/programming/python/Python-2.2.1/Python/dynload_shlib.c:90:
undefined reference to `dlopen'
/usr/drunix/programming/python/Python-2.2.1/Python/dynload_shlib.c:93:
undefined reference to `dlerror'
/usr/drunix/programming/python/Python-2.2.1/Python/dynload_shlib.c:74:
undefined reference to `dlsym'
/usr/drunix/programming/python/Python-2.2.1/Python/dynload_shlib.c:98:
undefined reference to `dlsym'
/usr/drunix/programming/python/Python-2.2.1/libpython2.2.a(posixmodule.o):
In function `posix_openpty':
/usr/drunix/programming/python/Python-2.2.1/./Modules/posixmodule.c:1934:
undefined reference to `openpty'
/usr/drunix/programming/python/Python-2.2.1/libpython2.2.a(posixmodule.o):
In function `posix_forkpty':
/usr/drunix/programming/python/Python-2.2.1/./Modules/posixmodule.c:1965:
undefined reference to `forkpty'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/drunix/webservers/apache/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/drunix/webservers/apache/apache_1.3.26'
make: *** [build] Error 2

I have been stuck here for days, found no similar errors in the mailing
list, I scanned them form January to September (2002).

Any susgestions would be greatly appreciated.

G.K.




More information about the Mod_python mailing list