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

Re: "gcc: -install_name" error on OSX.2

From: Nathan Florea <n8_f_at_mac.com>
Date: 2002-10-11 19:59:22 CEST

I was hoping it was something obvious. Here is additional information.
  I'm using 10.2.1, to be more precise.

My system:
Darwin the-rev.local. 6.1 Darwin Kernel Version 6.1: Fri Sep 6
23:24:34 PDT 2002; root:xnu/xnu-344.2.obj~2/RELEASE_PPC Power
Macintosh powerpc

I'm trying to build in a different directory than the svn source. The
source is in /usr/local/src/svn and I am trying to build in
/usr/local/src/obj_svn.
The commands I've used:
cd /usr/local/src/svn
./autogen
cd ../obj_svn
../svn/configure --with-apr=/usr/local/apache2
--with-apr-util=/usr/local/apache2
--with-berkeley-db=/usr/local/BerkeleyDB.4.0 --with-ssl
make

Here is a little more context for the error message:
/bin/sh /usr/local/src/obj_svn/libtool --silent --mode=compile gcc
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -O2
-DNEON_ZLIB -DNEON_SSL -I/usr/local/apache2/include
-I../svn/subversion/include -I. -I/usr/local/src/svn/neon/src
-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/include -o subversion/mod_dav_svn/version.lo -c
../svn/subversion/mod_dav_svn/version.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
cd subversion/mod_dav_svn && /bin/sh /usr/local/src/obj_svn/libtool
--silent --mode=link gcc -g -O2 -DNEON_ZLIB -DNEON_SSL
-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/lib -rpath
/usr/local/apache2/modules -o mod_dav_svn.la -avoid-version -module
activity.lo deadprops.lo liveprops.lo log.lo merge.lo mod_dav_svn.lo
repos.lo update.lo util.lo version.lo
../../subversion/libsvn_repos/libsvn_repos-1.la
../../subversion/libsvn_fs/libsvn_fs-1.la
../../subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la
gcc: -install_name only allowed with -dynamiclib
make: *** [subversion/mod_dav_svn/mod_dav_svn.la] Error 1

Thanks for your help.

Nathan

On Friday, October 11, 2002, at 10:48 AM, B. W. Fitzpatrick wrote:

> Nathan Florea <n8_f@mac.com> writes:
>> I'm trying to compile the latest Subversion source (as of 9:00PM on
>> 10/10/2002) under Jaguar on my Mac and I am getting this error:
>> gcc: -install_name only allowed with -dynamiclib
>> make: *** [subversion/mod_dav_svn/mod_dav_svn.la] Error 1
>>
>> I couldn't find this problem in the mailing list and Google didn't
>> help
>> much. Anybody have any suggestions?
>
> Can you give us some more information? Maybe all the commands that you
> tried, or even just paste in your session. Also, the output of uname
> -a wouldn't hurt.
>
> FWIW, I can compile svn on Jaguar with no problems.
>
> -Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 11 21:27:45 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.