[MacPorts] #24751: gspiceui-0.9.99 i386 SL wxWidgets error
#24751: gspiceui-0.9.99 i386 SL wxWidgets error -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gspiceui -------------------------------------+-------------------------------------- I'm trying to port gspiceui to complete the gEDA suite, it uses wxWidgets but I'm getting {{{ /usr/bin/gcc-4.2 -c -O -pipe -I/opt/local/lib/wx/include/mac-unicode- release-2.8 -I/opt/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -arch i386 -I/usr/include -I/usr/X11R6/include -I. utility/iStrCmp.c -o obj/iStrCmp.o In file included from /opt/local/include/wx-2.8/wx/string.h:55, from /opt/local/include/wx-2.8/wx/memory.h:16, from /opt/local/include/wx-2.8/wx/object.h:20, from /opt/local/include/wx-2.8/wx/wx.h:16, from ./utility/iStrCmp.h:29, from utility/iStrCmp.c:19: /opt/local/include/wx-2.8/wx/buffer.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wxCharBuffer' }}} and then a lot of error lines, full output is attached. I'm attaching the actual Portfile too, from what I can see the problem is that iStrCmp.c, a C source file, is using wx/wx.h, that is C++ and this make the build fails. I'm attaching the actual portfile and patches I've used, patcj- iStrCmp.diff isn't actually used. I placed it into "cad" category. Any hint appreciated. -- Ticket URL: <http://trac.macports.org/ticket/24751> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24751: gspiceui-0.9.99 i386 SL wxWidgets error -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gspiceui -------------------------------------+-------------------------------------- Comment(by ryandesign@…): The developers of gspiceui are probable the best ones to contact for assistance in compiling their software. -- Ticket URL: <http://trac.macports.org/ticket/24751#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24751: gspiceui-0.9.99 i386 SL wxWidgets error -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gspiceui -------------------------------------+-------------------------------------- Comment(by and.damore@…): I already did and got no reply until now. -- Ticket URL: <http://trac.macports.org/ticket/24751#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24751: gspiceui-0.9.99 i386 SL wxWidgets error -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gspiceui -------------------------------------+-------------------------------------- Comment(by and.damore@…): The author acknowledged the errors and will fix them mainstream, meanwhile I patched Makefiles and changed name of guilty iStrCmp.[ch] files by hand. Now when building I'm getting lot of undef symbols. I'm attaching updated port archive and full debug output for build fase, here's an excerpt: {{{ /usr/bin/gcc-4.2 -pipe -o ../bin/gspiceui obj/*.o -L/opt/local/lib -L/opt/local/lib -arch i386 -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macu-2.8 -R/opt/local/lib -L/opt/local/lib -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Undefined symbols: "std::cerr", referenced from: __ZSt4cerr$non_lazy_ptr in SpinCtrl.o (maybe you meant: __ZSt4cerr$non_lazy_ptr) "std::cout", referenced from: __ZSt4cout$non_lazy_ptr in CmdBase.o __ZSt4cout$non_lazy_ptr in CmdGnuCapAC.o }}} I'm attaching new archive containing the port directory and full build debug output. -- Ticket URL: <http://trac.macports.org/ticket/24751#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts