where does macports installs programs?

Christopher Jones jonesc at hep.phy.cam.ac.uk
Wed Jul 9 14:39:25 PDT 2014


Hi,

On 9 Jul 2014, at 10:34pm, Fabrizio Salvatore <p.fabrizio.salvatore at 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 as such does not require ROOTSYS to be set. If you need to access to various bits of information, such as the prefix or standard linker/include paths in Makefiles, you should use ‘root-config5’ instead. e.g.

MacBookPro ~ > root-config5
Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-<feature>] [--arch] [--platform] [--dicttype] [--config] [--features] [--svn-revision] [--python-version] [--ncpu] [--cc] [--cxx] [--f77] [--ld ] [--help]
MacBookPro ~ > root-config5 --prefix
/opt/local/libexec/root5
MacBookPro ~ > root-config5 --libs
-L/opt/local/libexec/root5/lib/root -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lpthread -stdlib=libc++ -lm -ldl
MacBookPro ~ > root-config5 --incdir
/opt/local/libexec/root5/include/root

> 
> 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 root5) python variants. See

 > port variants root5

for details.

Chris

> 
> Thanks!
> 
> Fab
> 
> On 9 Jul 2014, at 22:25, Brandon Allbery wrote:
> 
>> On Wed, Jul 9, 2014 at 5:23 PM, Fabrizio Salvatore <p.fabrizio.salvatore at 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, LD_LIBRARY_PATH); is there a way to find out what is the default location where the command:
>> 
>> I sincerely hope they are not actually telling you to set LD_LIBRARY_PATH; OS X is not Linux and setting that stands a very good chance of breaking things badly.
>> 
>> sudo port install root5
>> 
>> Not beforehand although usually it's /opt/local/bin. `port contents root5` after installing it will show you the paths of all the installed files, though.
>> 
>> -- 
>> brandon s allbery kf8nh                               sine nomine associates
>> allbery.b at gmail.com                                  ballbery at sinenomine.net
>> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
> 
> -- 
> +++++++++++++++++++++++++++++++++++++++++++++++
> Dr Fabrizio Salvatore    |    e-mail: p.f.salvatore at sussex.ac.uk
> Department of Physics and Astronomy, University of Sussex,
> Brighton, Sussex, BN1 9QH, United Kingdom
> Tel.:  +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068
> http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore
> facebook.com/p.fabrizio.salvatore
> https://twitter.com/fabsalva
> +++++++++++++++++++++++++++++++++++++++++++++++
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140709/f018fb58/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140709/f018fb58/attachment.p7s>


More information about the macports-users mailing list