compile error with apache/mod_perl - conflicting types for 'getline'

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

 



    Using source from the sources, I'm trying to compile Apache 1.3.27, PHP 4.3.2, and mod_perl 1.28, I'm getting a compile error.  These, near as I know, are the latest "stable" versions of everything - which is why I suspect I'm running into this problem:

make[2]: Entering directory `/usr/local/src/apache_1.3.27/src/support'
gcc -c  -I../os/unix -I../include   -DLINUX=22 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE  `../apaci` htpasswd.c
htpasswd.c:145: conflicting types for `getline'
/usr/include/stdio.h:473: previous declaration of `getline'
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.27/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/usr/local/src/apache_1.3.27'
make: *** [build] Error 2

    I've seen posts that point the finger at mod_perl.  This may be the case as I've managed to compile another Apache server without mod_perl on a different system (RH 9 with PHP).  However, I'm thinking it's more along the lines of a compiler (IOW, RedHat's use of gcc 3.2.2) issue.
    What I could really use is a solution to get past this point - I'd rather like to avoid "downgrading" either my OS or compiler.  I also kind of need the support tools including htpasswd, so skipping them in the compile is highly undesired.  ./configure options or even Makefile modifications are preferred.  Code patches are acceptable, even to some extent expected, but I'm a lazy systems admin, not a programmer ...
	Someone from the mod_perl listserv suggested upgrading GCC to 3.2.3 - any clues as to when Redhat might send out an updated GCC package?  I'd rather not compile it myself, considering how it might screw things up ...
	And to fend off possible questions: I don't use Apache2 because I need mod_perl and mod_perl 2 is not out of development yet.  However, I'm looking that way as the next route to try ...
    Of course, any assistance at all (as repeated and varied searches on groups.google and www.google only verify the problem's existence and have yet to provide a solution) is welcome and appreciated.

Eric Stewart - Network Admin - USF Tampa Library - eric@xxxxxxxxxxx
SCUBA Diver: 220 Dives  Most Recent: 05/10/03 Chankanaab Park, Cozumel
GeoCacher:    58 Found  Most Recent: 07/04/03 GCGBHE - Fun in the Sun
http://www.scubadiving.com/talk/ and http://www.geocaching.com/




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux