[MacPorts] #17568: inventor fails to build on 10.5.4

MacPorts noreply at macports.org
Sun Dec 7 17:18:51 PST 2008


#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


More information about the macports-tickets mailing list