Hi All,
I tried to install subversion 1.8.13 on CentOS 6.5. I ran "./configure" and
"make" and there was no problem. When I ran "sudo make install", it failed.
I am not sure how to fix the relink issue. Anyone has the similar
experience and know the solution? Any help is appreciated.
Thanks.
Frank
The error message is copied below for your reference.
#################################
/usr/bin/install -c -d /usr/local/lib
cd subversion/libsvn_subr ; /bin/sh
/data/homes/feifan_liu_nx/r106/workspace/svninstall/subversion-1.8.13/libtool
--mode=install /usr/bin/install -c libsvn_subr-1.la /usr/local/lib/
libsvn_subr-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_subr-1.so.0.0.0
/usr/local/lib/libsvn_subr-1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_subr-1.so.0.0.0
libsvn_subr-1.so.0 || { rm -f libsvn_subr-1.so.0 && ln -s
libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_subr-1.so.0.0.0
libsvn_subr-1.so || { rm -f libsvn_subr-1.so && ln -s
libsvn_subr-1.so.0.0.0 libsvn_subr-1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsvn_subr-1.lai
/usr/local/lib/libsvn_subr-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_subr-1.a
/usr/local/lib/libsvn_subr-1.a
libtool: install: chmod 644 /usr/local/lib/libsvn_subr-1.a
libtool: install: ranlib /usr/local/lib/libsvn_subr-1.a
libtool: finish:
PATH="/data/ndmhce-nas002-0/sge/bin/lx24-amd64:/usr/local/bin:/data/ndmhce-rlx001-0/tools/java/jdk1.7.0_05/bin:/data/ndmhce-rlx001-0/tools/uima/apache-uima-as/bin:/data/ndmhce-clx004-0/users/feifan_liu/Tools/eclipse:/data/ndmhce-nas002-0/sge/bin/lx24-amd64:/usr/local/bin:/data/ndmhce-rlx001-0/tools/java/jdk1.7.0_05/bin:/data/ndmhce-rlx001-0/tools/uima/apache-uima-as/bin:/data/ndmhce-clx004-0/users/feifan_liu/Tools/eclipse:/usr/lib64/qt-3.3/bin:/usr/share/apache-maven/bin:/data/ndmhce-nas002-0/sge/bin/lx24-amd64:/usr/local/bin:/data/ndmhce-rlx001-0/tools/java/jdk1.7.0_05/bin:/data/ndmhce-rlx001-0/tools/uima/apache-uima-as/bin:/data/ndmhce-clx004-0/users/feifan_liu/Tools/eclipse:/usr/local/bin:/bin:/usr/bin:/data/homes/feifan_liu_nx/bin:/data/ndmhce-clx004-0/users/feifan_liu/Tools:/data/ndmhce-clx004-0/users/feifan_liu/Tools/p7zip_9.20.1/bin:/usr/local/sbin:/usr/sbin:/sbin:/data/homes/feifan_liu_nx/bin:/data/ndmhce-clx004-0/users/feifan_liu/Tools:/data/ndmhce-clx004-0/users/feifan_liu/Tools/p7zip_9.20.1/bin:/data/homes/feifan_liu_nx/bin:/data/homes/feifan_liu_nx/bin:/data/ndmhce-clx004-0/users/feifan_liu/Tools:/data/ndmhce-clx004-0/users/feifan_liu/Tools/p7zip_9.20.1/bin:/sbin"
ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
cd subversion/libsvn_delta ; /bin/sh
/data/homes/feifan_liu_nx/r106/workspace/svninstall/subversion-1.8.13/libtool
--mode=install /usr/bin/install -c libsvn_delta-1.la /usr/local/lib/
libsvn_delta-1.la
libtool: warning: relinking 'libsvn_delta-1.la'
libtool: install: (cd
/data/homes/feifan_liu_nx/r106/workspace/svninstall/subversion-1.8.13/subversion/libsvn_delta;
/bin/sh
"/data/homes/feifan_liu_nx/r106/workspace/svninstall/subversion-1.8.13/libtool"
--tag CC --silent --mode=relink gcc -g -O2 -pthread -rpath /usr/local/lib
-version-info 0 -Wl,--no-undefined -o libsvn_delta-1.la cancel.lo compat.lo
compose_delta.lo debug_editor.lo default_editor.lo deprecated.lo
depth_filter_editor.lo editor.lo path_driver.lo svndiff.lo text_delta.lo
version.lo xdelta.lo ../../subversion/libsvn_subr/libsvn_subr-1.la
-laprutil-1 -lapr-1 -lz )
mv: cannot move `libsvn_delta-1.so.0.0.0' to `libsvn_delta-1.so.0.0.0U':
Permission denied
libtool: error: error: relink 'libsvn_delta-1.la' with the above command
before installing it
make: *** [install-fsmod-lib] Error 1
Received on 2015-06-05 20:29:57 CEST