Jump to content
Compatible Support Forums

dwinn

Members
  • Content count

    10
  • Joined

  • Last visited

    Never

Everything posted by dwinn

  1. I am so confused by this problem because I know it shouldn't exist. I have installed a program called GEANT4 and spent the past 2 weeks trying to get it to run. Yesterday it did run and today it does not, and I couldn't understand how this is possible. When I would execute an example, I would receive this error: [root@localhost N01]# /root/bin/Linux-g++/exampleN01 /root/bin/Linux-g++/exampleN01: error while loading shared libraries: libG4persistency.so: cannot open shared object file: No such file or directory A friend helped guide me to solve this problem. He told me to enter /root and use emacs to edit .bashrc by adding lines: LD_LIBRARY_PATH=/root/geant4/lib/:$LD_LIBRARY_PATH export LD_LIBRARY_PATH This helped because it told the computer where to find the library. Now when I would execute an example the program ran perfectly. However, I closed the terminal and re-opened it to run into the same problem. The libG4persistency.so file cannot be found, and I thought the problem was fixed so now I don't know what to do and I cannot reach my friend for 2 weeks. Can anyone please provide assistance?
  2. Thank you for your suggestion but the error remained, I am still stumped.
  3. I need to install a histogramming program called Physics Analysis Workstation. After untarring it, however, I could find only one README file that tells me how to run a test of the system. However the test finds errors and I don't know where to begin to fix them. The exact terminal response is: [root@localhost testsuite]# runtest --tool paw WARNING: Couldn't find the global config file. WARNING: Couldn't find tool init file Test Run By winn on Wed Jul 16 11:25:19 2003 Native configuration is i686-pc-linux-gnu === paw tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. WARNING: Couldn't find tool config file for unix, using default. Running ./paw.basic/basic.exp ... FAIL: timeout on <return> test FAIL: timeout on message test Running ./paw.commands/nt_loop.exp ... ERROR: (DejaGnu) proc "paw_cmd {h/file 4 ~/cern/paw/tuple/tuple.hbook}" does not exist. The error code is NONE The info on the error is: no files matched glob pattern "./paw.qp.range/paw*" while executing "glob ./paw.qp.range/paw*" invoked from within "catch "glob ${path}/${pattern}" tmp" === paw Summary === # of unexpected failures 2 Once again, any advice is GREATLY appreciated!
  4. dwinn

    gmake problem

    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!
  5. dwinn

    gmake problem

    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?
  6. I've just successfully installed a library called CLHEP. However, there doesn't seem to be any sort of executible file and I became very confused. How does one open a library on the linux terminal? Thank you.
  7. Your response has been very educational, thank you for explaining how libraries work.
  8. I've run into the following errors when installing. I looked for the solutions online, but because I am a new linux user I may have overlooked them. Please Help me answer at least one of the following questions. 1. I run into this problem while trying to install a program called GEANT4. There's a problem with the MakeFile. It exists, because I've checked over and over again. However, the terminal denies it. Here is the text: Starting installation... ./Configure: line 369: cd: /root/geant4/source: No such file or directory /home/winn/geant4/geant4.5.2/config/scripts gmake: *** No targets specified and no makefile found. Stop. 2. Since the makefile for the previous program is called GNUMakeFile, I decided to download g++ from the GNU website. I have the paid version of RedHat 9.0 so I should already have GNU and the problem never should have come up. Even trying to install the program from GNU, I had difficulty. The text: make[1]: Entering directory `/home/winn/g++/gcc-3.2.3/gcc' make[1]: *** No rule to make target `../libiberty/libiberty.a', needed by `genge nrtl'. Stop. make[1]: Leaving directory `/home/winn/g++/gcc-3.2.3/gcc' make: *** [install-gcc] Error 2 Your help is VERY much appreciated. Thank you!
  9. Thank you you were precisely correct. In the configure I told the program the actual path for the geant installation folder and the installation compiled perfectly. Now i no longer need to worry about installing a second GNU, so both questions are answered!! Thanks again
  10. Hi. I'm sure this is an easy problem for experienced linux users and your help is MOST appreciated. I have configured a program called CLHEP and all tests pass. However my next directive is to type "make install," and here the problem arises. For some reason there is a permission issue on my computer. Can anyone please solve this problem????? The following is direct text of where the problem begins. make[1]: Leaving directory `/home/winn/CLHEP/StdHep/include' for dir in config Utilities Evaluator GenericFunctions Matrix Vector Random RandomObjects Geometry Units HepPDT HepMC HepMC/include StdHep StdHep/include ; do cd $dir ; make install prefix="/usr/local" MKDIR="mkdir -p" ; cd /home/winn/CLHEP ; done make[1]: Entering directory `/home/winn/CLHEP/config' test -d /usr/local/include/CLHEP/config || mkdir -p /usr/local/include/CLHEP/config mkdir: cannot create directory `/usr/local/include/CLHEP': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/winn/CLHEP/config' make[1]: Entering directory `/home/winn/CLHEP/Utilities' test -d /usr/local/include/CLHEP/Utilities || mkdir -p /usr/local/include/CLHEP/Utilities mkdir: cannot create directory `/usr/local/include/CLHEP': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/winn/CLHEP/Utilities' make[1]: Entering directory `/home/winn/CLHEP/Evaluator' test -d /usr/local/include/CLHEP/Evaluator || mkdir -p /usr/local/include/CLHEP/Evaluator mkdir: cannot create directory `/usr/local/include/CLHEP': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/winn/CLHEP/Evaluator' make[1]: Entering directory `/home/winn/CLHEP/GenericFunctions' test -d /usr/local/include/CLHEP/GenericFunctions || mkdir -p /usr/local/include/CLHEP/GenericFunctions Thank you so much!
×