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

Re: Help with compiling

From: Maureen Barger <mobarger_at_gmail.com>
Date: Mon, 8 Apr 2013 11:04:17 -0400

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_at_wandisco.com> wrote:
> Maureen Barger <mobarger_at_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
Received on 2013-04-08 17:05:12 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.