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

Problem compiling subversion on hpux 11.23 (Itanium)

From: Andrew Gray <andrew.gray_at_workcoverqld.com.au>
Date: 2007-05-11 05:04:56 CEST

Hi all,
 
I am having problems compiling Subversion on HP-UX 11.23.
Help or advice would be much appreciated. It looks like a
bug to me, but I'm not expert, so it might just be an option
I am not setting somewhere, so see what you think.
 
I have the source for subversion-1.4.3 and subversion-deps-1.4.3,
I have compiled and installed apache 2.2.4 and BerkeleyDB.4.3
 
firstly, when I run the ./configure for subversion, it works
fine except it cannot find the BerkeleyDB, despite me telling
it exactly where it is. This is the command line:
 
[emgcds]:/andy/subversion-1.4.3 # ./configure
--with-apache=/andy/httpd-2.2.4
--with-Berkeley-db=/usr/local/BerkeleyDB.4.3
 
where /andy/httpd-2.2.4 is the source location of apache
(apache is is installed to /opt/apache), and /usr/local/BerkeleyDB.4.3

is where bdb is installed to. The configure message says:
 
configure: WARNING: we have configured without BDB filesystem support

You don't seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL. We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end. You can find the latest version of
Berkeley DB here:
  http://www.sleepycat.com/download/index.shtml
 
Why does configure have trouble finding BerkeleyDB?
It's there, why can't it find it? Any ideas?
 
So I've compiled it anyway, with gmake and gcc 4.1.2,
and got this error:
 
/bin/sh /andy/subversion-1.4.3/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/andy/subversion-1.4.3/neon/src
-I/usr/local/include/neon -I/andy/subversion-1.4.3/apr/include
-I/andy/subversion-1.4.3/apr-util/include -I/usr/local/include -o
subversion/libsvn_subr/xml.lo -c subversion/libsvn_subr/xml.c
cd subversion/libsvn_subr && /bin/sh /andy/subversion-1.4.3/libtool
--tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread
-D_LARGEFILE64_SOURCE -DNE_LFS -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
/andy/subversion-1.4.3/apr-util/libaprutil-0.la -lexpat
/andy/subversion-1.4.3/apr/libapr-0.la -lm -lnsl -lpthread -ldld -lz
gcc: +b: No such file or directory
gcc:
/andy/subversion-1.4.3/apr-util/.libs:/andy/subversion-1.4.3/apr/.libs:/usr/local/apr/lib:
No such file or directory
gmake: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
 
Why is gcc complaining about a directory called "+b",
that just doesn't make sense. Also, why is it
complaining about apr and apr-util directories too?
 
 
Can anyone shed some light on these issues,
1. why can't configure find BerkeleyDB
2. why does gcc complain about a +b directory and
     the apr-utl and apr directories also? ie why does it not
compile?
 
Any ideas anyone? Any help is much appreciated!!
 
- 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.
****************************************************************************
Received on Fri May 11 05:05:52 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.