[MacPorts] #48558: Unable to install inventor in MacOS 10.8.5

MacPorts noreply at macports.org
Thu Jan 14 21:12:50 PST 2016


#48558: Unable to install inventor in MacOS 10.8.5
-----------------------+----------------------
  Reporter:  david@…   |      Owner:  css@…
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:
      Port:  inventor  |
-----------------------+----------------------

Comment (by css@…):

 Replying to [comment:3 css@…]:
 > Should be an easy fix, I'll take a look.

 Ugh ... it's pervasive:

 {{{
 ./apps/converters/ivdowngrade/main.c++:main(int argc, char *argv[])
 ./apps/demos/drop/drop.c++:main( int, char **argv )
 ./apps/demos/gview/gview.c++:main(int argc, char **argv)
 ./apps/demos/maze/maze.c++:main(int argc, char *argv[])
 ./apps/demos/noodle/noodle.c++:main(int argc, char **argv)
 ./apps/demos/qmorf/qmorf.c++:main(int argc, char **argv)
 ./apps/demos/qmorf/quadCube.c++:main(int argc, char **argv)
 ./apps/demos/qmorf/quadSheet.c++:main(int argc, char **argv)
 ./apps/demos/qmorf/quadSphere.c++:main(int argc, char **argv)
 ./apps/demos/revo/revo.c++:main(int, char **argv)
 ./apps/demos/SceneViewer/SceneViewer.c++:main(int argc, char **argv)
 ./apps/demos/textomatic/textomatic.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/02.1.HelloCone.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/02.2.EngineSpin.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/02.3.Trackball.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/02.4.Examiner.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/03.1.Molecule.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/03.2.Robot.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/03.3.Naming.c++:main(int , char **)
 ./apps/examples/Mentor/CXX/04.1.Cameras.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/04.2.Lights.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/05.1.FaceSet.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/05.2.IndexedFaceSet.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/05.3.TriangleStripSet.c++:main(int, char
 **argv)
 ./apps/examples/Mentor/CXX/05.4.QuadMesh.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/05.5.Binding.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/05.6.TransformOrdering.c++:main(int, char
 **argv)
 ./apps/examples/Mentor/CXX/06.1.Text.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/06.2.Simple3DText.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/06.3.Complex3DText.c++:main(int argc, char
 **argv)
 ./apps/examples/Mentor/CXX/07.1.BasicTexture.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/07.2.TextureCoordinates.c++:main(int , char
 **argv)
 ./apps/examples/Mentor/CXX/07.3.TextureFunction.c++:main(int , char
 **argv)
 ./apps/examples/Mentor/CXX/08.1.BSCurve.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/08.2.UniCurve.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/08.3.BezSurf.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/08.4.TrimSurf.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/09.1.Print.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/09.2.Texture.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/09.3.Search.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/09.4.PickAction.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/09.5.GenSph.c++:main(int, char **)
 ./apps/examples/Mentor/CXX/10.1.addEventCB.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/10.2.setEventCB.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/10.3and4.MotifList.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/10.5.SelectionCB.c++:main(int argc, char
 **argv)
 ./apps/examples/Mentor/CXX/10.6.PickFilterTopLevel.c++:main(int argc, char
 *argv[])
 ./apps/examples/Mentor/CXX/10.7.PickFilterManip.c++:main(int , char
 *argv[])
 ./apps/examples/Mentor/CXX/10.8.PickFilterNodeKit.c++:main(int , char
 *argv[])
 ./apps/examples/Mentor/CXX/11.1.ReadFile.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/11.2.ReadString.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/12.1.FieldSensor.c++:main(int argc, char
 **argv)
 ./apps/examples/Mentor/CXX/12.2.NodeSensor.c++:main(int , char **)
 ./apps/examples/Mentor/CXX/12.3.AlarmSensor.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/12.4.TimerSensor.c++:main(int argc, char
 **argv)
 ./apps/examples/Mentor/CXX/13.1.GlobalFlds.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/13.2.ElapsedTime.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/13.3.TimeCounter.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/13.4.Gate.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/13.5.Boolean.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/13.6.Calculator.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/13.7.Rotor.c++:main(int argc, char **argv)
 ./apps/examples/Mentor/CXX/13.8.Blinker.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/14.1.FrolickingWords.c++:main(int , char
 **argv)
 ./apps/examples/Mentor/CXX/14.2.Editors.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/14.3.Balance.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/15.1.ConeRadius.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/15.2.SliderBox.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/15.3.AttachManip.c++:main(int, char **argv)
 ./apps/examples/Mentor/CXX/15.4.Customize.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/16.1.Overlay.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/16.2.Callback.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/16.3.AttachEditor.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/16.4.OneWindow.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/16.5.Examiner.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/17.1.ColorIndex.c++:main(int , char **argv)
 ./apps/examples/Mentor/CXX/17.2.GLCallback.c++:main(int, char **)
 ./apps/examples/Mentor/CXX/17.3.GLFloor.c++:main(int, char **)
 ./apps/examples/Toolmaker/02.Nodes/newNodes.c++:main(int, char **argv)
 ./apps/examples/Toolmaker/04.Actions/printVolume.c++:main()
 ./apps/examples/Toolmaker/07.Nodekits/jumpingJackKitTest.c++:main(int,
 char **argv)
 ./apps/examples/Toolmaker/07.Nodekits/pyramidKitTest.c++:main(int, char
 **argv)
 ./apps/examples/Toolmaker/08.Manips/newManips.c++:main(int, char **argv)
 ./apps/examples/Toolmaker/09.Highlights/overlayTest.c++:main(int , char
 *argv[])
 ./apps/examples/Toolmaker/09.Highlights/selectionTest.c++:main(int , char
 *argv[])
 ./apps/examples/Toolmaker/10.Components/tumble.c++:main(int argc, char
 *argv[])
 ./apps/examples/Toolmaker/11.Events/eventTest.c++:main(int , char *argv[])
 ./apps/samples/4view/4view.c++:main(int argc, char **argv)
 ./apps/samples/clock/ivclock.c++:main(int argc, char **argv)
 ./apps/samples/ivNodeKitStructure/ivNodeKitStructure.c++:main(int argc,
 char **argv)
 ./apps/samples/ivToInclude/ivToIncludeFile.c++:main(int argc, char **argv)
 ./apps/samples/ivToInclude/testResults.c++:main( int argc, char **argv )
 ./apps/samples/lod/details.c++:main(int argc, char *argv[])
 ./apps/samples/manip/constrainManip.c++:main(int argc, char **argv)
 ./apps/samples/motif/menu.c++:main(unsigned int /*argc*/, char *argv[])
 ./apps/samples/spaceball/spaceball.c++:main(unsigned int, char *argv[])
 ./apps/samples/spaceball/spballViewer.c++:main(unsigned int argc, char
 *argv[])
 ./apps/samples/twoDisplays/example.c++:main(int argc, char *argv[])
 ./apps/samples/vortex/vortex.c++:main(int argc, char **argv)
 ./apps/samples/widgets/componentTest.c++:main(unsigned int argc, char
 *argv[])
 ./apps/tools/ivAddVP/ivAddVP.c++:main(int argc, char **argv)
 ./apps/tools/ivcat/ivcat.c++:main(int argc, char **argv)
 ./apps/tools/ivfix/ivfix.c++:main(int argc, char **argv)
 ./apps/tools/ivinfo/ivinfo.c++:main(int argc, char *argv[])
 ./apps/tools/ivnorm/ivnorm.c++:main(int argc, char **argv)
 ./apps/tools/ivperf/ivperf.c++:main(int argc, char **argv)
 ./apps/tools/ivview/ivview.c++:main(int argc, char **argv)
 ./doc/man/ivman/Main.c++:main(int argc, char *argv[])
 ./lib/database/src/so/engines/SoCalcParse.c++:main()
 }}}

 Maybe I could do something as simple as `reinplace "s|^main|int main|"`?
 It's messy, but I have it almost working. There seems to be a problem with
 the `build.env` not passing the `DYLD_LIBRARY_PATH` variable. That's
 needed by the build process so some of the tools can use the dylib that's
 just been built. I thought this would take care of it:

 {{{
 build.env       DYLD_LIBRARY_PATH=${worksrcpath}/lib IVROOT=${destroot}
 destroot.env    ${build.env}
 }}}

 But apparently not:

 {{{
 (cd .. && ../../../../doc/man/ivman/ivman
 `../../../../doc/man/ivman/makeManDirs SbSphere`) > SbSphere.3iv
 dyld: Library not loaded: /opt/local/lib/libInventor.dylib
   Referenced from:
 /Users/css/.macports/opt/local/var/macports/build/_Users_Shared_macports_dports_devel_inventor/inventor/work/inventor/doc/man/man3/ivm/../../../../doc/man/ivman/ivman
   Reason: image not found
 }}}

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


More information about the macports-tickets mailing list