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

RE: Can't compile 1.1.1 on OS X ...

From: Karan, Cem \(Civ, ARL/CISD\) <CKaran_at_arl.army.mil>
Date: 2004-11-22 17:42:43 CET

This got asked a while ago, I'm gong to cut and paste my answer from
before...

I just went through this problem, here is how I solved it (I'm running
on a 10.3.6 machine)

DON'T use 1.0.9! Use the lastest source (see my comments below for why)

1) Download the latest stable source release (should be at
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260)
and download the 1.1.1 version (or whatever is the latest).
2) Open the INSTALL file, and read the instructions in section II
INSTALLATION->B. Building the Latest Source under Unix. Follow those
instructions. If you've never installed subversion before, then this is
going to mostly be running the autogen.sh script.
3) Once that script runs, you will be able to correctly run the
configure script, but you may have problems anyways. I solved them by
making everything statically linked, and by enabling maintainer mode
(./configure --enable-maintainer-mode --enable-static) Try the
different ways, it would be interesting to see what happens.
4) run 'make'
5) run 'make check' - not strictly necessary, but if there are any
problems, this will help catch them.
6) run 'make install' - I don't know if you need to be root or not for
this; I installed to a different directory, one where I can delete
everything to get back to my base system.

At this point, everything should be up and running.

A word of caution; the default repository type is the SleepyCat
(Berkeley) Database. Don't use that, it gets corrupted on a horribly
regular basis under OS X (I averaged 3-4 database corruptions per week,
and I'm the only one using this repository/server). Use the FSFS option
when creating a new repository instead, it seems more stable (make lots
of backups though! I don't KNOW that it is any more stable...) Also,
whenever you setup your default editors, don't use pico; it seems to
mangle the default log messages slightly, making your log files look a
little weird.

Good luck,
Cem Karan

> -----Original Message-----
> From: Theo Van Dinter [mailto:felicity@kluge.net]
> Sent: Friday, November 19, 2004 11:57 PM
> To: users@subversion.tigris.org
> Subject: Can't compile 1.1.1 on OS X ...
>
>
> I've been compiling my own svn for a while now, but when
> trying to get 1.1.1 installed, I'm just not getting any love.
> Is there something obvious I'm missing?
>
> % ./configure --with-ssl --with-berkeley-db=/sw
> [...]
> % make
> [...]
> *** Warning: This system can not link to static lib archive
> /Users/felicity/src/subversion-1.1.1/neon/src/libneon.la.
> *** I have the capability to make that library automatically
> link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> ld: warning multiple definitions of symbol _locale_charset
> /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> /sw/lib/libintl.dylib(localcharset.lo) definition of
> _locale_charset [...]
> ld: warning multiple definitions of symbol _locale_charset
> /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
> ld: warning suggest use of -bind_at_load, as lazy binding may
> result in errors or different symbols being used symbol
> _locale_charset used from dynamic library
> /sw/lib/libiconv.dylib(localcharset.o) not from earlier
> dynamic library
> /sw/lib/libintl.1.dylib(localcharset.lo)
> ld: Undefined symbols:
> _svn_cmdline_printf
> _svn_opt_parse_path
> _svn_cmdline_fflush
> _svn_cmdline_fprintf
> _svn_cmdline_fputs
> _svn_delta_version
> _svn_subr_version
> _svn_ver_check_list
> _svn_io_check_special_path
> _svn_sort_compare_paths
> _svn_subst_copy_and_translate2
> _svn_path_is_backpath_present
> _svn_ver_compatible
> _svn_path_component_count
> _svn_path_remove_components
> _svn_stream_copy
> _svn_io_dir_make_sgid
> _svn_io_file_lock2
> _svn_hash_read2
> _svn_hash_read_incremental
> _svn_hash_write2
> _svn_io_file_flush_to_disk
> _svn_txdelta_read_svndiff_window
> _svn_txdelta_skip_svndiff_window _svn_txdelta_target_push
> make: *** [subversion/clients/cmdline/svn] Error 1
>
> --
> Randomly Generated Tagline:
> Guests, like fish, begin to smell about the third day.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 17:44:57 2004

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