php5 builds fails (cannot stat `sapi/cgi/php': No such file or directory)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Following the guidelines in
I thought I might add PHP5 support to Apache 2. Apache runs fine. Php  
builds without the --with-apxs2 option. However when I added  
'--with-apxs2=/usr/sbin/apxs ' to the Pkgfile the
php build fails ending with:

     [stuff deleted]
     Build complete.
     (It is safe to ignore warnings about tempnam and tmpnam).

     + install -D -m 755 sapi/cgi/php  
     install: cannot stat `sapi/cgi/php': No such file or directory
     =======> ERROR: Building  

It seems other people have had similar problems

Site Timeline