Opened 15 years ago

Closed 15 years ago

#22488 closed defect (duplicate)

wxWidgets(2.8.9&2.9.0) fail to build on 10.6.2&10.5.8

Reported by: haraoka@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: jyrkiwahlstedt
Port: wxWidgets

Description (last modified by jmroot (Joshua Root))

wxWidgets(2.8.9) & wxWidgets-devel(2.9.0) fail to build on OS X 10.6.2+Xcode 3.2.1 & 10.5.8(ppc)+Xcode3.1.4 Is wxWidgets & wxWidgets-devel now not works? Because wxWidgets cannot do in build, I can not build at pgAdmin3.

on 10.6.2+Xcode3.2.1

% sudo port -dv archive wxWidgets

../src/common/intl.cpp: In static member function 'static int
wxLocale::GetSystemLanguage()':
../src/common/intl.cpp:2060: error: 'smScriptLang' was not declared in
this scope
../src/common/intl.cpp:2060: error: 'GetScriptVariable' was not
declared in this scope
../src/common/intl.cpp:2061: warning: 'GetScriptManagerVariable' is
deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
../src/common/intl.cpp:2061: warning: 'GetScriptManagerVariable' is
deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
make: *** [monodll_intl.o] Error 1


% sudo port -dv archive wxWidgets-devel

DEBUG: Backtrace: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-devel/work/wxWidgets-2.9.0/build"
&& /usr/bin/make -j2 " returned error 2
Command output: ../src/osx/carbon/utils.cpp: In function 'int wxMacDataItem()':
../src/osx/carbon/utils.cpp:638: error: 'm_order' was not declared in this scope
../src/osx/carbon/utils.cpp: At global scope:
../src/osx/carbon/utils.cpp:642: error: expected constructor,
destructor, or type conversion before '::' token
../src/osx/carbon/utils.cpp:646: error: 'wxMacDataItem' is not a class
or namespace
../src/osx/carbon/utils.cpp: In function 'void SetOrder(SInt32)':
../src/osx/carbon/utils.cpp:648: error: 'm_order' was not declared in this scope
../src/osx/carbon/utils.cpp: At global scope:
../src/osx/carbon/utils.cpp:651: error: 'wxMacDataItem' is not a class
or namespace
../src/osx/carbon/utils.cpp:651: error: non-member function 'SInt32
GetOrder()' cannot have cv-qualifier
../src/osx/carbon/utils.cpp: In function 'SInt32 GetOrder()':
../src/osx/carbon/utils.cpp:653: error: 'm_order' was not declared in this scope
../src/osx/carbon/utils.cpp: At global scope:
../src/osx/carbon/utils.cpp:688: error: 'wxMacDataItem' is not a class
or namespace
../src/osx/carbon/utils.cpp:688: error: 'wxMacDataItemBrowserControl'
was not declared in this scope
../src/osx/carbon/utils.cpp:688: error: expected primary-expression
before ',' token
../src/osx/carbon/utils.cpp:689: error: expected primary-expression
before 'const'
../src/osx/carbon/utils.cpp:690: error: expected primary-expression
before 'sortProperty'
../src/osx/carbon/utils.cpp:690: error: initializer expression list
treated as compound expression
../src/osx/carbon/utils.cpp:690: error: expected ',' or ';' before 'const'
../src/osx/carbon/utils.cpp:700: error: 'wxMacDataItem' is not a class
or namespace
../src/osx/carbon/utils.cpp:700: error: 'wxMacDataItemBrowserControl'
was not declared in this scope
../src/osx/carbon/utils.cpp:700: error: expected primary-expression
before ',' token
../src/osx/carbon/utils.cpp:701: error: expected primary-expression
before 'property'
../src/osx/carbon/utils.cpp:702: error: expected primary-expression
before 'itemData'
../src/osx/carbon/utils.cpp:703: error: expected primary-expression
before 'bool'
../src/osx/carbon/utils.cpp:703: error: initializer expression list
treated as compound expression
../src/osx/carbon/utils.cpp:704: error: expected ',' or ';' before '{' token
make: *** [monodll_carbon_utils.o] Error 1
make: *** Waiting for unfinished jobs....

on 10.5.8 on ppc+Xcode 3.1.4

% sudo port -dv archive wxWidgets +universal

native_midi/native_midi_macosx.c: In function 'GetSequenceAudioUnit':
native_midi/native_midi_macosx.c:126: error:
'AudioComponentDescription' undeclared (first use in this function)
native_midi/native_midi_macosx.c:126: error: (Each undeclared
identifier is reported only once
native_midi/native_midi_macosx.c:126: error: for each function it appears in.)
native_midi/native_midi_macosx.c:126: error: syntax error before 'desc'
native_midi/native_midi_macosx.c:127: error: 'desc' undeclared (first
use in this function)
native_midi/native_midi_macosx.c: In function 'GetSequenceAudioUnit':
native_midi/native_midi_macosx.c:126: error:
'AudioComponentDescription' undeclared (first use in this function)
native_midi/native_midi_macosx.c:126: error: (Each undeclared
identifier is reported only once
native_midi/native_midi_macosx.c:126: error: for each function it appears in.)
native_midi/native_midi_macosx.c:126: error: syntax error before 'desc'
native_midi/native_midi_macosx.c:127: error: 'desc' undeclared (first
use in this function)
lipo: can't figure out the architecture type of: /var/tmp//cc9KegTq.out
make: *** [build/native_midi_macosx.lo] Error 1


% sudo port -dv archive wxWidgets-devel +universal

native_midi/native_midi_macosx.c: In function 'GetSequenceAudioUnit':
native_midi/native_midi_macosx.c:126: error:
'AudioComponentDescription' undeclared (first use in this function)
native_midi/native_midi_macosx.c:126: error: (Each undeclared
identifier is reported only once
native_midi/native_midi_macosx.c:126: error: for each function it appears in.)
native_midi/native_midi_macosx.c:126: error: syntax error before 'desc'
native_midi/native_midi_macosx.c:127: error: 'desc' undeclared (first
use in this function)
native_midi/native_midi_macosx.c: In function 'GetSequenceAudioUnit':
native_midi/native_midi_macosx.c:126: error:
'AudioComponentDescription' undeclared (first use in this function)
native_midi/native_midi_macosx.c:126: error: (Each undeclared
identifier is reported only once
native_midi/native_midi_macosx.c:126: error: for each function it appears in.)
native_midi/native_midi_macosx.c:126: error: syntax error before 'desc'
native_midi/native_midi_macosx.c:127: error: 'desc' undeclared (first
use in this function)
lipo: can't figure out the architecture type of: /var/tmp//cchqt1DO.out
make: *** [build/native_midi_macosx.lo] Error 1

Change History (3)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

Please remember to preview and use WikiFormatting, and to cc the maintainers.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

That is not wxWidgets failing on 10.5.8, but libsdl_mixer. You're lucky I recognise the error from #22452, because you truncated the output so much it would be impossible to tell otherwise.

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

And the rest of this is a duplicate of #20952.

Note: See TracTickets for help on using tickets.