Compatible Support Forums: gmake problem

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

gmake problem

#1 User is offline   dwinn 

  • stranger
  • Group: Members
  • Posts: 10
  • Joined: 26-June 03

Posted 07 July 2003 - 04:39 PM

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!
0

#2 User is offline   dwinn 

  • stranger
  • Group: Members
  • Posts: 10
  • Joined: 26-June 03

Posted 07 July 2003 - 06:21 PM

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?
0

#3 User is offline   Steve Scrimpshire 

  • stranger
  • Group: Members
  • Posts: 11
  • Joined: 24-June 03

Posted 08 July 2003 - 05:41 AM

Have you done this?
Code:
Installation of Geant4 libraries:
% cd geant4/source
% gmake global

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users