Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2001 15:18:52 +0100
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        freebsd-hackers@freebsd.org
Subject:   Apache modules failing to load
Message-ID:  <wPOYAiBM7Td7Ewqf@caomhin.demon.co.uk>

next in thread | raw e-mail | index | archive | help
I've been having a lot of trouble upgrading Apache since I upgraded
FreeBSD 4.2 -> 4.3 (release)

I'm trying to get mod_ssl and PHP4 to run, (mod_perl is an added bonus
too but less important)  I've tried installing the apache+modssl package
but I just get a vanilla apache, I've tried forgetting about ssl and
just installing PHP4 but I still just get plain Apache.

I reinstalled mm to make sure that wasn't playing up but I'm still
getting the same problem.

The biggest clue to what's going on is when I run make in
apache13-modssl from the ports tree.  It produces this selection of
errors that I can't fathom out:


4 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O -pipe  `../apaci`
alloc.c
alloc.c:146: syntax error before `*'
alloc.c:146: warning: data definition has no type or storage class
alloc.c: In function `free_blocks':
alloc.c:324: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c:324: (Each undeclared identifier is reported only once
alloc.c:324: for each function it appears in.)
alloc.c: In function `make_sub_pool_internal':
alloc.c:503: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `ap_init_alloc_shared':
alloc.c:626: `EAPI_MM_CORE_MAXSIZE' undeclared (first use in this
function)
alloc.c:631: warning: assignment makes pointer from integer without a
cast
alloc.c:633: warning: assignment makes pointer from integer without a
cast
alloc.c: In function `ap_clear_pool':
alloc.c:679: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `ap_destroy_pool':
alloc.c:724: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: At top level:
alloc.c:755: syntax error before `ap_pool_lock_mode'
alloc.c: In function `ap_acquire_pool':
alloc.c:758: `p' undeclared (first use in this function)
alloc.c:760: `mode' undeclared (first use in this function)
alloc.c:760: `AP_POOL_RD' undeclared (first use in this function)
alloc.c:760: `AP_MM_LOCK_RD' undeclared (first use in this function)
alloc.c:760: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `ap_palloc':
alloc.c:945: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `psprintf_flush':
alloc.c:1106: `AP_MM_LOCK_RW' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20/src/main.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20/src.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl.


Any advice or ideas will be greatly appreciated,
Kevin
-- 
kevin@caomhin.demon.co.uk

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wPOYAiBM7Td7Ewqf>