Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Change pathnames / Mac OS

  1. Jul 15, 2011 #1
    Hello,

    I need to install a code on my computer that runs on ROOT and the guy that sent it to me told me that I may have to change some pathnames that are specific to his computer in order for it to work. Now, I do not know how to do that and whenever I cd to the location where I put the Makefile and the folder with the code, I get a bunch of errors.

    Code (Text):
    make: /bin/root-config: Command not found
    make: /bin/root-config: Command not found
    Compiling components...
    g++ -Wall -fPIC -g -W  -c /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C -o /Users/mariosolano/desktop/Test_Beam_Code/bin/Main.o
    /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:4:19: error: TROOT.h: No such file or directory
    /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:5:26: error: TApplication.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Amalgamation.h:12,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:8:
    /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamDataSummary.h:8:17: error: TH1.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamDataSummary.h:10,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Amalgamation.h:12,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:8:
    /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamEvent.h:10:21: error: TObject.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:8:
    /Users/mariosolano/desktop/Test_Beam_Code/src/Amalgamation.h:15:17: error: TH2.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:10:
    /Users/mariosolano/desktop/Test_Beam_Code/src/EventDisplay.h:10:21: error: TCanvas.h: No such file or directory
    /Users/mariosolano/desktop/Test_Beam_Code/src/EventDisplay.h:11:22: error: TGraph2D.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/EventDisplay.h:14,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:10:
    /Users/mariosolano/desktop/Test_Beam_Code/src/Algorithm.h:5:24: error: TStopwatch.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Clipboard.h:14,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Analysis.h:8,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:11:
    /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:11:26: error: Math/Point3D.h: No such file or directory
    /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:13:27: error: Math/Vector3D.h: No such file or directory
    /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:15:21: error: TMinuit.h: No such file or directory
    In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:21,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Clipboard.h:14,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Analysis.h:8,
                     from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:11:
     
    This is part o the error and I am pretty sure that most of what follows are recurring errors. But anyhow, how can I change the pathnames? I am using a Mac OS.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Change pathnames / Mac OS
  1. Chromium OS (Replies: 8)

  2. Programming an os (Replies: 23)

Loading...