Question about enable-absolute-paths option

From: Shengjing Zhu <zhsj_at_debian.org>
Date: Sun, 2 Sep 2018 01:01:17 +0800

Hi,

I intend to package skarnet softwares in Debian. When packaging
execline, I find it produces a lot of binaries with common names. Thus
I want to put them in path like /usr/lib/execline/. As I understand
from the output of `./configure --help`, the `--enable-absolute-paths`
should work for this situation.

But after I build, execlineb still can't find execline binaries that
not in PATH.

I build skalibs 2.7.0.0 with

./configure --dynlibdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH) \
    --libdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH) \
    --includedir=\$${prefix}/include/$(DEB_BUILD_MULTIARCH) \
    --sysdepdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH)/skalibs/sysdeps

build execline 2.5.0.1 with

./configure --dynlibdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH) \
    --libdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH) \
    --includedir=\$${prefix}/include/$(DEB_BUILD_MULTIARCH) \
    --with-sysdeps=/usr/lib/$(DEB_BUILD_MULTIARCH)/skalibs/sysdeps
    --bindir=\$${prefix}/lib/execline \
    --enable-shared --disable-allstatic \
    --enable-absolute-paths

After that, when I try ./execlineb -c if, it fails
execlineb: fatal: unable to exec if: No such file or directory

And it works when I extend my PATH with /usr/lib/execline

Any advice?

Thanks!

-- 
Shengjing Zhu <zhsj_at_debian.org>
GPG Key: 0xCF0E265B7DFBB2F2
Homepage: https://zhsj.me
Received on Sat Sep 01 2018 - 17:01:17 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC