[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Issues building svn 1.7.6 in non apache mode (module mod_dontdothat)

From: Roman Plessl <roman.plessl_at_oetiker.ch>
Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)

Hi All,

I try to compile and installe the new subversion 1.7.6 using my build
system. I use svnserve as standalone subversion server so my build
is not using the apache bindings.

I got the following compile error for the module mod_dontdothat:

...
/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool
--tag=CC --silent --mode=compile gcc
-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -g -O2 -g -O2 -pthread
-Werror=implicit-function-declaration -I./subversion/include
-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1
-I/usr/pack/subversion-1.7.6-rp/include/apr-1
-I/usr/pack/subversion-1.7.6-rp/include
-I/usr/pack/subversion-1.7.6-rp/include/neon
-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o
tools/server-side/mod_dontdothat/mod_dontdothat.lo -c
tools/server-side/mod_dontdothat/mod_dontdothat.c
tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h:
No such file or directory
tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error:
http_config.h: No such file or directory
tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error:
http_protocol.h: No such file or directory
tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error:
http_request.h: No such file or directory
tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error:
http_log.h: No such file or directory
tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error:
util_filter.h: No such file or directory
tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error:
ap_config.h: No such file or directory
...

I suppose the module mod_dontdothat should be only build with activated
'apache-mod's . Maybe the build target declaration has been forget when
moving the target for subversion 1.7.6.

...
checking for Apache module support via DSO through APXS... no
==================================================================
WARNING: skipping the build of mod_dav_svn
          try using --with-apxs
==================================================================
...

Could you check that?

I have used the attached patch to fix it for myself.

Cheers
Roman

--
Roman Plessl            phone:        +41 (62) 775 9904
OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
Aarweg 15               web:          http://it.oetiker.ch
CH-4600 Olten           switch board: +41 (62) 775 9900

Received on 2012-08-16 09:51:46 CEST

This is an archived mail posted to the Subversion Users mailing list.