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

subversion-1.3.2 Makefile install directory override problems

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-06-23 00:02:45 CEST

Trying to package up the latest subversion-1.3.2 and I am running into
some installation directory problems. Here is the tail end of the
'make install' with the problem.

  make[1]: Leaving directory `/net/trinity/mnt/a/home/rwp/src/rpms/BUILD/subversion-1.3.2/neon'
  ------ completed install in neon
  /net/trinity/home/rwp/src/rpms/BUILD/subversion-1.3.2/ac-helpers/install-sh -c -d /usr/lib
  cd subversion/libsvn_subr ; /bin/sh /net/trinity/home/rwp/src/rpms/BUILD/subversion-1.3.2/libtool --mode=install /net/trinity/home/rwp/src/rpms/BUILD/subversion-1.3.2/ac-helpers/install-sh -c libsvn_subr-1.la /usr/lib/libsvn_subr-1.la
  /net/trinity/home/rwp/src/rpms/BUILD/subversion-1.3.2/ac-helpers/install-sh -c .libs/libsvn_subr-1.lai /usr/lib/libsvn_subr-1.la
  cp: cannot create regular file `/usr/lib/#inst.6496#': Permission denied
  make: *** [install-fsmod-lib] Error 1
  Bad exit status from /var/tmp/rpm-tmp.15012 (%install)

Why is it trying to install in /usr/lib? I am trying to have it
install everything into a staging directory where it will be packaged
up from there for system installation. This was functioning with
previous versions but I have not determined at what version this
stopped working. I just skipped ahead to the latest today.

I have launched the make install this way. Did I miss a variable?

  make \
    prefix=/var/tmp/subversion-build/usr \
    exec_prefix=/var/tmp/subversion-build/usr \
    bindir=/var/tmp/subversion-build/usr/bin \
    sbindir=/var/tmp/subversion-build/usr/sbin \
    sysconfdir=/var/tmp/subversion-build/etc \
    datadir=/var/tmp/subversion-build/usr/share \
    includedir=/var/tmp/subversion-build/usr/include \
    libdir=/var/tmp/subversion-build/usr/lib \
    libexecdir=/var/tmp/subversion-build/usr/libexec \
    localstatedir=/var/tmp/subversion-build/var \
    sharedstatedir=/var/tmp/subversion-build/usr/com \
    mandir=/var/tmp/subversion-build/usr/share/man \
    infodir=/var/tmp/subversion-build/usr/share/info install

I have been digging through the Makefile* files but have been unable
to determine the root cause of this issue. However it is related to
"local-install: install-lib" which comes from configure.in's
INSTALL_RULES setting. If I remove install-lib from the top level
Makefile then I get past this error so it is releated to that target.
But I have been unable to reduce the problem further.

Any hints as to the problem?

Thanks
Bob

P.S. I am using GNU make 3.81 and running on HP-UX 11.11 using gcc 3.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 23 00:04:23 2006

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.