hello,
i see no one else is biting so i will take a crack at it - when there are typecast errors then typically the issue is an missing or wrong version header file - what headers are included called out by mod_auth_db.c ?
Hi gurus out there,
Kindly help me in solving my problem. My already stuck for a week now. I've visited many mailing list but cant find solutions to my BIG, BIG PROBLEM!
I'am installing an apache-1.3.28 on my RH9.0 with 2.4.22 kernel.
#SSL_BASE=SYSTEM EAPI_MM=SYSTEM OPTIM="-O3 -march=i686 -mcpu=i686 -funroll-loops -fomit-frame-pointer" CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" ./configure --prefix=/var/www --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/apache --includedir=/usr/include/apache --sysconfdir=/etc/httpd/conf --localstatedir=/var --runtimedir=/var/run --logfiledir=/var/log/httpd --datadir=/var/www --proxycachedir=/var/cache/httpd --mandir=/usr/share/man --add-module=src/modules/experimental/mod_mmap_static.c --add-module=src/modules/standard/mod_auth_db.c --enable-module=ssl --enable-rule=SSL_SDBM --disable-rule=SSL_COMPAT --activate-module=src/modules/php4/libphp4.a --enable-module=php4 --activate-module=src/modules/perl/libperl.a --enable-module=perl --disable-module=status --disable-module=userdir --disable-module=negotiation --disable-module=autoindex --disable-module=imap --server-uid=www --server-gid=www
# OK, Here everything turned out alright. However running...
#make
PRODUCED AN ERROR AS FOLLOWS
gcc -c -I../.. -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -I../../os/unix -I../../include -O3 -march=i686 -mcpu=i686 -funroll-loops -fomit-frame-pointer -DLINUX=22 -DMOD_SSL=208115 -I/var/tmp/php-4.2.3 -I/var/tmp/php-4.2.3/main -I/var/tmp/php-4.2.3/main -I/var/tmp/php-4.2.3/Zend -I/var/tmp/php-4.2.3/Zend -I/var/tmp/php-4.2.3/TSRM -I/var/tmp/php-4.2.3/TSRM -I/var/tmp/php-4.2.3 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DEAPI -DEAPI_MM -DNO_DL_NEEDED -DDYNAMIC_MODULE_LIMIT=0 `../../apaci` mod_auth.c
gcc -c -I../.. -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -I../../os/unix -I../../include -O3 -march=i686 -mcpu=i686 -funroll-loops -fomit-frame-pointer -DLINUX=22 -DMOD_SSL=208115 -I/var/tmp/php-4.2.3 -I/var/tmp/php-4.2.3/main -I/var/tmp/php-4.2.3/main -I/var/tmp/php-4.2.3/Zend -I/var/tmp/php-4.2.3/Zend -I/var/tmp/php-4.2.3/TSRM -I/var/tmp/php-4.2.3/TSRM -I/var/tmp/php-4.2.3 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DEAPI -DEAPI_MM -DNO_DL_NEEDED -DDYNAMIC_MODULE_LIMIT=0 `../../apaci` mod_auth_db.c
mod_auth_db.c: In function `get_db_pw':
mod_auth_db.c:175: warning: passing arg 2 of pointer to function from incompatible pointer type
mod_auth_db.c:175: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
mod_auth_db.c:175: error: too few arguments to function
make[4]: *** [mod_auth_db.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/apache_1.3.28/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/tmp/apache_1.3.28'
make: *** [build] Error 2
Along with my installation, I had compiled successfully the following:
-mm-1.3.0
-mod_ssl-2.8.15-1.3.28
-mod_perl-1.28
-php-4.2.3
The following are installed by rpm:
-gdbm-1.8.3.2 and devel
-pam-0.75-48
-db-4.1.25
-openssl1-0.9.7a-2
Pls help me...plsss...
Really need your expert advise.
A million thanks in advance
Rhonneil
hello,
i see no one else is biting so i will take a crack at it - when there are typecast errors then typically the issue is an missing or wrong version header file - what headers are included called out by mod_auth_db.c ?
[quote author=rhonneil link=board=2;threadid=7989;start=0#msg72918 date=1066813275]
Hi gurus out there,
Kindly help me in solving my problem. My already stuck for a week now. I've visited many mailing list but cant find solutions to my BIG, BIG PROBLEM!
I'am installing an apache-1.3.28 on my RH9.0 with 2.4.22 kernel.
[/quote]
Can i ask a stupid question?
Why dont you install it from the cd ( as an rpm ) and then use up2date -u apache to get the latest version?
Why are you doing it manually?
Bookmarks