Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 14:36:56 GMT
From:      "Sergey Al. Safonov" <spoof@spoofa.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103423: Resin2 doesn't correctly install with WITH_APACHE = YES flag
Message-ID:  <200609201436.k8KEaudu014779@www.freebsd.org>
Resent-Message-ID: <200609201440.k8KEeTL5047522@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103423
>Category:       ports
>Synopsis:       Resin2 doesn't correctly install with WITH_APACHE = YES flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 20 14:40:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Al. Safonov
>Release:        5.4
>Organization:
none
>Environment:
FreeBSD test 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu May 12 11:44:08 CEST 2005     root@freebsd-5.ispsystem.net:/usr/src/sys/i386/compile/ISPSYSTEM  i386
>Description:
Hello,

I have found a bug in resin2 port when i compile it with 'WITH_APACHE =
YES' flag in Makefile. The 'make' goes ok, but 'make install' fails with
following message:

----------------------------- make install ---------------------------------
/usr/local/sbin/apxs -i -n caucho -a
/usr/ports/www/resin2/work/resin-2.1.17/src/c/plugin/apache1/mod_caucho.so
[activating module `caucho' in /usr/local/etc/apache/httpd.conf]
cp
/usr/ports/www/resin2/work/resin-2.1.17/src/c/plugin/apache1/mod_caucho.so
/usr/local/libexec/apache/mod_caucho.so
cp:
/usr/ports/www/resin2/work/resin-2.1.17/src/c/plugin/apache1/mod_caucho.so:
No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1
----------------------------- make install ---------------------------------

Seems resin-2.1.17/src/c/plugin/ hasn't 'apache1' directory but it has a
'apache'.
>How-To-Repeat:

>Fix:
Patch that fixes this problem:

--- Makefile.old	Mon Sep 18 19:27:09 2006
+++ Makefile	Mon Sep 18 19:50:00 2006
@@ -141,7 +141,7 @@
 	${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache2/mod_caucho.so
 .endif
 .if (defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES))
-	${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache1/mod_caucho.so
+	${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache/mod_caucho.so
 .endif
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${ECHO_MSG}
>Release-Note:
>Audit-Trail:
>Unformatted:



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