subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maureen Barger <mobar...@gmail.com>
Subject Re: Help with compiling
Date Mon, 08 Apr 2013 15:04:17 GMT
This is very thorough and I thank you, but I am not finding anything
like that in the subversion dir tree.
Daniel, I am also not finding 'You could look for a '#define
AP_HAVE_C99 1' line in files that
http_log.h includes.'

This is my first time compiling from scratch and I appreciate your
patience with me.

On Mon, Apr 8, 2013 at 6:16 AM, Philip Martin
<philip.martin@wandisco.com> wrote:
> 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