[MacPorts] #42454: Fatal error dolfin import
MacPorts
noreply at macports.org
Tue Feb 25 15:43:34 PST 2014
#42454: Fatal error dolfin import
------------------------+----------------------
Reporter: mwathen@… | Owner: sean@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: |
------------------------+----------------------
Comment (by mwathen@…):
Replying to [comment:27 sean@…]:
> Replying to [comment:26 mwathen@…]:
> > Replying to [comment:25 sean@…]:
> > > Ok, let's see what is getting linked in `~/.instant`
> > >
> > > {{{
> > > $ find ~/.instant -name '*.so' -or -name '*.dylib' | xargs otool -L
| grep -i python
> > > }}}
> >
> > I get:
> >
> > /System/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.5)
>
> Ah, finally! For my system, I get
`/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python` so
now we just need to figure out where it's grabbing the system python.
Let's see if FFC or Instant are at fault:
>
> {{{
> $ port contents py27-{ffc,instant} | xargs -I{} grep '#!' /dev/null {}
2>/dev/null | grep -i python
> }}}
I get
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/ffc:#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
/opt/local/bin/ffc:#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/instant-
clean:#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/instant-
showcache:#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Pytho.app/Contents/MacOS/Python
/opt/local/bin/instant-
clean:#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
/opt/local/bin/instant-
showcache:#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Thanks for all the help by the way!!
--
Ticket URL: <https://trac.macports.org/ticket/42454#comment:28>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list