Paul Pruett [Fri, Feb 22, 2008 at 07:09:49AM +0000] wrote:
>
> FYI mod_dav port testing for openbsd current almost 4.3beta
>
>
> It compiles, it makes the package, it installs, but fails apachectl
> configtest
>
> using build from current for Feb 20th and current ports for Feb 21,
> again I was unable to use the mod_dav port.
>
>
> # apachectl configtest
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_SetElementHandler'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_Parse'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_ParserFree'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_SetCharacterDataHandler'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_ErrorString'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_ParserCreate'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_SetUserData'
> /usr/sbin/httpd:/usr/lib/apache/modules/mod_dav.so: undefined symbol
> 'XML_GetErrorCode'
> Syntax error on line 276 of /var/www/conf/httpd.conf:
> Cannot load /usr/lib/apache/modules/mod_dav.so into server: Cannot load
> specified object
>
This looks like some expat fallout. Please try the following diff.
Regards,
Bernd
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: Makefile
===================================================================
RCS file: /home/OpenBSD/cvs/ports/www/mod_dav/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile 21 Oct 2007 09:04:59 -0000 1.15
+++ Makefile 22 Feb 2008 07:57:54 -0000
@@ -3,7 +3,7 @@
COMMENT= class 1 and 2 DAV server for the Apache webserver
DISTNAME= mod_dav-1.0.3-1.3.6
-PKGNAME= mod_dav-1.0.3p4
+PKGNAME= mod_dav-1.0.3p5
CATEGORIES= www
MASTER_SITES= http://www.webdav.org/mod_dav/
@@ -26,7 +26,8 @@ MODAPACHE_NAME= dav
MODAPACHE_FILE= ${MODAPACHE_LOCATION}/libdav.so
CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs
+CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
+ --with-expat=/usr
SUBST_VARS= PKGNAME