www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Landers <br...@bluecoat93.org>
Subject build/8934: Unable to compile Apache 1.3.22 + mod_perl 1.26 on Linux
Date Mon, 03 Dec 2001 23:09:38 GMT

>Number:         8934
>Category:       build
>Synopsis:       Unable to compile Apache 1.3.22 + mod_perl 1.26 on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Dec 03 15:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     brian@bluecoat93.org
>Release:        1.3.22
>Organization:
apache
>Environment:
RedHat 7.2, new install from CD
Linux smilla.sapient.com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
>Description:
I'm beating my head against the wall trying to build Apache + mod_perl
on Linux.  I've tried on several different boxes, but I just can't see
what's wrong:

RedHat Linux 7.2
Apache 1.3.22
mod_perl 1.26

$ cd mod_perl-1.26
$ /usr/local/ActivePerl-5.6/bin/perl Makefile.PL \
> APACHE_PREFIX=/usr/local/apache \
> APACHE_SRC=../apache_1.3.22/src \
> DO_HTTPD=1 \
> USE_APACI=1 \
> EVERYTHING=1 \
> APACI_ARGS="--enable-module=rewrite --enable-module=info
--enable-module=proxy --enable-module=unique_id --server-uid=48
--server-gid=48"

[output snipped, but normal]

$ make

[snip]

gcc -c -I..
-I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE
-I../os/unix -I../include   -DLINUX=22 -I/usr/include/db1 -DMOD_PERL
-DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L
-D_REENTRANT -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX
-DNO_DL_NEEDED `../apaci` http_core.c
http_core.c: In function `default_handler':
http_core.c:3605: `caddr_t' undeclared (first use in this function)
http_core.c:3605: (Each undeclared identifier is reported only once
http_core.c:3605: for each function it appears in.)
http_core.c:3605: parse error before `mm'
http_core.c:3669: `mm' undeclared (first use in this function)
make[3]: *** [http_core.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/tmp/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/tmp/apache_1.3.22'
make: *** [build] Error 2

Help!!!
Brian
>How-To-Repeat:
see description
>Fix:
nope, other than figure out why caddr_t is undefined.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message