-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/15/10 3:52 AM, Chris Rebert wrote:
> I'm trying to install git, which apparently requires svn.
> However, I'm getting what seems to be an expat-related compile error
> when fink tries to build svn:
> 
> # fink install git
> Information about 8180 packages read in 0 seconds.
> The following package will be installed or updated:
>  git
> The following 4 additional packages will be installed:
>  svn-swig-pm5100 svn-swig-pm5100-shlibs svn15-dev svn15-shlibs
> <<<much output elided>>>
> cd subversion/libsvn_subr && /bin/sh
> /sw/src/fink.build/svn-1.6.9-1/subversion-1.6.9/libtool --tag=CC
> --silent --mode=link gcc  -g -O2  -g -O2
> -L/sw/lib/system-openssl/lib -L/sw/lib -Wl,-dead_strip_dylibs
> -L/sw/lib -L/sw/lib -L/sw/lib  -rpath /sw/lib/svn15 -o
> libsvn_subr-1.la  atomic.lo auth.lo cache-inprocess.lo
> cache-memcache.lo cache.lo checksum.lo cmdline.lo compat.lo config.lo
> config_auth.lo config_file.lo config_win.lo constructors.lo ctype.lo
> date.lo deprecated.lo dirent_uri.lo dso.lo error.lo hash.lo io.lo
> iter.lo kitchensink.lo lock.lo log.lo macos_keychain.lo md5.lo
> mergeinfo.lo nls.lo opt.lo path.lo pool.lo prompt.lo properties.lo
> quoprint.lo sha1.lo simple_providers.lo skel.lo sorts.lo sqlite.lo
> ssl_client_cert_providers.lo ssl_client_cert_pw_providers.lo
> ssl_server_trust_providers.lo stream.lo subst.lo svn_base64.lo
> svn_string.lo target.lo time.lo user.lo username_providers.lo utf.lo
> utf_validate.lo validate.lo version.lo win32_crashrpt.lo
> win32_crypto.lo win32_xlate.lo xml.lo /sw/lib/libaprutil.la
> /sw/lib/libexpat.la /sw/lib/libapr.la -lpthread  -lz  -L/sw/lib
> -lsqlite3 -lintl  -framework Security -framework CoreFoundation
> -framework CoreServices
> libtool: link: cannot find the library `/sw/lib/libexpat.la' or
> unhandled argument `/sw/lib/libexpat.la'
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
> ### execution of /var/tmp/tmp.1.YXuhEs failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-svn-1.6.9-1
> (Reading database ... 59299 files and directories currently installed.)
> Removing fink-buildlock-svn-1.6.9-1 ...
> Failed: phase compiling: svn-1.6.9-1 failed
> 
> 
> In case it helps:
> $ fink list expat
> Information about 8180 packages read in 1 seconds.
>      expat            1.95.8-3    C library for parsing XML
>  i   expat-shlibs     1.95.8-3    C library for parsing XML
>  i   expat1           2.0.1-1     C library for parsing XML
>  i   expat1-shlibs    2.0.1-1     C library for parsing XML
> 
> I'm running Mac OS X 10.6.2 and have fink set to 32-bit.
> 
> Thanks,
> Chris
> --
> http://blog.rebertia.com
> 

fink rebuild expat1

You didn't mention it, but you appear to have cleaned out your .la
files.  That gets rid of references to files that exist on 10.5 but not
10.6, but occasionally one really needs such a file.  This isn't a bug
in the svn package, per se, so I've taken the maintainer off of the
recipients.

In general, when one finds such an issue, using

        dpkg -S <foo.la>

will find the package that provides the file, and then

        fink rebuild <foo>

will generate the file, though you may need to go back a step if you get
a failure due to another missing .la file.  Don't use "fink reinstall",
though, as that will restore the prior, potentially broken, file rather
than building it anew against what is currently on the system.
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt5P+IACgkQB8UpO3rKjQ+NnQCgmBkm+nekCH/d1iPp0eU/tr1q
9WYAn3ZQWNUICVye5EEExselG2NQfHgZ
=qoFf
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to