Trying to install subversion-1.4.2 on a HP rp3410 running HP-UX 11.11v1. When doing the compile it complains about the following:
/opt/bin/install -c -d subversion/bindings/java/javahl/classes
cp: illegal option -- d
Usage: cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file target_file
cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target_directory
cp [-f|-i] [-p] [-S] -R|-r [-e warn|force|ignore] source_directory ... target_directory
/opt/bin/install -c -d subversion/bindings/java/javahl/include
cp: illegal option -- d
Usage: cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file target_file
cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target_directory
cp [-f|-i] [-p] [-S] -R|-r [-e warn|force|ignore] source_directory ... target_directory
Using the following environment variables to do the compile:
GCC Version:
hpsim300.root /tmp/sw/subversion-1.4.2$ $CC --version
gcc (GCC) 3.4.1
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hpsim300.root /tmp/sw/subversion-1.4.2$
Environment Variables:
LDFLAGS=-L/usr/local/lib
FFLAGS=-I/usr/local/include
CC=/opt/gnu/bin/gcc
CXX=/opt/gnu/bin/c++
JAVA_HOME=/opt/java1.5
PLATFORM=hp
CXXFLAGS=-I/opt/gnu/include
CFLAGS=-I/usr/local/include
Configure Options:
./configure --prefix=/usr/local/subversion-1.4.2 \
--with-apr=/usr/local/apr-1.3.8 \
--with-apr-util=/usr/local/apr-util-1.3.8 \
--with-neon=/usr/local/neon-0.29.0 \
--enable-javahl
If after the compile and I ignore the "cp: illegal option - d" and go ahead and do the make the make completes successfully. However when I run the make install it errors out with the following:
hpsim300.root /tmp/sw/subversion-1.4.2$ make install
/opt/bin/install -c -d /usr/local/subversion-1.4.2/lib
cp: illegal option -- d
Usage: cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file target_file
cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target_directory
cp [-f|-i] [-p] [-S] -R|-r [-e warn|force|ignore] source_directory ... target_directory
cd subversion/libsvn_subr ; /bin/sh /tmp/sw/subversion-1.4.2/libtool --mode=install /opt/bin/install -c libsvn_subr-1.la /usr/local/subversion-1.4.2/lib/libsvn_subr-1.la
/opt/bin/install -c .libs/libsvn_subr-1.sl.0.0 /usr/local/subversion-1.4.2/lib/libsvn_subr-1.sl.0.0
cp:/usr/local/subversion-1.4.2/lib/: No such file or directory
(cd /usr/local/subversion-1.4.2/lib && { ln -s -f libsvn_subr-1.sl.0.0 libsvn_subr-1.sl.0 || { rm -f libsvn_subr-1.sl.0 && ln -s libsvn_subr-1.sl.0.0 libsvn_subr-1.sl.0; }; })
/tmp/sw/subversion-1.4.2/libtool[6319]: /usr/local/subversion-1.4.2/lib: not found.
(cd /usr/local/subversion-1.4.2/lib && { ln -s -f libsvn_subr-1.sl.0.0 libsvn_subr-1.sl || { rm -f libsvn_subr-1.sl && ln -s libsvn_subr-1.sl.0.0 libsvn_subr-1.sl; }; })
/tmp/sw/subversion-1.4.2/libtool[6319]: /usr/local/subversion-1.4.2/lib: not found.
chmod 555 /usr/local/subversion-1.4.2/lib/libsvn_subr-1.sl.0.0
chmod: can't access /usr/local/subversion-1.4.2/lib/libsvn_subr-1.sl.0.0
*** Error exit code 1
Stop.
hpsim300.root /tmp/sw/subversion-1.4.2$
I get this error with any version of 1.4.x I try to install on the HP server.
I tried installing 1.5.x or 1.6.x and had no problems. However my users want 1.4.2.
One thing I've noticed in either 1.5.x or 1.6.x I don't get "cp: illegal option - d" when I do the compile even though I'm using the same compile configuration as I did for 1.4.2.
Any help you can give would be greatly appreciated.
Thanks
Jake E. Posey
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2428958
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-09 20:03:58 CET