On 14/10/2015 01:58, Buck Evan wrote:
> open("/tmp/pip-build-qcZXTx/s6/build/temp.linux-x86_64-2.7/etc/leapsecs.dat",
> O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
>
> That is indeed where the leapsecs.dat file lived when the binary was
> compiled, but no longer.
>
> I don't know whether this is meant to be a supported use case or not.
> Regardless, can any of you all think of a workaround I can use, short of
> knowing the installation path at compile time?
You should always give ./configure (for skalibs and other packages) the
*run-time* installation paths. If you want to install the packages into
a staging directory, use the DESTDIR make variable. In your case, for
instance:
./configure # without --prefix: leapsecs.dat will be searched in /etc
make
make DESTDIR=/tmp/pip-build-qcZXTx/s6/build/temp.linux-x86_64-2.7/ install
Your automated build system should give you an environment variable
you can use to define your DESTDIR.
--
Laurent
Received on Wed Oct 14 2015 - 00:39:25 UTC