On Fri, 10 Mar 2006 email@example.com wrote:
> I'm trying to install Subvesion 1.3 on my rx2620 Itanium server
> running HP-UX 11.23.
> If I try ./configure then make and then make install I get the error
> sh: apr.exp: The noclobber option was specified and the file already
> *** Error exit code 1
> this led me to belive that I already have APR and APR-util libraries on
> my system. I was able to find them so I used
> ./configure --with-apr=/opt/hpws/apache --with-apr-util=/opt/hpws/apache
> ( also APACHE is already installed on the system so I used --with-apxs
> option too )
> now I'm getting error while doing make
> ld: Can't find library or mismatched ABI for -lapr-0
> Fatal error.
> *** Error exit code 1
> Can anybody help?
> Thank you so much,
> some info about APACHE on the system
> root>/opt/hpws/apache/bin/apachectl -V
> Server version: Apache/2.0.53 HP-UX_Apache-based_Web_Server
> Server built: Feb 28 2005 01:51:59
> Server's Module Magic Number: 20020903:9
> Architecture: 64-bit
> Server compiled with....
> -D APACHE_MPM_DIR="server/mpm/worker"
> -D APR_HAS_SENDFILE
> -D APR_HAS_MMAP
> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
> -D APR_USE_SYSVSEM_SERIALIZE
> -D APR_USE_PROC_PTHREAD_SERIALIZE
> -D APR_USE_PTHREAD_SERIALIZE
> -D APR_PROCESS_LOCK_IS_GLOBAL
> -D APR_HAS_OTHER_CHILD
> -D AP_HAVE_RELIABLE_PIPED_LOGS
> -D HTTPD_ROOT="/opt/hpws/apache"
> -D DEFAULT_CHROOT_DIR=""
> -D SUEXEC_BIN="/opt/hpws/apache/bin/suexec"
> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
> -D DEFAULT_ERRORLOG="logs/error_log"
> -D AP_TYPES_CONFIG_FILE="conf/mime.types"
> -D SERVER_CONFIG_FILE="conf/httpd.conf"
> root>/opt/hpws/apache/bin/apachectl -l
> Compiled in modules:
Didn't see anyone else reply so I will. We're using Subversion on HPUX
11.11 (11i v1) on an HPPA - hopefully close enough to help.
I interpret the error message you quote to mean, "either problem A has
just occurred, or mutually exclusive problem B has just occurred, and I
refuse to tell you which". What a dumb diagnostic; it needs an extra
stat() call to distinguish the two cases...
Your Apache is 64 bit, so its APR libraries are also 64 bit.
Are you compiling 32 bit Subversion objects, then attempting to link them
with the bundled 64 bit libapr? That will not work, and will result in an
'ABI mismatch'. Note that the HP ANSI C compiler generates 32 bit ILP32
code by default, even when running under a 64 bit HPUX kernel on a 64 bit
Itanium CPU. GCC can generate either, depending on build-time options.
You don't say which compiler(s) you're using. Whichever you are using,
near the beginning of the output of 'configure', you should see the target
that configure has detected. Is it 32 or 64 bit?
If you have both HP's CC and GCC installed, then just to be sure, build
Subversion with the same one that was used to build Apache. I do not know
offhand whether HPUX Itanium GCC and HPUX Itanium HPCC are
link-compatible. Attempting to link objects compiled using the two
different compilers could also be a possible cause of ABI mismatches.
There are two ways to explicitly request that a configure script build 64
bit (LP64) code under HPUX. In order of preference:
1. Specify a 64 bit target to configure. For example we are on HPPA, so we
pass the extra argument 'hppa64-hp-hpux11.11' (just that, no switches) to
configure. Perhaps there is an 'itanium64-hp-hpux11.23' or similar target
that you could use, I don't know; or
2. Pass switches to the compiler which cause it to generate LP64 code. If
using HP's ANSI C compiler, one adds the flag '+DA2.0W' (on HPPA only -
this is what we have used in the past) or apparently '+DD64' (on HPPA or
Itanium, never tested it myself though) to CFLAGS.
I've never seen an Itanium in the silicon, so if the problem appears to
be in any way specific to Itanium then I'm not the person to ask, sorry.
Senior Programmer (UNIX)
TCG Information Systems Pty Ltd
+61 (02) 8303 2407
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Mar 20 05:43:24 2006