phpbar.de logo

Mailinglisten-Archive

[php] PHP 3.0.2a + Apache 1.3.1 + mod_auth_sys + mod_auth_mysql
Archiv Mailingliste php_(at)_infosoc.uni-koeln.de

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[php] PHP 3.0.2a + Apache 1.3.1 + mod_auth_sys + mod_auth_mysql




Hallo.

Ich habe Probleme folgende Kombi zu kompilieren:

   PHP 3.0.2a + Apache 1.3.1 + mod_auth_sys + mod_auth_mysql

und zwar stecke ich beim Kompilieren des Apaches fest. Zuerst
wird mysql.h nicht gefunden, obwohl ich den Pfad dorthin korrekt
angegeben habe -- schon das configure bricht ab.

Dann habe ich den Pfad absolut in der mod_auth_mysql.c eingetragen.
Dann beschwert sich zwar configure nicht mehr, aber ich bekomme
etwa sowas beim compilieren des Apache:


<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX `./apaci`
buildmark.c
gcc  -DLINUX=2 -DUSE_HSREGEX `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a  -lm
modules/extra/libextra.a(mod_auth_sys.o): In function
`mod_sys_auth_create_dir_config':
mod_auth_sys.o(.text+0xd): undefined reference to `pcalloc'
modules/extra/libextra.a(mod_auth_sys.o): In function
`mod_sys_auth_authenticate_basic_user':
mod_auth_sys.o(.text+0x249): undefined reference to `get_module_config'
mod_auth_sys.o(.text+0x279): undefined reference to `get_basic_auth_pw'
mod_auth_sys.o(.text+0x301): undefined reference to `log_reason'
mod_auth_sys.o(.text+0x30d): undefined reference to `note_basic_auth_failure' 
modules/extra/libextra.a(mod_auth_sys.o): In function
`mod_sys_auth_check_auth':
mod_auth_sys.o(.text+0x368): undefined reference to `get_module_config'
mod_auth_sys.o(.text+0x392): undefined reference to `requires'

mod_auth_sys.o(.text+0x423): undefined reference to `log_reason'
mod_auth_sys.o(.text+0x42f): undefined reference to `note_basic_auth_failure'
mod_auth_sys.o(.text+0x4c9): undefined reference to `getword'
mod_auth_sys.o(.text+0x51e): undefined reference to `getword_conf'
mod_auth_sys.o(.text+0x5a0): undefined reference to `log_reason'
mod_auth_sys.o(.text+0x5ac): undefined reference to `note_basic_auth_failure'
mod_auth_sys.o(.text+0x60e): undefined reference to `getword_conf'
mod_auth_sys.o(.text+0x6a0): undefined reference to `log_reason'
mod_auth_sys.o(.text+0x6ac): undefined reference to `note_basic_auth_failure'
modules/extra/libextra.a(mod_auth_mysql.o): In function `auth_mysql_cleanup'
mod_auth_mysql.o(.text+0x398): undefined reference to `mysql_close'
modules/extra/libextra.a(mod_auth_mysql.o): In function
`auth_mysql_result_cleanup':
mod_auth_mysql.o(.text+0x3f8): undefined reference to `mysql_free_result'
modules/extra/libextra.a(mod_auth_mysql.o): In function `open_auth_dblink':
mod_auth_mysql.o(.text+0x4b6): undefined reference to `mysql_connect'
modules/extra/libextra.a(mod_auth_mysql.o): In function `safe_mysql_query':
mod_auth_mysql.o(.text+0x519): undefined reference to `mysql_select_db'
mod_auth_mysql.o(.text+0x534): undefined reference to `mysql_query'
mod_auth_mysql.o(.text+0x638): undefined reference to `mysql_select_db'
mod_auth_mysql.o(.text+0x650): undefined reference to `mysql_query'
modules/extra/libextra.a(mod_auth_mysql.o): In function
`safe_mysql_store_result':
mod_auth_mysql.o(.text+0x72d): undefined reference to `mysql_store_result'
modules/extra/libextra.a(mod_auth_mysql.o): In function
`mysql_check_user_password':
mod_auth_mysql.o(.text+0x8d5): undefined reference to `mysql_fetch_row'
mod_auth_mysql.o(.text+0x952): undefined reference to
`make_scrambled_password'
modules/extra/libextra.a(mod_auth_mysql.o): In function `mysql_check_group':
mod_auth_mysql.o(.text+0xb0e): undefined reference to `mysql_fetch_row'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.1/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.1'
make: *** [build] Error 2



Ich habe configure so aufgerufen:

./configure \
--prefix=/usr/local/httpd \
--exec-prefix=/usr \
--mandir=/usr/man \
--sysconfdir=/etc/httpd \
--runtimedir=/var/run \
--logfiledir=/var/log \
--datadir=/www/htdocs \
--add-module=src/modules/mod_auth_sys-1.2/mod_auth_sys.c \
--add-module=src/modules/mod_auth_mysql-2.11/mod_auth_mysql.c


Vielleicht weiss einer wie es geht?

Oliver




. causa formalis  . . . Bruesseler Platz 15 . . owrede_(at)_causa-formalis.de .
. informationsdesign  . 50674 Koeln, Germany  . www.causa-formalis.de  . .
. . . . . . . . . . . . tel +49 221 9522 600  . fax: 605 . . . . . . . . .


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive