[MacPorts] #22488: wxWidgets(2.8.9&2.9.0) fail to build on 10.6.2&10.5.8
MacPorts
noreply at macports.org
Thu Nov 12 04:58:21 PST 2009
#22488: wxWidgets(2.8.9&2.9.0) fail to build on 10.6.2&10.5.8
-------------------------------+--------------------------------------------
Reporter: haraoka@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: wxWidgets
-------------------------------+--------------------------------------------
Changes (by jmr@…):
* cc: jwa@… (added)
* owner: macports-tickets@… => mww@…
Old description:
> 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
New description:
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
}}}
--
Comment:
Please remember to preview and use WikiFormatting, and to cc the
maintainers.
--
Ticket URL: <http://trac.macports.org/ticket/22488#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list