subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: Help with compiling
Date Mon, 08 Apr 2013 10:16:08 GMT
Maureen Barger <mobarger@gmail.com> writes:

> Did svn's build use the right copy of http_log.h?
> How do I check?

If you look at the compile commad for one of the mod_dav_svn files you
should see something like:

$ rm subversion/mod_dav_svn/authz.lo
$ make mod_dav_svn
/bin/sh /home/pm/sw/subversion/obj-1.7/libtool --tag=CC --silent --mode=compile gcc -DLINUX
-D_REENTRANT -D_GNU_SOURCE -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include
-I./subversion -I/usr/local/httpd-2.4/include   -I/usr/local/httpd-2.4/include -I/usr/include/neon
-I/usr/local/serf/include/serf-1  -o subversion/mod_dav_svn/authz.lo -c ../src-1.7/subversion/mod_dav_svn/authz.c

You can manually invoke that same libtool command but change --silent to
-verbose:

$ /bin/sh /home/pm/sw/subversion/obj-1.7/libtool --tag=CC --verbose --mode=compile gcc -DLINUX
-D_REENTRANT -D_GNU_SOURCE -DAPR_POOL_DEBUG=1    -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include
-I./subversion -I/usr/local/httpd-2.4/include   -I/usr/local/httpd-2.4/include -I/usr/include/neon
-I/usr/local/serf/include/serf-1  -o subversion/mod_dav_svn/authz.lo -c ../src-1.7/subversion/mod_dav_svn/authz.c
libtool: compile:  gcc -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAPR_POOL_DEBUG=1 -I/usr/local/httpd-2.4/include
-I../src-1.7/subversion/include -I./subversion -I/usr/local/httpd-2.4/include -I/usr/local/httpd-2.4/include
-I/usr/include/neon -I/usr/local/serf/include/serf-1 -c ../src-1.7/subversion/mod_dav_svn/authz.c
 -fPIC -DPIC -o subversion/mod_dav_svn/.libs/authz.o

You can manually invoke the gcc command but add -save-temps

gcc -save-temps -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAPR_POOL_DEBUG=1 -I/usr/local/httpd-2.4/include
-I../src-1.7/subversion/include -I./subversion -I/usr/local/httpd-2.4/include -I/usr/local/httpd-2.4/include
-I/usr/include/neon -I/usr/local/serf/include/serf-1 -c ../src-1.7/subversion/mod_dav_svn/authz.c
 -fPIC -DPIC -o subversion/mod_dav_svn/.libs/authz.o

Then look for http_log.h in the authz.i file:

$ grep http_log.h authz.i | head -1 
# 1 "/usr/local/httpd-2.4/include/http_log.h" 1

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download

Mime
View raw message