Skip to content

Commit 1372eb2

Browse files
update FAQ about 'fire: command not found' error
1 parent f224027 commit 1372eb2

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/developing/faq.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,14 @@ Frequent issues and potholes that new collaborators run into while starting thei
33

44
~~~admonish question collapsible=true title="fire: command not found"
55
This error can arise pretty easily but luckily it has a pretty easily solution.
6-
The [current entrypoint script](https://github.com/LDMX-Software/docker/blob/main/entry.sh)
7-
for the development environment[^1] (`ldmx/dev` images)
8-
assume that ldmx-sw is installed into the path at `${LDMX_BASE}/ldmx-sw/install`, so
9-
if any of the following are true, you will see the `fire: command not found` error.
10-
- `LDMX_BASE` is not the full path to the directory containing ldmx-sw.
11-
- The directory with the ldmx-sw source is not named `ldmx-sw`.
12-
- The user configured ldmx-sw to be installed somewhere else with `-DCMAKE_INSTALL_PREFIX=...`.
6+
The environment in the container assumes that ldmx-sw installed into the path
7+
at `path/to/ldmx-sw/install`, so if ldmx-sw is installed somewhere else
8+
(e.g. with `-DCMAKE_INSTALL_PREFIX=...`), then you will see the `fire: command not found`
9+
error.
1310
1411
The `ldmx/pro` images (short for "production") already have a copy of ldmx-sw compiled
1512
and installed into them and so they do not have this path resolution requirement in order
1613
to access the `fire` command.
17-
18-
[^1]: I say "current" because there [is some discussion](https://github.com/LDMX-Software/ldmx-sw/issues/1232)
19-
about re-designing the container interaction to avoid such heavy reliance on the entrypoint in the image.
20-
Avoiding this reliance would make it easier for users to switch between images, but it would
21-
require us to learn a slightly new interaction workflow.
2214
~~~
2315

2416
~~~admonish question collapsible=true title="Compile error: ap_fixed.h: No such file or directory."

0 commit comments

Comments
 (0)