[MacPorts] #21994: Add py26-mayavi port
MacPorts
noreply at macports.org
Sun Jul 4 05:26:40 PDT 2010
#21994: Add py26-mayavi port
---------------------------------+------------------------------------------
Reporter: jochen@… | Owner: jjstickel@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: py26-mayavi
---------------------------------+------------------------------------------
Comment(by orbeckst@…):
Replying to [comment:3 jjstickel@…]:
> I found a solution by compiling vtk5 against x11 and wxwidgets/wxpython
against gtk+x11.
I was successful in compiling py26-mayavi on Snow Leopard 10.6.4 following
jjstickel's recipe. In summary I did:
{{{
sudo port install py26-wxpython +gtk wxWidgets-python +gtk
sudo port install vtk5 +python26 +x11
}}}
(note that the wx-* packages already contain the patches mentioned in
#24350 so no additional patching required.)
Then I patched the existing py-mayavi2 package with the
py26-mayavi_Portfile.diff patch (downloaded to the /tmp directory) and
build/install:
{{{
cd `port dir py26-mayavi`
sudo patch -p2 < /tmp/py26-mayavi_Portfile.diff
sudo port install py26-mayavi
}}}
This results in a working X11/gtk version of mayavi2 (works as standalone
or import into a running {{{ipython -wthread}}}).
--
Ticket URL: <http://trac.macports.org/ticket/21994#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list