make install fails for www/mod_fastcgi when using apache2 with the following message: ----------------------- $ make install ===> Installing for mod_fastcgi-2.4.2 ===> Generating temporary packing list ===> Checking if www/mod_fastcgi already installed cd /usr/ports/www/mod_fastcgi/work/mod_fastcgi-2.4.2 ; /usr/local/sbin/apxs -i -a -n fastcgi mod_fastcgi.so /usr/local/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/share/apache2/build/libtool' mod_fastcgi.so /usr/local/libexec/apache2 /usr/local/share/apache2/build/libtool --mode=install cp mod_fastcgi.so /usr/local/libexec/apache2/ cp mod_fastcgi.so /usr/local/libexec/apache2/mod_fastcgi.so cp: mod_fastcgi.so: No such file or directory apxs:Error: Command failed with rc=65536
Having just come across this problem myself it is actually quite easy to fix. The cause of the problem is that mod_fastcgi.so is being created in: /usr/ports/www/mod_fastcgi/work/mod_fastcgi-2.4.2/.lib The very first install command changes to: /usr/ports/www/mod_fastcgi/work/mod_fastcgi-2.4.2 and then attempts to work on mod_fastcgi.so in that directory. To do the install stage yourself: cd /usr/ports/www/mod_fastcgi/work/mod_fastcgi-2.4.2 cp ./.lib/mod_fastcgi.so ./ /usr/local/sbin/apxs -i -a -n fastcgi mod_fastcgi.so Regards, Colin.
State Changed From-To: open->feedback Asked maintainer to investigate
Responsible Changed From-To: freebsd-ports-bugs->lawrance Track
Dear maintainer of port www/mod_fastcgi, can you please investigate this problem report: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/84681 Thanks!
State Changed From-To: feedback->analyzed Maintainer has timed out.
State Changed From-To: analyzed->closed A fix was committed. The installation would have worked had you set WITH_APACHE2.