[MacPorts] #33465: vtk5 +qt4_mac build fails (vtk build with --python upstream bug)

MacPorts noreply at macports.org
Sun Mar 11 14:44:01 PDT 2012


#33465: vtk5 +qt4_mac build fails (vtk build with --python upstream bug)
------------------------------------+---------------------------------------
 Reporter:  v.favrenicolin@…        |       Owner:  adfernandes@…           
     Type:  defect                  |      Status:  new                     
 Priority:  Normal                  |   Milestone:                          
Component:  ports                   |     Version:  2.0.4                   
 Keywords:  vtk5 python             |        Port:  vtk5                    
------------------------------------+---------------------------------------

Comment(by browntroutstream@…):

 Replying to [comment:6 christophe.saintjean@…]:
 > I try the previous fix (Modified Portfile) with the command :
 >           sudo port -o -v install vtk5 +x11 +python27
 >  and the same error occurs ...
 >
 > By changing the link creation command, it works !!!
 >     system "ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/vtk5/work/VTK/bin/
 /opt/local/lib/vtk-5.8"
 >
 > Please provides a general fix.

 So it depends where you put the Portfile that's attached.  For example, if
 you overwrite the main portfile, then I believe your modification
 (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/vtk5/work/VTK/bin/)
 works.  However, it appears that Vincent put it in
 {{{
 /Users/vincent/
 }}}
 I put mine in
 {{{
 /Users/myname/ports/graphics/vtk5
 }}}
 which follows the examples here:
 http://guide.macports.org/chunked/development.local-repositories.html

 As a result, I used:
 {{{
 /opt/local/var/macports/build/_Users_myname_ports_graphics_vtk5/vtk5/work/VTK/bin/
 }}}
 in the symbolic link above.

 This works fine.  So in summary, I used the portfile attached by vincent
 and changed
 {{{
         system "ln -sf
 /opt/local/var/macports/build/_Users_vincent/vtk5/work/VTK/bin/
 /opt/local/lib/vtk-5.8"
 }}}
 to
 {{{
     system "ln -sf
 /opt/local/var/macports/build/_Users_myname_ports_graphics_vtk5/vtk5/work/VTK/bin/
 /opt/local/lib/vtk-5.8"
 }}}
 due to my placement of the Portfile.  This should be automated somehow...

-- 
Ticket URL: <https://trac.macports.org/ticket/33465#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list