Subject: pkg/15417: Build ap-php4 w/Apache 2.0.28 & PHP 4.1.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rrarabie@arabie.org>
List: netbsd-bugs
Date: 01/29/2002 10:36:42
>Number:         15417
>Category:       pkg
>Synopsis:       ap-php4 does not build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 29 09:37:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Randy Arabie
>Release:        NetBSD 1.5.1
>Organization:

>Environment:
AlphaStation 255
		NetBSD 1.5.2
		Apache 2.0.28
		PHP 4.1.1
	
System: NetBSD dumbledore.arabie.org 1.5.2 NetBSD 1.5.2 (DUMBLEDORE) #0: Thu Jan 24 13:23:38 MST 2002 root@dumbledore:/u01/src/sys/arch/alpha/compile/DUMBLEDORE alpha


>Description:
The ap-php4 compile falls over with the following error:

<SNIP>

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... 

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/pkg/bin/apxs follows
cannot open /usr/pkg/build/config_vars.mk: No such file or directory at /usr/pkg/bin/apxs line 246.
configure: error: Aborting
*** Error code 1

</SNIP>

There is no /usr/pkg/build directory and no config_var.mk file.  I created the directory and 'touched' the 
file.  Now the following error occures:

<SNIP>

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... 

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/pkg/bin/apxs follows
apxs:Error: Invalid query string `exec_prefix'.
configure: error: Aborting
*** Error code 1

Stop.
*** Error code 1

</SNIP>

>How-To-Repeat:
Attempt to build ap-php4 from pkgsrc.

>Fix:
None known.
>Release-Note:
>Audit-Trail:
>Unformatted: