Subject: Re: libtool path during install
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Min Sik Kim <minskim@NetBSD.org>
List: tech-pkg
Date: 07/25/2006 07:56:54
On Jul 25, 2006, at 12:38 AM, Joerg Sonnenberger wrote:

> On Mon, Jul 24, 2006 at 05:57:15PM -0700, Min Sik Kim wrote:
>> Hi,
>>
>> When installing a package, pkgsrc sets LIBTOOL to "libtool" instead
>> of its full path, even though 'make show-var VARNAME=LIBTOOL' shows
>> the full path.  Because of this, "make install" fails if the root
>> user does not have "libtool" available in its path (For example,
>> graphics/MesaLib calls ${LIBTOOL} to install libraries at pre- 
>> install).
>>
>> Is this intentional?  If so, why?
>
> Shouldn't the PATH include the wrapper directory which provides the
> libtool wrapper as well?

It does during the build.  But once the root user takes over for  
install (I set SU_CMD=/usr/pkg/bin/sudo /bin/sh -c), it does not work  
any longer.

Regards,
Min