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

Re: Mac OS libtool / glibtool?

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-08-12 19:37:35 CEST

At 9:41 PM -0700 8/11/03, Justin Erenkrantz wrote:
>--On Monday, August 11, 2003 9:53 AM -0700 Jack Repenning
><jrepenning@collab.net> wrote:
>
>>* Build svn revision X, including shared libraries (no --disable-shared)
>>* Install it (the dynlibs go into /usr/local/lib)
>>* svn update to revision X+n ("n" enough to introduce some incompatibility
>>with the installed libraries) * build
>>
>>At this point, I get failures because the new code doesn't match the
>>/usr/local/lib/*svn*.dynlib APIs.
>
>Hmm. Can you give me a set of versions that causes this? That'd help out.

Versions of which? Hope this has what you wanted:

First build:
* svn co http://svn.collab.net/repos/svn/tags/0.23 4je
* cp -r subversion/apr* subversion/neon 4je
* cd 4je
* autogen.sh
     buildcheck: checking installation...
     buildcheck: autoconf version 2.57 (ok)
     buildcheck: autoheader version 2.57 (ok)
     buildcheck: libtool version 1.4.2 (ok)
     buildcheck: neon version 0.23.9 (ok)
     ...
* ./configure --enable-maintainer-mode
* make
* sudo make install
* ls /usr/local/lib/*svn*
     /usr/local/lib/libsvn_client-1.0.0.0.dylib*
     ...

Second build:
* svn switch http://svn.collab.net/repos/svn/trunk
* make clean
* autogen.sh
* ./configure --enable-maintainer-mode
* make
cd subversion/clients/cmdline && /bin/sh /Users/jrepenning/src/4je/libtool \
     --silent --mode=link gcc -g -Wall -Wmissing-prototypes
-Wstrict-prototypes \
     -Wmissing-declarations -DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG\
      -Wpointer-arith -Wwrite-strings -Wshadow \
     -L/Users/jrepenning/src/4je/apr-util/xml/expat/lib -rpath
/usr/local/lib -o svn \
     add-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o \
     copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o feedback.o help-cmd.o \
      import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o \
     mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o \
     propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o \
     revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o \
     ../../../subversion/libsvn_client/libsvn_client-1.la \
     ../../../subversion/libsvn_wc/libsvn_wc-1.la \
     ../../../subversion/libsvn_ra/libsvn_ra-1.la \
     ../../../subversion/libsvn_delta/libsvn_delta-1.la \
     ../../../subversion/libsvn_subr/libsvn_subr-1.la \
     /Users/jrepenning/src/4je/apr-util/libaprutil-0.la \
     /Users/jrepenning/src/4je/apr-util/xml/expat/lib/libexpat.la \
     /Users/jrepenning/src/4je/apr/libapr-0.la \
     /Users/jrepenning/src/4je/neon/src/libneon.la -L/usr/local/lib -lz
ld: Undefined symbols:
_svn_delta_path_driver
_svn_prop_diffs
_svn_io_files_contents_same_p
_svn_io_set_file_affected_time
_svn_io_dir_make_hidden
_svn_delta_noop_window_handler
make: *** [subversion/clients/cmdline/svn] Error 1

Third build:
* sudo rm /usr/local/lib/*svn*
* make
     works

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 12 19:39:23 2003

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.