Add build configuration checks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
New
|
Wishlist
|
Unassigned |
Bug Description
Dirk Zimoch reported:
EPICS 7 could be more verbose in case of configuration errors.
If I try this:
make CROSS_COMPILER_
I do not get an error message complaining about missing configuration files for the "doesnotexist" architecture.
Instead I get:
make[4]: Entering directory `/afs/psi.
perl -CSD ../../src/
perl -CSD ../../src/
-c gcc -s /usr/local/
Usage: bldEnvData.pl [options] configure
-h Help: Print this message
-q Quiet: Only print errors
-o file Output filename, default is envData.c
-t arch Target architecture $(T_A) name
-s os Operating system $(OS_CLASS)
-c comp Compiler class $(CMPLR_CLASS)
/usr/local/
mv asLib_lex.yy.c asLib_lex.c
/usr/local/
mv asLib.tab.c asLib.c
make[4]: *** No rule to make target `../O.Common/
Took me a while to find out that the error was a missing config file.
EPICS is more helpful if the host architecture configuration is missing:
make EPICS_HOST_
configure/
make: *** No rule to make target `configure/
Not nice but points in the correct direction.