You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Kosta Kouloufakos <ko...@yahoo.ca> on 2000/02/15 22:02:14 UTC

3rd party module error

Hi there,

I got mod_auth_sys.c for user authentication using
NIS.

I built the module using apxs (apache_1.3.11 - on
HP_UX 10.20 workstation):

> cd /path/to/3rdparty
> apxs -c mod_auth_sys.c

gcc -DHPUX10 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE
-I/opt/webpages/apache_1.3.11/include  -c
mod_auth_sys.c
ld -b -o mod_auth_sys.so mod_auth_sys.o 

> apxs -i -a -n auth_sys mod_auth_sys.so

cp mod_auth_sys.so
/opt/webpages/apache_1.3.11/libexec/mod_auth_sys.so
chmod 755
/opt/webpages/apache_1.3.11/libexec/mod_auth_sys.so
[activating module `auth_sys' in
/opt/webpages/apache_1.3.11/conf/httpd.conf]

When I restart the web server (apachetl restart), I
get the following errro messages:

./apachectl restart: configuration broken, ignoring
restart
./apachectl restart: (run 'apachectl configtest' for
details)

apachectl configtest gives the following message:

Syntax error on line 238 of
/opt/webpages/apache_1.3.11/conf/httpd.conf:
Can't locate API module structure `auth_sys_module' in
file
/opt/webpages/apache_1.3.11/libexec/mod_auth_sys.so:
Error 0

Should I have changed a parameter in the apxs
commands?

Any help would be greatly appreciated.

Thanks,

Kosta
_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca