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

Re: Subversion 1.3 on HP-UX Itanium - install

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-03-23 17:55:10 CET

trunecm@oneonta.edu 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
> exists.
> *** Error exit code 1

That error is reported by the shell. It has been instructed by
someone not to clobber existing files. An I/O redirection would
overwrite the apr.exp file. The shell refused because of the
noclobber option. Try this to illustrate. This is for bash and will
produce a different message than the ksh based shell on your HP-UX

  set -o noclobber
  touch x
  echo > x
  bash: x: cannot overwrite existing file

To me seeing that from configure looks like a bug hiding somewhere in
the configure script or in your environment. I would try again
running the script with 'bash ./configure' because it has probably
seen more testing with that shell.

> this led me to belive that I already have APR and APR-util libraries on
> my system.

Because of my analysis I don't think I would assume that was the problem.

> I was able to find them so I used

But avoiding that section of the code will probably avoid the problem.
But now tripping into a second problem of mixmatched binaries. I
would try to fix the first and compile everything together.

I use the following configure invocation on HP-UX. But I am not using
apache on HP-UX. For me this builds only the clients. That is all I
need. YMMV.

  ./configure \
    --without-berkeley-db \
    --disable-nls \

> ./configure --with-apr=/opt/hpws/apache --with-apr-util=/opt/hpws/apache
> --with-apxs=/opt/hpws/apache/bin/apxs
> ( 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

Trying to match ABIs of precompiled binaries can be tricky. If they
are not all the same it might be impossible. The shipped libraries
were compiled with the HP C compiler. But because that is extra many
people use gcc added onto the system. All kinds of interactions are

Use file on the .o files to determine what ABI they are compiled for,
either 32 or 64 bit, either parisc or ia64. Then set your compile
flags to match.

I suggest compiling everything with the same compiler and with the
same compiler flags. This may mean that you will need to compile all
of the dependent libraries too.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 23 17:56:45 2006

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