i have been attempting to build svn from a tar ball.
i have downloaded installed all the prerequisites,
apr/apr-util/berkely-db, into a user controlled space. ie not root
controlled or owned.
the build/install of th prerequisites went fine,
the build process of svn went fine.
but the install process of svn pukes on anything that looks at
/usr/lib64, which is probably should as it is owned by root and i am not
installing this as root. i do not wish to install this as root. i can
touch the files in /usr/lib64 and chown them to me which gets me past
the copy portion of the install. the next thing that happens is it
tries to run 'ranlib' on these files. of course this fails as it is
trying to run as me, not as root. if i run the command line 'ranlib
/path_to_/mod_dav_svn.a' as root it succeeds.
(cd /tmp/svn/subversion-1.4.5/subversion/mod_dav_svn; /bin/sh
/tmp/svn/subversion-1.4.5/libtool --tag=CC--silent --mode=relink gcc -g
-O2 -g -O2 -pthread -DNEON_ZLIB -DNEON_SSL -L/XYZ/bin/lib -rpath
/usr/lib64/httpd/modules -avoid-version -module -o mod_dav_svn.la
activity.lo deadprops.lo file_revs.lo liveprops.lo lock.lo log.lo
merge.lo mod_dav_svn.lo replay.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 -lz )
cp .libs/mod_dav_svn.soT /usr/lib64/httpd/modules/mod_dav_svn.so
cp .libs/mod_dav_svn.lai /usr/lib64/httpd/modules/mod_dav_svn.la
cp .libs/mod_dav_svn.a /usr/lib64/httpd/modules/mod_dav_svn.a
ranlib /usr/lib64/httpd/modules/mod_dav_svn.a
ranlib: /usr/lib64/httpd/modules/mod_dav_svn.a: Permission denied
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1
the intended audience for the use of svn is only our local network. i
don't believe that i really need the apache stuff functional. i can see
the configure switch that is supposed to change the httpd.conf file to
disable the mod_dav sections. i don't know if this will stop the
install of this stuff into /usr/lib64
questions:
i wish to build this for general consumption. ie i don't want to go to
20 machines to build svn and update each ones 'local' /usr/lib64
directory. is this possible?
i don't wish to install as root. is there some way to bypass the
/usr/lib64 install sections?
why does it look at /usr/lib64? couldn't it use the
--prefix=<install_root>/lib64 ??
is there a good solution to this or am i missing something completely?
kevin
Received on Wed Oct 24 20:55:10 2007