[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: location dependencies



On Tue, 23 Feb 1999, Wayne Cuddy wrote:

> I built my first test package a short time ago and all seemed to go well.  I
> have a question about how to solve some location dependencies that exist in a
> few packages that I plan to create.
> 
> When I built my test package I specified to the 'configure' script the
> '--prefix' option was inside my debian directory.  This worked fine for this
> package.  My question is how do I handle it if the package uses this location
> to find libraries and config files at runtime.
> 
> For instance if I specify --prefix=debian/tmp the package will not find it's
> needed files at runtime since this directory only exists when I am creating my
> package.

./configure --prefix=/usr
make
make install DESTDIR=`pwd`/debian/tmp
  or
make install prefix=`pwd`/debian/tmp/usr


Reply to: