gmake problem
This is a discussion about gmake problem in the Everything Linux category; I'm running a program called GEANT4 on my pc, and I've sent a few posts of it already regarding installation problems. When I was installing, a gmake error would always come up, and I finally found out that the configure was trying to find the makefile in the wrong folder.
I'm running a program called GEANT4 on my pc, and I've sent a few posts of it already regarding installation problems. When I was installing, a gmake error would always come up, and I finally found out that the configure was trying to find the makefile in the wrong folder. Now I am trying to execute an example in the program. The README states:
How to start
------------
- compile and link to generate an executable
% cd N06
% gmake
So I type gmake in the terminal, and the following occurs:
[root@localhost N06]# gmake
../../../config/architecture.gmk:273: ../../../config/sys/.gmk: No such file or
directory
Making dependency for file exampleN06.cc...
Making dependency for file src/ExN06VisManager.cc ...
Making dependency for file src/ExN06SteppingVerbose.cc ...
Making dependency for file src/ExN06StackingAction.cc ...
Making dependency for file src/ExN06RunAction.cc ...
Making dependency for file src/ExN06PrimaryGeneratorMessenger.cc ...
Making dependency for file src/ExN06PrimaryGeneratorAction.cc ...
Making dependency for file src/ExN06PhysicsListMessenger.cc ...
Making dependency for file src/ExN06PhysicsList.cc ...
Making dependency for file src/ExN06EventAction.cc ...
Making dependency for file src/ExN06DetectorConstruction.cc ...
gmake: *** No rule to make target `../../../config/sys/.gmk'. Stop.
It seems that a similar problem to what happened during installation is occuring now, only I'm not quite sure and also I wouldn't know how to fix it. Any solutions/suggestions are very greatly appreciated. Thank you!
How to start
------------
- compile and link to generate an executable
% cd N06
% gmake
So I type gmake in the terminal, and the following occurs:
[root@localhost N06]# gmake
../../../config/architecture.gmk:273: ../../../config/sys/.gmk: No such file or
directory
Making dependency for file exampleN06.cc...
Making dependency for file src/ExN06VisManager.cc ...
Making dependency for file src/ExN06SteppingVerbose.cc ...
Making dependency for file src/ExN06StackingAction.cc ...
Making dependency for file src/ExN06RunAction.cc ...
Making dependency for file src/ExN06PrimaryGeneratorMessenger.cc ...
Making dependency for file src/ExN06PrimaryGeneratorAction.cc ...
Making dependency for file src/ExN06PhysicsListMessenger.cc ...
Making dependency for file src/ExN06PhysicsList.cc ...
Making dependency for file src/ExN06EventAction.cc ...
Making dependency for file src/ExN06DetectorConstruction.cc ...
gmake: *** No rule to make target `../../../config/sys/.gmk'. Stop.
It seems that a similar problem to what happened during installation is occuring now, only I'm not quite sure and also I wouldn't know how to fix it. Any solutions/suggestions are very greatly appreciated. Thank you!
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Jul 7
Jul 8
0
2 minutes
Responses to this topic
OP
I am actually sure that the problem is that the problem is the makefile reads from the wrong folder. Rather than: ../../../config/architecture.gmk:273, it is supposed to read from
/home/winn/geant4/geant4.5.2/config/architecture.gmk:273. My problem is I do not know how to change this setting. Any clues?
/home/winn/geant4/geant4.5.2/config/architecture.gmk:273. My problem is I do not know how to change this setting. Any clues?
Have you done this?
Code:
% gmake global
Code:
Installation of Geant4 libraries:% cd geant4/source
% gmake global