Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

make install libexec fails if configured with --disable-test #1836

Open
j-ogas opened this issue Feb 12, 2024 · 0 comments · May be fixed by #1875
Open

make install libexec fails if configured with --disable-test #1836

j-ogas opened this issue Feb 12, 2024 · 0 comments · May be fixed by #1875
Assignees
Milestone

Comments

@j-ogas
Copy link
Contributor

j-ogas commented Feb 12, 2024

$ ./configure --prefix=$HOME/deleteme --disable-test
[...]
make  install-exec-hook
make[3]: Entering directory `/home/jogas/git/charliecloud'
### re-writing embedded paths ###
for i in /home/jogas/deleteme/bin/ch-convert \
         /home/jogas/deleteme/bin/ch-fromhost \
         /home/jogas/deleteme/bin/ch-image \
         /home/jogas/deleteme/bin/ch-run-oci \
         /home/jogas/deleteme/bin/ch-test \
         /home/jogas/deleteme/lib/charliecloud/base.sh \
         /home/jogas/deleteme/libexec/charliecloud/doctest; \
do \
  sed -Ei -e 's|^(ch_lib ?= ?).+/lib"?$|\1"/home/jogas/deleteme/lib/charliecloud"|' \
          -e 's|^(CHTEST_DIR=).+$|\1/home/jogas/deleteme/libexec/charliecloud|' \
          -e 's|^(CHTEST_EXAMPLES_DIR=).+$|\1/home/jogas/deleteme/share/doc/charliecloud/examples|' \
              $i; \
done
sed: can't read /home/jogas/deleteme/libexec/charliecloud/doctest: No such file or directory
make[3]: *** [install-exec-hook] Error 2
make[3]: Leaving directory `/home/jogas/git/charliecloud'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/home/jogas/git/charliecloud'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/jogas/git/charliecloud'
make: *** [install-recursive] Error 1
@j-ogas j-ogas changed the title bug: charliecloud 0.36: make install hook fails with --disable-test bug: charliecloud 0.36: make install libexec hook fails with --disable-test Feb 12, 2024
@j-ogas j-ogas changed the title bug: charliecloud 0.36: make install libexec hook fails with --disable-test bug: make install libexec hook fails with --disable-test Mar 22, 2024
@reidpr reidpr changed the title bug: make install libexec hook fails with --disable-test make install libexec fails if configured with --disable-test Mar 22, 2024
@reidpr reidpr added this to the 0.38 milestone Mar 22, 2024
@reidpr reidpr linked a pull request Mar 22, 2024 that will close this issue
@reidpr reidpr modified the milestones: 0.38, 0.39 Jun 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants