[MacPorts] #24751: gspiceui-0.9.99 i386 SL wxWidgets error

MacPorts noreply at macports.org
Sat May 1 15:08:02 PDT 2010


#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


More information about the macports-tickets mailing list