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.

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar13.webp

10 Posts
Location -
Joined 2003-06-26
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!

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jul 7
Created
Jul 8
Last Response
0
Likes
2 minutes
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar13.webp

10 Posts
Location -
Joined 2003-06-26
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?

data/avatar/default/avatar25.webp

11 Posts
Location -
Joined 2003-06-24
Have you done this?
Code:
Installation of Geant4 libraries:
% cd geant4/source
% gmake global