* Jeff Blaine wrote on Fri, Sep 22, 2006 at 11:26:07PM CEST:
> I tried DESTDIR.  It doesn't do what I want.  If I specify
> 
>     % ./configure --prefix=/usr/local
>     % make
>     % make install DESTDIR=/blah/blah
> 
> ...then the install process builds out /blah/blah/usr/local.
> We can't use that.
[...]

> 1.  /afs/blah/dest/sun4x_59/local/bison/1875
> 
>     The installed destination for a bison build.  We build
>     everything as follows, and always have:
> 
>         ./configure --prefix=/usr/local
>         make
>         make install prefix=/afs/blah/dest/sun4x_59/local/bison/1875

Try this:
  mkdir -p /blah/blah/usr
  ln -s /afs/blah/dest/sun4x_59/local/bison/1875 /blah/blah/usr/local
  make install DESTDIR=/blah/blah
  rm -r /blah/blah/usr

Does that do what you want?

Does your setup otherwise respect all the limitations I outlined in this
message: http://lists.gnu.org/archive/html/libtool/2006-09/msg00066.html
IOW: are there no deplibs of the to-be-installed programs and libraries
that are not accessible through /usr/local/lib but only through
/afs/blah/dest/sun4x_59/local/bison/1875/lib?

If no, then the above sequence should be a decent workaround for the
current restriction that at `make install' time, the string
`$(DESTDIR)$(prefix)' has to end in the value of `$(prefix)' at `make'
time.

Hope that helps.

Cheers,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to