[MacPorts] #71826: Fatal error: Root Libraries not found
MacPorts
noreply at macports.org
Mon Jan 13 20:17:31 UTC 2025
#71826: Fatal error: Root Libraries not found
-----------------------------+--------------------
Reporter: emmanuelseyi24 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: root6 |
-----------------------------+--------------------
Changes (by ryandesign):
* keywords: fatal error root file not found =>
* cc: cjones051073, mojca (added)
* type: request => defect
Old description:
> I am trying to run a project with a makefile. I encountered this error.
>
> **fatal error: 'TFile.h' file not found**
>
> This is because the root6 I installed via macport cannot locate where
> root libraries are installed.
>
> I only have **export MANPATH="/opt/local/share/man:$MANPATH"** in my
> bash_profile.
>
> I will appreciate your help please.
New description:
I am trying to run a project with a makefile. I encountered this error.
{{{
fatal error: 'TFile.h' file not found
}}}
This is because the root6 I installed via macport cannot locate where root
libraries are installed.
I only have `export MANPATH="/opt/local/share/man:$MANPATH"` in my
bash_profile.
I will appreciate your help please.
--
Comment:
You can run `port contents root6` to see where it installed TFile.h and
then use an appropriate `-I` flag when compiling (and a corresponding `-L`
flag when linking) your software.
--
Ticket URL: <https://trac.macports.org/ticket/71826#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list