snoplus / snoing

New snocave installation method for SNO+. Sno packages fall from the web (sky), i.e. snoing.
Other
5 stars 27 forks source link

snoing rat-4.5.0 on a mac #126

Closed knapik closed 5 years ago

knapik commented 10 years ago

I have a quick question/comment about using snoing for RAT 4.5.0 on Mac OS X

I heard that there is something tricky that has to be done and based on my attempts, it looks like the openmotif library is the issue. I used macports to install openmotif and I have Xm/Xm.h installed under /opt/local/include/

sudo ln -sf /opt/local/include/Xm /usr/OpenMotif/

seemed to do the trick and snoing has moved on from the check for Xm/Xm.h
It is now installing geant4.9.6.p02, so I have some time to kill.

Are there any other issues that people know about?

Thanks, rob

pgjones commented 10 years ago

Hi Rob, this does sometimes cause issues and I think the command you need is ./snoing.py -g geant4.9.6.p02 --Ag "-DMOTIF_INCLUDE_DIR=/usr/OpenMotif/include -DMOTIF_LIBRARIES=/usr/OpenMotif/lib/libXm.dylib" which tells geant4 where open motif resides (it can't find it on macs). I keep an up to date list of mac commands at http://snoplus.pprc.qmul.ac.uk/mac-install however snoing should figure this out automatically - we just haven't had time to make it do so.

pgjones commented 10 years ago

Ah actually I've just noticed you had a new problem, that looks similar. snoing should find open motif if it is on the default compiler path, so I'm a little surprised macports puts it somewhere else. @mjmottram any ideas?

kgilje commented 5 years ago

This issue is deprecated. We no longer support Mac installs with RAT.