[MacPorts] #42454: Fatal error dolfin import

MacPorts noreply at macports.org
Tue Feb 25 16:45:54 PST 2014


#42454: Fatal error dolfin import
------------------------+--------------------
  Reporter:  mwathen@…  |      Owner:  sean@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.1
Resolution:  invalid    |   Keywords:
      Port:             |
------------------------+--------------------
Changes (by sean@…):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:34 mwathen@…]:
 > Replying to [comment:33 sean@…]:
 > > Replying to [comment:32 mwathen@…]:
 > > > Replying to [comment:31 sean@…]:
 > > > > Did you remove ~/.instant before trying again? Also, a few
 questions I should have started with, what's the output of:
 > > > >
 > > > > {{{
 > > > > $ which python
 > > > > $ ls /usr/local
 > > > > }}}
 > > >
 > > >
 > > > I did remove ~/.instant before trying again but it still failed....
 > > >
 > > > I get
 > > >
 > > > `/opt/local/bin/python`
 > > >
 > > > and
 > > >
 > > > `Library  bin      etc      gfortran include  lib      opt
 share    texlive`
 > >
 > > Can you temporarily move `/usr/local` to something like `~/Desktop
 /backup-local`? Then remove `~/.instant`, run `hash -rf`, and then try
 again? As a reminder, putting things in `/usr/local` causes headaches and
 is against the MacPorts guidelines.
 >
 > That made it run fine. How do I make sure MacPorts does not install
 stuff to `/usr/local`?

 Aw yeah! MacPorts never installs anything into `/usr/local`. HomeBrew does
 install stuff there. Also, if you've installed TeXLive or HPC gfortran
 from a .pkg file (not MacPorts) then that would also put stuff there. I
 would recommend installing the equivalent software you had in `/usr/local`
 with MacPorts. For example, to install gfortran, you'll need

 {{{
 $ sudo port install gcc48
 }}}

 And for texlive, I usually install most everything,

 {{{
 $ sudo port install texlive-bibtex-extra texlive-math-extra texlive-
 formats-extra texlive-latex-extra texlive-plain-extra texlive-bin-extra
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42454#comment:35>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list