Problem 308 - Installation fails during headers copying stage
Summary: Installation fails during headers copying stage
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 3.2
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2001-10-07 12:21 CEST by Daniel.Strul
Modified: 2001-11-10 10:38 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Daniel.Strul 2001-10-07 12:21:51 CEST
On my system (PC with Rewd Hat Linux), the installation fails when the headers
are copied into an include directory.
Exemple of typical failure:
gmake[1]: *** [includes] Error 2
/opt/geant/config/architecture.gmk:36: /etc/.mk:
No such file or directory

I have tried to track down the source of this problem, and it seems to be
related to the fact that the makefile tries to copy the header from the
subdirectory persistency even when this feature is not available and has not
been requested. In that case, HEP_ODBMS_DIR is not defined, and the line 36 of
architecture.gmk (include $(HEP_ODBMS_DIR)/etc/$(OS).mk) yields this error.

Possible fix (the one I used to bypass this problem):
change line 114 or source/GNUmakefile from

	@for dir in $(SUBDIR4); do (cd $$dir && $(MAKE) $@); done
to

ifdef G4USE_HEPODBMS
	@for dir in $(SUBDIR4); do (cd $$dir && $(MAKE) $@); done
endif
Comment 1 Gabriele Cosmo 2001-10-09 02:27:59 CEST
Thank you for the report. Problem under investigation.
Comment 2 Gabriele Cosmo 2001-11-10 10:38:59 CET
Problem is now fixed. Will be included in the next
public release of December.