Bug #46
closedpkgsrc ap-php - any users?
0%
Description
I'm trying to use apache and ap-php from pkgsrc on 1.4; using LoadModule
to add php4 causes Apache to spit out this error:
root@www> apachectl configtest
Syntax error on line 212 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load /usr/pkg/lib/httpd/mod_php4.so into server:
/usr/pkg/lib/httpd/mod_php4.so: Undefined symbol "ap_block_alarms"
ap-php, as far as I can tell, is the equivalent of the mod_php FreeBSD
port. I've been searching for a solution, but no luck. Is anyone else
using apache and ap-php from pkgsrc? If so, can you correlate this?
Updated by justin almost 19 years ago
joerg@britannica.bec.de wrote:
Do you have a binary package available? Building from source in
pkgsrc/www/apache gives me this:
cc -c -I/usr/pkg/include -I./os/unix -I./include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI -DEAPI_MM -O2
-I/usr/pkg/include -I/usr/include `./apaci` modules.c
cc -c -I/usr/pkg/include -I./os/unix -I./include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI -DEAPI_MM -O2
-I/usr/pkg/include -I/usr/include `./apaci` buildmark.c
cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI
-DEAPI_MM -O2 -I/usr/pkg/include -I/usr/include `./apaci`
-L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -Wl,-E -o httpd buildmark.o modules.o
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a -lmm -lexpat
ap/libap.a(ap_checkpass.o)(.text+0x45): In function `ap_validate_password':
: undefined reference to `crypt'
- Error code 1
bmake: stopped in /usr/obj/pkgsrc/www/apache/work/apache_1.3.34/src
- Error code 1
bmake: stopped in /usr/obj/pkgsrc/www/apache/work/apache_1.3.34
- Error code 1
bmake: stopped in /usr/obj/pkgsrc/www/apache/work/apache_1.3.34
- Error code 1
bmake: stopped in /usr/pkgsrc/www/apache
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/obj/pkgsrc/www/apache/work/.work.log
===>
- Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/www/apache
Updated by joerg almost 19 years ago
On Sun, Jan 08, 2006 at 11:20:56PM -0500, Justin C. Sherrill wrote:
Do you have a binary package available? Building from source in
pkgsrc/www/apache gives me this:
Bah, don't do last minute fixed. Another patch had a spelling fault, it
is fixed now.
Joerg
Updated by justin almost 19 years ago
On Sun, Jan 08, 2006 at 11:20:56PM -0500, Justin C. Sherrill wrote:
Do you have a binary package available? Building from source in
pkgsrc/www/apache gives me this:Bah, don't do last minute fixed. Another patch had a spelling fault, it
is fixed now.
Apache and ap-php are working fine, now. Thanks!