Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 13:34:59 GMT
From:      Alexey Mahotkin <alexm@w-m.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/67974: apache13-modperl does not handle WITHOUT_APACHE_EXPAT properly
Message-ID:  <200406151334.i5FDYxYD041329@www.freebsd.org>
Resent-Message-ID: <200406151340.i5FDeNds090910@freefall.freebsd.org>

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

>Number:         67974
>Category:       ports
>Synopsis:       apache13-modperl does not handle WITHOUT_APACHE_EXPAT properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 13:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Mahotkin
>Release:        4.10-RELEASE
>Organization:
http://www.w-m.ru/
>Environment:
FreeBSD some.machine.org 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
      EXPAT_CONF variable is not added to './configure' arguments when building apache13-modperl.  So, it is not possible to disable builtin expat.  So, XML::Parser is linked with wrong libexpat, and apache segfaults. 

apache13 is ok.  
>How-To-Repeat:
      cd /usr/ports/www/apache13-modperl
      make WITHOUT_APACHE_EXPAT=yes

See that it still says "+ using builtin expat";

>Fix:
      --- Makefile.orig       Tue Jun 15 17:27:28 2004
+++ Makefile    Tue Jun 15 16:17:48 2004
@@ -96,6 +96,7 @@
                --enable-shared=max \
                --activate-module=src/modules/perl/libperl.a \
                --enable-module=perl \
+               ${EXPAT_CONF} \
                ${SUEXEC_CONF}
 
 CFLAGS+=-DDOCUMENT_LOCATION=\\\\\"${DOCUMENT_ROOT}\\\\\" \

>Release-Note:
>Audit-Trail:
>Unformatted:



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