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

APR library permissions building svn from 1.4.3 tarball

From: Steuard Jensen <steuard_at_slimy.com>
Date: 2007-02-01 20:01:40 CET

I am building svn from the 1.4.3 source tarballs (including the utils
tarball) on Mac OS 10.3.9. For what it's worth, I am installing on top
of a previous 1.3.0 build.

After adding "--disable-keychain" as a flag to the configure script,
"make" ran fine. (That change was based on an archived post from some
developer mailing list or other: there's some Carbon header file in the
wrong place on 10.3.) Running "make install" also works fine. But
when I then run svn, I get the following error:
------------------------------------------------------------
steuard@... (~/Projects/SVN/subversion-1.4.3): svn
dyld: svn can't open library: /usr/local/apr/lib/libaprutil-0.0.dylib
(Permission denied, errno = 13)
Trace/BPT trap
------------------------------------------------------------

The contents of the APR directory turn out to be:
------------------------------------------------------------
steuard@... (~/Projects/SVN/subversion-1.4.3): ls -aFl
/usr/local/apr/lib
total 5792
drwxr-xr-x 21 root admin 714 1 Feb 10:29 ./
drwxr-xr-x 6 root admin 204 20 Jan 2006 ../
-rw------- 1 root admin 7858 1 Feb 10:29 apr.exp
-rw------- 1 root admin 3692 1 Feb 10:29 aprutil.exp
-rwx--x--x 1 root admin 425528 1 Feb 10:29 libapr-0.0.9.12.dylib*
-rwxr-xr-x 1 root admin 425144 31 Jan 17:24 libapr-0.0.9.7.dylib*
lrwxr-xr-x 1 root admin 21 1 Feb 10:29 libapr-0.0.dylib@ ->
libapr-0.0.
9.12.dylib
-rw-r--r-- 1 root admin 511932 1 Feb 10:29 libapr-0.a
lrwxr-xr-x 1 root admin 21 1 Feb 10:29 libapr-0.dylib@ ->
libapr-0.0.9.
12.dylib
-rw------- 1 root admin 836 1 Feb 10:29 libapr-0.la
-rwx--x--x 1 root admin 279784 1 Feb 10:29
libaprutil-0.0.9.12.dylib*
-rwxr-xr-x 1 root admin 279768 31 Jan 17:24
libaprutil-0.0.9.7.dylib*
lrwxr-xr-x 1 root admin 25 1 Feb 10:29 libaprutil-0.0.dylib@
-> libapru
til-0.0.9.12.dylib
-rw-r--r-- 1 root admin 332068 1 Feb 10:29 libaprutil-0.a
lrwxr-xr-x 1 root admin 25 1 Feb 10:29 libaprutil-0.dylib@ ->
libapruti
l-0.0.9.12.dylib
-rw------- 1 root admin 1022 1 Feb 10:29 libaprutil-0.la
-rwxr-xr-x 1 root admin 285456 1 Feb 10:29 libexpat.0.1.0.dylib*
lrwxr-xr-x 1 root admin 20 1 Feb 10:29 libexpat.0.dylib@ ->
libexpat.0.
1.0.dylib
-rw-r--r-- 1 root admin 362144 1 Feb 10:29 libexpat.a
lrwxr-xr-x 1 root admin 20 1 Feb 10:29 libexpat.dylib@ ->
libexpat.0.1.
0.dylib
-rwxr-xr-x 1 root admin 815 1 Feb 10:29 libexpat.la*
------------------------------------------------------------

Changing the ...0.9.12.dylib permissions to match those from the old
0.9.7 install allows svn to run just fine (seemingly so, anyway: I
haven't really tried using it much yet).

I'm assuming that there's just some tweak that needs to be made to the
build scripts to fix this, but I'm sufficiently inexperienced that I'll
leave tracking it down to the experts. (I have included the dev@apr
mailing list here because it's not clear to me whose installation
scripts need tweaking.)

Steuard Jensen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 3 01:15:43 2007

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