Re: DESTDIR install on hppa-hpux

2014-09-19 Thread Todd C. Miller
I recently needed proper DESTDIR support on hppa-hpux and found that the patch in this old thread was never committed. I've updated it for libtool-2.4.2.418 in the hopes that it might be included in a future libtool release. - todd Adds support for DESTDIR on HP-UX with SOM libraries. This is a

Re: DESTDIR install on hppa-hpux #4

2009-07-02 Thread Michael Haubenwallner
On Wed, 2009-07-01 at 16:04 +0200, Michael Haubenwallner wrote: > No problem. It's just that the hpux10.20 box is shot down tomorrow, so I > cannot test this platform any more. The hpux10.20 box finally has been brought down now, and I have less hope to get it up again even for testing only. This

Re: DESTDIR install on hppa-hpux #3

2009-07-01 Thread Michael Haubenwallner
On Tue, 2009-06-30 at 20:35 +0200, Ralf Wildenhues wrote: > Hello Michael, > > I'm pretty short on review time ATM; sorry for not providing a detailed > review. No problem. It's just that the hpux10.20 box is shot down tomorrow, so I cannot test this platform any more. > > * Michael Haubenwalln

Re: DESTDIR install on hppa-hpux #3

2009-06-30 Thread Ralf Wildenhues
Hello Michael, I'm pretty short on review time ATM; sorry for not providing a detailed review. * Michael Haubenwallner wrote on Mon, Jun 29, 2009 at 11:22:31AM CEST: > > Ok, here's the third way of supporting DESTDIR on hppa-hpux, now without > the +cdp linker flag (#2), but using the absolute t

Re: DESTDIR install on hppa-hpux #3

2009-06-29 Thread Michael Haubenwallner
On Wed, 2009-06-24 at 11:25 +0200, Michael Haubenwallner wrote: > On Wed, 2009-05-27 at 00:16 +0200, Michael Haubenwallner wrote: > > Hi, > > > > now I've managed to get 'make install DESTDIR=...' working on > > hppa-hpux10 and hppa-hpux11 with libtool. > > But wait, there's another subtlety: Whe

Re: DESTDIR install on hppa-hpux #3

2009-06-24 Thread Michael Haubenwallner
On Wed, 2009-05-27 at 00:16 +0200, Michael Haubenwallner wrote: > Hi, > > now I've managed to get 'make install DESTDIR=...' working on > hppa-hpux10 and hppa-hpux11 with libtool. But wait, there's another subtlety: When the 'internal name' of a shared library does contain an absolute path instea

Re: DESTDIR install on hppa-hpux

2009-06-19 Thread Michael Haubenwallner
Hi Ralf, On Fri, 2009-06-12 at 21:57 +0200, Michael Haubenwallner wrote: > > > > Hmm. This does open a small security issue, no? > > > > That's precisely the reason we haven't gone this way > > before. > > Asking HP people (or more carefully reading the manpage) does help: The > linker does ha

Re: DESTDIR install on hppa-hpux

2009-06-15 Thread Michael Haubenwallner
On Thu, 2009-06-04 at 23:45 +0200, Ralf Wildenhues wrote: > > > > Another minor one was that there is no need to pass > > > > "+b $install_libdir", as the linker ignores subsequent "+b" values. > > > > > > Erm, libtool has code to merge multiple run path values (and to let > > > ltmain know that

Re: DESTDIR install on hppa-hpux

2009-06-15 Thread Michael Haubenwallner
On Sun, 2009-06-14 at 16:21 +0200, Ralf Wildenhues wrote: > > + Set hardcode_libdir_flag_spec_ld along direct use of $LD only (hpux10). > > ... this line is problematic, because ... Hmm, ... > > @@ -4713,20 +4716,20 @@ _LT_EOF > > > > hpux10*) > >if test "$GCC" = yes && test "$

Re: DESTDIR install on hppa-hpux

2009-06-14 Thread Ralf Wildenhues
Hello Michael, digging slowly through the issues. In this patch, ... * Michael Haubenwallner wrote on Wed, May 27, 2009 at 12:16:59AM CEST: > + Fix DESTDIR install for hppa-hpux10 and hppa-hpux11. > + * libltdl/m4/libtool.m4: Set hardcode_into_libs=yes. > + Set hardcode_minus_L back

Re: DESTDIR install on hppa-hpux

2009-06-12 Thread Michael Haubenwallner
On Thu, 2009-06-04 at 23:45 +0200, Ralf Wildenhues wrote: > * Michael Haubenwallner wrote on Thu, Jun 04, 2009 at 01:35:11PM CEST: > > On Wed, 2009-06-03 at 20:54 +0200, Ralf Wildenhues wrote: > > > > > > The most important part of the fix is already suggested in comments > > > > around 'hardcode_

Re: DESTDIR install on hppa-hpux

2009-06-05 Thread Michael Haubenwallner
On Thu, 2009-06-04 at 23:45 +0200, Ralf Wildenhues wrote: > * Michael Haubenwallner wrote on Thu, Jun 04, 2009 at 01:35:11PM CEST: > > On Wed, 2009-06-03 at 20:54 +0200, Ralf Wildenhues wrote: > > > > > > The most important part of the fix is already suggested in comments > > > > around 'hardcode_

Re: DESTDIR install on hppa-hpux

2009-06-04 Thread Michael Haubenwallner
On Wed, 2009-06-03 at 20:54 +0200, Ralf Wildenhues wrote: > > With this patch, 10 tests ("demo-nofast.test" to "depdemo-unst.test") > > change from SKIP to PASS, and both "Simple DESTDIR install" and "DESTDIR > > with in-package deplibs" (destdir.at) change from "expected failure" to > > "ok", for

Re: DESTDIR install on hppa-hpux

2009-06-04 Thread Ralf Wildenhues
* Michael Haubenwallner wrote on Thu, Jun 04, 2009 at 01:35:11PM CEST: > On Wed, 2009-06-03 at 20:54 +0200, Ralf Wildenhues wrote: > > > > The most important part of the fix is already suggested in comments > > > around 'hardcode_minus_L=yes', as the encoded library path is used as > > > fallback

Re: DESTDIR install on hppa-hpux

2009-06-03 Thread Ralf Wildenhues
Hello Michael, * Michael Haubenwallner wrote on Wed, May 27, 2009 at 12:16:59AM CEST: > > now I've managed to get 'make install DESTDIR=...' working on > hppa-hpux10 and hppa-hpux11 with libtool. Cool. > With this patch, 10 tests ("demo-nofast.test" to "depdemo-unst.test") > change from SKIP to