Questions and
Answers
Amy Rich
Q I'm trying to compile Apache 1.3.29 with mod_ssl
2.8.16 and mod_perl 1.29 on a Solaris 8 machine with gcc 3.3.2. I've downloaded
the source, unpacked it, and configured it as follows:
cd mod_ssl-2.8.16-1.3.29
./configure --with-apache=../apache_1.3.29 --with-ssl=/usr/local
cd ../mod_perl-1.29
/usr/bin/perl Makefile.PL \
DO_HTTPD=1 \
EVERYTHING=1 \
APACHE_SRC=../apache_1.3.29/src \
USE_APACI=1 \
SSL_BASE=/usr/local \
APACHE_PREFIX=/usr/local/apache \
APACI_ARGS='--enable-module=ssl,--enable-module=rewrite' \
INSTALLSITEARCH=/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris \
INSTALLSITEMAN3DIR=/usr/local/man/man3
make
Not too far into the compilation, I get the following errors:
gcc -c -I.. -I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -I../os/unix
-I../include -DSOLARIS2=280 -DMOD_SSL=208116 -DMOD_PERL
-DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DNO_DL_NEEDED
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 '../apaci' util.c
util.c: In function 'ap_find_token':
util.c:1410: error: 'test_char_table' undeclared (first use in this function)
util.c:1410: error: (Each undeclared identifier is reported only once
util.c:1410: error: for each function it appears in.)
util.c:1410: error: 'T_HTTP_TOKEN_STOP' undeclared (first use in this function)
util.c: In function 'ap_escape_logitem':
util.c:1487: error: 'test_char_table' undeclared (first use in this function)
util.c:1487: error: 'T_ESCAPE_LOGITEM' undeclared (first use in this function)
util.c: In function 'ap_escape_shell_cmd':
util.c:1547: error: 'test_char_table' undeclared (first use in this function)
util.c:1547: error: 'T_ESCAPE_SHELL_CMD' undeclared (first use in this function)
util.c
|