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

RE: Trouble installing subversion on HPUX 11.23 (Itanium Superdome)

From: Norton, Richard <Richard.Norton_at_lfg.com>
Date: 2007-05-03 17:57:07 CEST

I had a similar problem a couple of months ago, and received some good advice from this list.
 
It seems that some of the dependancies implicit in trying to let a single make from a directory that contains both the subversion code and the subversion-deps code doesn't work all that reliably on HP-UX.
 
If you cd into each of the dependancy directories(apr, apr-util, zlib, etc), and do a make and make install, then it all eventually works.
 
Also, while './configure' may detect an 'install' command somewhere in your path, the install command that is usually available on HP-UX platforms does not accept the same command line arguments that these make commands seems to expect (particularly with respect to the creation of directories.) Look for an install-sh script somewhere in the tree of each dependancy and subversion itself, and add 'INSTALL=path-to-installl-sh' to your ./configure invocation for each dependancy.
 
I've also recently discovered that if you've installed the hpws package (this includes apache, tomcat, webmin, and xmltools), you already have a version of apr & apr-util. You'll want to take care to either remove them, or make sure that all your paths are set up right to get the version of apr/apr-util that you really want. I'm not entirely sure what's involved with that part, as I'm only using svnserve so far. Haven't tried to get http access working yet.
 
Richard

-----Original Message-----
From: Andrew Gray [mailto:andrew.gray@workcoverqld.com.au]
Sent: Thursday, May 03, 2007 2:08 AM
To: users@subversion.tigris.org
Subject: Trouble installing subversion on HPUX 11.23 (Itanium Superdome)

 
Hi All, I am having a nightmare of a time trying to get Subversion working on my HP-UX 11.23 (Itanium - IA64) server.
 
I have got the source code for Subversion 1.3.1 as taken from the HP-UX Porting and Archiving centre ( http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/subversion-1.3.1/)
 
I am trying to compile the source and after long battles have finally got it to compile (I think) using 'make'. However, when running a "make install" I get the following errors at the bottom of the window:
 
...
        /bin/sh /tmp/andy/subversion/subversion-1.3.1/libtool --tag=CC --silent --mode=compile gcc -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -I./subversion/include -I./subversion -I/tmp/andy/subversion/subversion-1.3.1/neon/src -I/usr/local/include/neon -I/tmp/andy/subversion/subversion-1.3.1/apr/include -I/tmp/andy/subversion/subversion-1.3.1/apr-util/include -I/usr/local/BerkeleyDB.4.3/include -I/usr/local/include -o subversion/libsvn_subr/version.lo -c subversion/libsvn_subr/version.c
        /bin/sh /tmp/andy/subversion/subversion-1.3.1/libtool --tag=CC --silent --mode=compile gcc -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -g -O2 -! g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -I./subversion/include -I./subversion -I/tmp/andy/subversion/subversion-1.3.1/neon/src -I/usr/local/include/neon -I/tmp/andy/subversion/subversion-1.3.1/apr/include -I/tmp/andy/subversion/subversion-1.3.1/apr-util/include -I/usr/local/BerkeleyDB.4.3/include -I/usr/local/include -o subversion/libsvn_subr/xml.lo -c subversion/libsvn_subr/xml.c
        cd subversion/libsvn_subr && /bin/sh /tmp/andy/subversion/subversion-1.3.1/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/lib -rpath /usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo constructors.lo c! type.lo date.lo error.lo hash.lo io.lo lock.lo md5.lo nls.lo opt.lo pa th.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo /tmp/andy/subversion/subversion-1.3.1/apr-util/libaprutil-0.la -ldb-4.3 -lexpat /tmp/andy/subversion/subversion-1.3.1/apr/libapr-0.la -lm -lnsl -lpthread -ldld
gcc: +b: No such file or directory
gcc: /tmp/andy/subversion/subversion-1.3.1/apr-util/.libs:/usr/local/BerkeleyDB.4.3/lib:/tmp/andy/subversion/subversion-1.3.1/apr/.libs:/usr/local/apr/lib: No such file or directory
*** Error exit code 1
 
Stop.
[emgcds]:/tmp/andy/subversion/subversion-1.3.1 #

 
I even tried "gmake install", but same problem:
 
...
gmake[2]: Entering directory `/tmp/andy/subversion/subversion-1.3.1/apr-util/xlate'
gmake[3]: Entering directory `/tmp/andy/subversion/subversion-1.3.1/apr-util/xlate'
gmake[3]: Nothing to be done for `local-all'.
gmake[3]: Leaving directory `/tmp/andy/subversion/subversion-1.3.1/apr-util/xlate'
gmake[2]: Leaving directory `/tmp/andy/subversion/subversion-1.3.1/apr-util/xlate'
gmake[2]: Entering directory `/tmp/andy/subversion/subversion-1.3.1/apr-util'
gmake[2]: Leaving directory `/tmp/andy/subversion/subversion-1.3.1/apr-util'
gmake[1]: Leaving directory `/tmp/andy/subversion/subversion-1.3.1/apr-util'
------ completed all in apr-util
------ making all in neon
gmake[1]: Entering directory `/tmp/andy/subversion/subversion-1.3.1/neon'
gmake[2]: Entering directory `/tmp/andy/subversion/subversion-1.3.1/neon/src'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tmp/andy/subversion/subvers! ion-1.3.1/neon/src'
gmake[1]: Leaving directory `/tmp/andy/subversion/subversion-1.3.1/neon'
------ completed all in neon
cd subversion/libsvn_subr && /bin/sh /tmp/andy/subversion/subversion-1.3.1/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/lib -rpath /usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo constructors.lo ctype.lo date.lo error.lo hash.lo io.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo /tmp/andy/subversion/subversion-1.3.1/apr-util/libaprutil-0.la -ldb-4.3 -lexpat /tmp/andy/subversion/subversion-1.3.1/apr/libapr-0.la -lm -lnsl -lpthread -ldld
gcc: +b: No such file or directory
gcc: /tmp/andy/subversion/subv! ersion-1.3.1/apr-util/.libs:/usr/local/BerkeleyDB.4.3/lib:/tmp/andy/su bversion/subversion-1.3.1/apr/.libs:/usr/local/apr/lib: No such file or directory
gmake: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
[emgcds]:/tmp/andy/subversion/subversion-1.3.1 #
 
 
By the way, the porting and archiving centre above had a pre-compiled version of Subversion, but I couldn't find the mod_dav_svn.so library anywhere which was needed for Apache, so I figured I would need to compile it to get that library.
 
Also, I got 1.4.3 compiling also, but had the same problem with the make install command:
...
------ completed install in neon
        cd subversion/libsvn_subr && /bin/sh /tmp/andy/subversion/subversion-1.4.3/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/lib -rpath /usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo compat.lo config.lo config_auth.lo config_file.lo config_win.lo constructors.lo ctype.lo date.lo dso.lo error.lo hash.lo io.lo kitchensink.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo prompt.lo quoprint.lo simple_providers.lo sorts.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 xml.lo /tmp/andy/subversion/subversion-1.4.3/apr-util/libaprutil-0.la -ldb-4.3 -lexpa! t /tmp/andy/subversion/subversion-1.4.3/apr/libapr-0.la -lm -lnsl -lpthread -ldld -lz
gcc: +b: No such file or directory
gcc: /tmp/andy/subversion/subversion-1.4.3/apr-util/.libs:/usr/local/BerkeleyDB.4.3/lib:/tmp/andy/subversion/subversion-1.4.3/apr/.libs:/usr/local/apr/lib: No such file or directory
*** Error exit code 1
 
Stop.
[emgcds]:/tmp/andy/subversion/subversion-1.4.3 #
 
 
I am really struggling to get this working, any help would be much appreciated.
 
Thank you.
 
- Andy Gray
 
 
 
 
 
Andrew Gray - Unix Administrator
Production Support - Business Solutions Division
WorkCover Queensland
E-mail: andrew.gray@workcoverqld.com.au
Ph: +61 7 3006 6413
Fax: +61 7 3006 6424

***************************************************************************

Messages included in this e-mail and any of its attachments are those

of the author unless specifically stated to represent WorkCover Queensland. The contents of this message are to be used for the intended purpose only and are to be kept confidential at all times.

This message may contain privileged information directed only to the intended addressee/s. Accidental receipt of this information should be deleted promptly and the sender notified.

This e-mail has been scanned by Sophos for known viruses.

However, no warranty nor liability is implied in this respect.

****************************************************************************

 

Notice of Confidentiality: **This E-mail and any of its attachments may contain
Lincoln National Corporation proprietary information, which is privileged, confidential,
or subject to copyright belonging to the Lincoln National Corporation family of
companies. This E-mail is intended solely for the use of the individual or entity to
which it is addressed. If you are not the intended recipient of this E-mail, you are
hereby notified that any dissemination, distribution, copying, or action taken in
relation to the contents of and attachments to this E-mail is strictly prohibited
and may be unlawful. If you have received this E-mail in error, please notify the
sender immediately and permanently delete the original and any copy of this E-mail
and any printout. Thank You.**
Received on Thu May 3 17:57:48 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.