Bug #3756
Make.config in GENIE v3665c
0%
Description
I'm not sure if this the correct place to report this bug; if it's not, please forward it to the responsible party.
When I tried compiling LArSoft at Nevis, I received a large number of error messages of the form:
<products-directory>/genie/v3665c/Linux64bit+2.6-2.5-e2-debug/GENIE_3665/src/make/Make.config: line 6: GENIE_FQ_DIR: command not found
When I look at Make.config, I see variables that are referenced using parenthesis; e.g.:
GENIE_INSTALLATION_PATH=$(GENIE_FQ_DIR)
This is fine if the file is included in a "GNU make" context. However, it appears that it's executed as part of a shell. I use zsh, and in zsh $(thingie) means to execute "thingie", not to substitute the variable; I believe it's the same in bash as well.
When I replaced the parentheses with curly brackets, the variable names were interpreted correctly; e.g.:
GENIE_INSTALLATION_PATH=${GENIE_FQ_DIR}
History
#1 Updated by Lynn Garren almost 8 years ago
- Status changed from New to Closed
This is a known problem with genie. There is supposed to be a new version of genie with the fix for this, but that release is now overdue. The workaround until this is fixed it to edit your Make.config and replace $(GENIE_FQ_DIR) with the full path.