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

Re: svn 0.14.0: compiling fails on MacOS X

From: Christian Schaffner <schaffner_at_artclip.ch>
Date: 2002-07-28 16:52:54 CEST

Hi Nicholas and List

thank you for your reply.

At 7:56 Uhr -0500 24.7.2002, Nicholas Riley wrote:
>On Wed, Jul 24, 2002 at 02:33:10PM +0200, Christian Schaffner wrote:
>> Any ideas? Any help or tips would be very much appreciated!
>
>I didn't run into this problem compiling. The two problems I ran
>into, building on Mac OS X with Fink, were that apr-config and
>apu-config, --link-ld return the wrong answers:
>
>[p7:5005] ~%apr-config --link-ld
> -L/usr/local/bin -lapr
>[p7:5007] ~%apu-config --link-ld
> -L/usr/local/bin -laprutil

I got the following:
% ./apr-config --link-ld
  -L/sw/src/svn-client-0.14.0-1/subversion-r2667/apr -lapr

This seems correct to me. Am I right?

>and Subversion's configure script (though not Apache's configure
>script) does not recognize db4 includes in .../include/db4, so you
>need to set CPPFLAGS specifically.

Yes, I know. I used:

% printenv CPPFLAGS
-I/sw/include/db4 -I/sw/include

and

% printenv LDFLAGS
-flat_namespace -undefined suppress -L/sw/lib

>Have you tried building APR separately from Subversion?

Yes, I did it today. Result: Same error messages:

% sudo ./configure --prefix=/sw
--mandir=/sw/src/root-svn-client-0.14.0-1/sw/share/man
--infodir=/sw/src/root-svn-client-0.14.0-1/sw/share/info
--with-neon=/sw --with-expat=/sw --with-dbm=db4
--with-berkeley-db=/sw/include/db4:/sw/lib --enable-maintainer-mode
--disable-shared --cache-file=/dev/null
--srcdir=/sw/src/svn-client-0.14.0-1/subversion-r2667/apr

then

% sudo make

which gives:

Making all in network_io/unix
/bin/sh /sw/src/svn-client-0.14.0-1/subversion-r2667/apr/libtool
--silent --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -DHAVE_CONFIG_H -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/sw/include/db4
-I/sw/include -I../../include -I../../include/arch/unix
-I../../include/arch/unix -c sendrecv.c && touch sendrecv.lo
sendrecv.c: In function `apr_sendfile':
sendrecv.c:873: `sendfilevec_t' undeclared (first use in this function)
sendrecv.c:873: (Each undeclared identifier is reported only once
sendrecv.c:873: for each function it appears in.)
sendrecv.c:873: `sfv' undeclared (first use in this function)
sendrecv.c:873: warning: statement with no effect
sendrecv.c:874: parse error before `int'
sendrecv.c:885: `vecs' undeclared (first use in this function)
sendrecv.c:888: `curvec' undeclared (first use in this function)
sendrecv.c:891: `i' undeclared (first use in this function)
sendrecv.c:891: warning: left-hand operand of comma expression has no effect
sendrecv.c:892: `SFV_FD_SELF' undeclared (first use in this function)
sendrecv.c:896: `requested_len' undeclared (first use in this function)
sendrecv.c:914: warning: left-hand operand of comma expression has no effect
sendrecv.c:947: `repeat' undeclared (first use in this function)
sendrecv.c:950: warning: implicit declaration of function `sendfilev'
make[2]: *** [sendrecv.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Any ideas? It would be really great, if somebody could help me here...

Chris.

PS: In response to Ben:

At 8:03 Uhr -0500 24.7.2002, Ben Collins-Sussman wrote:
>Also, do you have older versions of apr-config and apu-config lying
>around your system, like in /usr/local/bin?

No, I couldn't find any other apr-config or apu-config.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 28 19:28:07 2002

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

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