Re: where does macports installs programs?

2014-07-10 Thread Mojca Miklavec
On Thu, Jul 10, 2014 at 2:48 AM, Fabrizio Salvatore wrote: thanks! I am having a bit of trouble now... I have two macs on which I think I have installed everything in the same way (python27, root5, root5 +python27); on one mac I can use pyROOT with no problem: python Python 2.7.8

Re: where does macports installs programs?

2014-07-10 Thread Chris Jones
On 10/07/14 01:57, Fabrizio Salvatore wrote: Thanks Ryan. I will try that for the unistall. However, it is still puzzling me why I have a different result on the two macs. OK, they have a slightly different OS (10.7.5 the one that works, 10.8.2 the one that does not) but would that be the case?

Re: where does macports installs programs?

2014-07-10 Thread Fabrizio Salvatore
I have wiped the root5 installation and re-installed and for what I can see the two have the exact same root5 installed I was going to re-install python27 too, but there are a lot of dependencies so it might be a pretty complicated business... is there a way to do the uninstall without

Re: where does macports installs programs?

2014-07-10 Thread Ryan Schmidt
On Jul 10, 2014, at 5:13 AM, Fabrizio Salvatore wrote: I have wiped the root5 installation and re-installed and for what I can see the two have the exact same root5 installed I was going to re-install python27 too, but there are a lot of dependencies so it might be a pretty complicated

Re: where does macports installs programs?

2014-07-10 Thread Christopher Jones
Please post the MacPorts build log for ROOT5, from a clean rebuild of the root5 port. Chris On 10 Jul 2014, at 2:26pm, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: I am really unclear what is happening. Both root5 and python27 are exactly identical on the two Macs (I

Re: where does macports installs programs?

2014-07-10 Thread Ryan Ware
On Thu, Jul 10, 2014 at 3:17 AM, Ryan Schmidt ryandes...@macports.org wrote: On Jul 10, 2014, at 5:13 AM, Fabrizio Salvatore wrote: I have wiped the root5 installation and re-installed and for what I can see the two have the exact same root5 installed I was going to re-install python27

Re: where does macports installs programs?

2014-07-10 Thread Ryan Ware
On Thu, Jul 10, 2014 at 8:27 AM, Craig Treleaven ctrelea...@cogeco.ca wrote: At 8:07 AM -0700 7/10/14, Ryan Ware wrote: On Thu, Jul 10, 2014 at 3:17 AM, Ryan Schmidt mailto: ryandes...@macports.orgryandes...@macports.org wrote: On Jul 10, 2014, at 5:13 AM, Fabrizio Salvatore wrote: I

Re: where does macports installs programs?

2014-07-10 Thread Fabrizio Salvatore
Many thanks for all your help! After a complete wipe, update of all outdated ports and a complete re-install now everything works! Thanks again! Fab On 10 Jul 2014, at 16:35, Ryan Ware wrote: On Thu, Jul 10, 2014 at 8:27 AM, Craig Treleaven ctrelea...@cogeco.ca wrote: At 8:07 AM

Re: where does macports installs programs?

2014-07-10 Thread Ryan Schmidt
On Thu, Jul 10, 2014 at 8:27 AM, Craig Treleaven wrote: At 8:07 AM -0700 7/10/14, Ryan Ware wrote: Are there cases where the port can be installed without success? If so, what are those corner cases? I for one am quite happy that builds are repeatable. I've lived in environments where

where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
Hi, I am installing 'root5' using macports and, in order to use it later on, I will have to define a few environment variables that point to where is the location of root5 on my Mac (ROOTSYS, LD_LIBRARY_PATH); is there a way to find out what is the default location where the command: sudo

Re: where does macports installs programs?

2014-07-09 Thread Jeremy Lavergne
After installation, you can run this to find what was installed where by the root port: port contents root5 On Jul 9, 2014, at 17:23, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: sudo port install root5 will install the program?

Re: where does macports installs programs?

2014-07-09 Thread Brandon Allbery
On Wed, Jul 9, 2014 at 5:23 PM, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: I am installing 'root5' using macports and, in order to use it later on, I will have to define a few environment variables that point to where is the location of root5 on my Mac (ROOTSYS,

Re: where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
Hi Brandon, I have seen several posts on using ROOT via macports and I haven't seen anyone complaining about LD_LIBRARY_PATH... the only thing I saw was something about the libPyROOT module not available in root5, and I am just waiting to finish the installation to see if I have the same

Re: where does macports installs programs?

2014-07-09 Thread Christopher Jones
Hi, On 9 Jul 2014, at 10:34pm, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: Hi Brandon, I have seen several posts on using ROOT via macports and I haven't seen anyone complaining about LD_LIBRARY_PATH… The MacPorts build of root5 is a standard ‘prefix’ installation, and

Re: where does macports installs programs?

2014-07-09 Thread Christopher Jones
Hi, the only thing I saw was something about the libPyROOT module not available in root5, and I am just waiting to finish the installation to see if I have the same problem and then sending another cry for help! ;-) PyROOT is available if you install with one of the (non default in

Re: where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
Hi Chris, many thanks for the help! I have run the ports variant root5 command and I have the list that you see below but how do I actually install one of these variants? I would be interested to install the roofit one and whatever is the one which suppirts pyROOT (is it the one with

Re: where does macports installs programs?

2014-07-09 Thread Christopher Jones
Hi, On 9 Jul 2014, at 10:55pm, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: Hi Chris, many thanks for the help! I have run the ports variant root5 command and I have the list that you see below but how do I actually install one of these variants? I would be interested

Re: where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
Many thanks! It worked! Just for completeness: is there a clean way to remove a program installed with 'sudo port install'? Thanks! Fab On 9 Jul 2014, at 22:59, Christopher Jones wrote: Hi, On 9 Jul 2014, at 10:55pm, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: Hi

Re: where does macports installs programs?

2014-07-09 Thread Brandon Allbery
On Wed, Jul 9, 2014 at 8:04 PM, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: Just for completeness: is there a clean way to remove a program installed with 'sudo port install'? sudo port uninstall? (Try `man port` --- there's lots of stuff in there. Also see

Re: where does macports installs programs?

2014-07-09 Thread Ryan Schmidt
On Jul 9, 2014, at 7:04 PM, Fabrizio Salvatore wrote: Many thanks! It worked! Just for completeness: is there a clean way to remove a program installed with 'sudo port install'? Of course; it's one of the key reasons people use MacPorts. Just sudo port uninstall it. This won't uninstall

Re: where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
Thanks! On 10 Jul 2014, at 01:06, Ryan Schmidt wrote: On Jul 9, 2014, at 7:04 PM, Fabrizio Salvatore wrote: Many thanks! It worked! Just for completeness: is there a clean way to remove a program installed with 'sudo port install'? Of course; it's one of the key reasons people use

Re: where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
thanks! I am having a bit of trouble now... I have two macs on which I think I have installed everything in the same way (python27, root5, root5 +python27); on one mac I can use pyROOT with no problem: python Python 2.7.8 (default, Jul 3 2014, 06:00:18) [GCC 4.2.1 Compatible Apple LLVM 4.2

Re: where does macports installs programs?

2014-07-09 Thread Ryan Schmidt
On Jul 9, 2014, at 7:48 PM, Fabrizio Salvatore wrote: I have tried to uninstall root5 on the second mac, to see if by re-installing from scratch solves the problem, but I have the following error: sudo port uninstall root5 --- The following versions of root5 are currently installed:

Re: where does macports installs programs?

2014-07-09 Thread Fabrizio Salvatore
Thanks Ryan. I will try that for the unistall. However, it is still puzzling me why I have a different result on the two macs. OK, they have a slightly different OS (10.7.5 the one that works, 10.8.2 the one that does not) but would that be the case? I have used the same list of commands to do

Re: where does macports installs programs?

2014-07-09 Thread Brandon Allbery
On Wed, Jul 9, 2014 at 8:48 PM, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: on both macs and I have checked that I have /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/libPyROOT.so - /opt/local/libexec/root5/lib/root/libPyROOT.so