[MacPorts] #17568: inventor fails to build on 10.5.4
#17568: inventor fails to build on 10.5.4 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- The inventor port fails to build on Max OS X Leopard 10.5.4, at least on my MacBook Pro. I encountered several errors: First, bison seems much more strict, as I needed to apply a [http://mlblog.osdir.com/video.info-inventor.devel/2005-01/index.shtml debian patch] to `SoCalcParse.y`. Next, I encountered more iconv fun: {{{ SoText2.c++: In member function 'SbBool SoBitmapFontCache::convertToUCS(uint32_t, const SoMFString&)': SoText2.c++:781: error: invalid conversion from 'const char**' to 'char**' SoText2.c++:781: error: initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)' }}} This can be resolved by removing patches for both `SoText2.c++` and `SoText3.c++`. {{{ /usr/bin/g++ -I/usr/X11R6/include -I/opt/local/include -I. -I../../../lib/database/include -I../../../lib/interaction/include -I../../../lib/nodekits/include -I../../../libSoXt/include -dynamic -fPIC -fno-common -DIVPREFIX=\"/opt/local\" -O -DNDEBUG -c MyTextureEd.c++ MyTextureEd.c++:76:26: error: GL/GLwMDrawA.h: No such file or directory MyTextureEd.c++: In member function '_WidgetRec* MyTextureEditor::buildTexturePaletteWidget(_WidgetRec*)': MyTextureEd.c++:807: error: 'GLwNrgba' was not declared in this scope MyTextureEd.c++:810: error: 'GLwNredSize' was not declared in this scope MyTextureEd.c++:811: error: 'GLwNgreenSize' was not declared in this scope MyTextureEd.c++:812: error: 'GLwNblueSize' was not declared in this scope MyTextureEd.c++:814: error: 'glwMDrawingAreaWidgetClass' was not declared in this scope MyTextureEd.c++:820: error: 'GLwNginitCallback' was not declared in this scope MyTextureEd.c++:822: error: 'GLwNexposeCallback' was not declared in this scope MyTextureEd.c++: In member function 'void MyTextureEditor::openImageDialog()': MyTextureEd.c++:2452: error: 'GLwNrgba' was not declared in this scope MyTextureEd.c++:2453: error: 'GLwNredSize' was not declared in this scope MyTextureEd.c++:2454: error: 'GLwNgreenSize' was not declared in this scope MyTextureEd.c++:2455: error: 'GLwNblueSize' was not declared in this scope MyTextureEd.c++:2456: error: 'glwMDrawingAreaWidgetClass' was not declared in this scope MyTextureEd.c++:2460: error: 'GLwNginitCallback' was not declared in this scope MyTextureEd.c++:2462: error: 'GLwNexposeCallback' was not declared in this scope MyTextureEd.c++: In static member function 'static void MyTextureEditor::glxInitCB(_WidgetRec*, MyTextureEditor*, void*)': MyTextureEd.c++:2562: error: 'GLwNvisualInfo' was not declared in this scope MyTextureEd.c++: In static member function 'static void MyTextureEditor::imageDialogInitCB(_WidgetRec*, MyTextureEditor*, void*)': MyTextureEd.c++:2591: error: 'GLwNvisualInfo' was not declared in this scope make[6]: *** [MyTextureEd.o] Error 1 }}} Apparently the [http://www.nabble.com/arb-install-fails-compile-error- td15640476.html 10.5.2 update it removed the GLwMDrawA.h header]. [http://www.uoregon.edu/~noeckel/LeopardIntelSetup.html This page] details some similar Leopard X11 issues getting XCode to reinstall GLw headers. I'll update the ticket with additional findings as I move forward... -- Ticket URL: <http://trac.macports.org/ticket/17568> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.4 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- Changes (by css@…): * owner: macports-tickets@… => css@… * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.4 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- Comment(by css@…): Ahh, the inclusion of GLw headers [http://lists.apple.com/archives/X11-users/2008/Feb/msg00319.html was a mistake on Apple's part], but that just means we'll have to find another way to work around the problem. I'll have to digest the [http://lists.apple.com/archives/X11-users/2008/Feb/msg00329.html contents of this post] to see if we need to create a new workaround. Do we need a libGLw port consisting of: * http://www.opensource.apple.com/darwinsource/10.5.2/X11server-48/mesa/Mesa-6... -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.5 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.6 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- Comment(by css@…): I'm getting closer! * added new `SoCalcParse.y` patch * removed patches to `SoText2.c++`, `SoText3.c++`, and `TextWrapper.c++`. I'm now down to an iconv link error: {{{ /usr/bin/g++ -L/opt/local/var/macports/build/_Users_Shared_macports_dports_devel_inventor/work/destroot//opt/local/lib -L../../samples/common -L../../../lib -L../../../libSoXt -bind_at_load -multiply_defined suppress -L/usr/X11R6/lib -L/opt/local/lib textomatic.o TextGraph.o TextWrapper.o -lcommon -lInventor -lInventorXt -lXm -lXt -lX11 -lGLU -lGL -liconv -ldl -o textomatic Undefined symbols: "_locale_charset", referenced from: _main in textomatic.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [textomatic] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.6 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- Comment(by css@…): It works! I successfully built inventor on my MacBook Pro and loaded several models into ivview. I don't know the ramifications of the changes when building on Tiger, so I don't want to delete the no-longer-used patches just yet. -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.6 ------------------------------+--------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: inventor ------------------------------+--------------------------------------------- Comment(by css@…): Replying to [comment:4 css@…]:
I'm now down to an iconv link error:
I resolved this link error by adding `-lcharset` to the localrules patch. -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17568: inventor fails to build on 10.5.6 -------------------------------+-------------------------------------------- Reporter: css@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: inventor | -------------------------------+-------------------------------------------- Changes (by css@…): * status: assigned => closed * resolution: => fixed Comment: Committed to r44641. -- Ticket URL: <http://trac.macports.org/ticket/17568#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts