Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Apache compilation Problem--Pls help me
Results 1 to 3 of 3

Thread: Apache compilation Problem--Pls help me

  1. #1

    Apache compilation Problem--Pls help me

    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


  2. #2

    Re:Apache compilation Problem--Pls help me

    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 ?

  3. #3
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re:Apache compilation Problem--Pls help me

    [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?

Similar Threads

  1. Instaklling Apache with PHP Problem
    By omidkamangar in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 10-24-2006, 04:30 PM
  2. Apache and PHP problem
    By imported_root in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 04-21-2005, 02:13 PM
  3. Compilation problem with c++ program
    By mountainman in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 04-15-2005, 06:53 AM
  4. Apache 2 compilation
    By vwgtiturbo in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 02-02-2004, 07:33 AM
  5. Problem starting Apache 2.0
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-14-2003, 02:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •