[Pyobjc-dev] Compile problems under Leopard
Brought to you by:
ronaldoussoren
|
From: Nathan <nat...@gm...> - 2007-11-21 03:19:32
|
What's the status of Leopard support for pyobjc? I tried searching
the list archives on sourceforge, but apparently they're having some
problems currently.
If this question has been asked a lot, feel free to just point me to
where to start reading. If not, here's the problem I have:
On Leopard, I'm using MacPorts to try to install pyobjc 1.4 ("sudo
port install py-pyobjc"), which fails with:
In file included from Modules/SyncServices/_SyncServices.m:23:
build/codegen/_SyncServices_Enum.inc:49: error:
'ISyncSessionDriverModeFast' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:49: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:49: warning: (near initialization
for 'enum_table[10].value')
build/codegen/_SyncServices_Enum.inc:50: error:
'ISyncSessionDriverModeSlow' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:50: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:50: warning: (near initialization
for 'enum_table[11].value')
build/codegen/_SyncServices_Enum.inc:51: error:
'ISyncSessionDriverModeRefresh' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:51: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:51: warning: (near initialization
for 'enum_table[12].value')
build/codegen/_SyncServices_Enum.inc:52: error:
'ISyncSessionDriverChangeRefused' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:52: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:52: warning: (near initialization
for 'enum_table[13].value')
build/codegen/_SyncServices_Enum.inc:53: error:
'ISyncSessionDriverChangeAccepted' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:53: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:53: warning: (near initialization
for 'enum_table[14].value')
build/codegen/_SyncServices_Enum.inc:54: error:
'ISyncSessionDriverChangeIgnored' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:54: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:54: warning: (near initialization
for 'enum_table[15].value')
build/codegen/_SyncServices_Enum.inc:55: error:
'ISyncSessionDriverChangeError' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:55: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:55: warning: (near initialization
for 'enum_table[16].value')
build/codegen/_SyncServices_Enum.inc:62: error:
'ISyncSessionClientAlreadySyncingError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:62: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:62: warning: (near initialization
for 'enum_table[17].value')
build/codegen/_SyncServices_Enum.inc:63: error:
'ISyncSessionUserCanceledSessionError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:63: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:63: warning: (near initialization
for 'enum_table[18].value')
build/codegen/_SyncServices_Enum.inc:64: error:
'ISyncSessionDriverRegistrationError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:64: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:64: warning: (near initialization
for 'enum_table[19].value')
build/codegen/_SyncServices_Enum.inc:65: error:
'ISyncSessionDriverPullFailureError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:65: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:65: warning: (near initialization
for 'enum_table[20].value')
build/codegen/_SyncServices_Enum.inc:66: error:
'ISyncSessionDriverFatalError' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:66: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:66: warning: (near initialization
for 'enum_table[21].value')
error: command 'gcc' failed with exit status 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyobjc/work/pyobjc-1.4"
&& /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: build/codegen/_SyncServices_Enum.inc:51: warning:
missing initializer
build/codegen/_SyncServices_Enum.inc:51: warning: (near initialization
for 'enum_table[12].value')
build/codegen/_SyncServices_Enum.inc:52: error:
'ISyncSessionDriverChangeRefused' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:52: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:52: warning: (near initialization
for 'enum_table[13].value')
build/codegen/_SyncServices_Enum.inc:53: error:
'ISyncSessionDriverChangeAccepted' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:53: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:53: warning: (near initialization
for 'enum_table[14].value')
build/codegen/_SyncServices_Enum.inc:54: error:
'ISyncSessionDriverChangeIgnored' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:54: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:54: warning: (near initialization
for 'enum_table[15].value')
build/codegen/_SyncServices_Enum.inc:55: error:
'ISyncSessionDriverChangeError' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:55: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:55: warning: (near initialization
for 'enum_table[16].value')
build/codegen/_SyncServices_Enum.inc:62: error:
'ISyncSessionClientAlreadySyncingError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:62: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:62: warning: (near initialization
for 'enum_table[17].value')
build/codegen/_SyncServices_Enum.inc:63: error:
'ISyncSessionUserCanceledSessionError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:63: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:63: warning: (near initialization
for 'enum_table[18].value')
build/codegen/_SyncServices_Enum.inc:64: error:
'ISyncSessionDriverRegistrationError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:64: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:64: warning: (near initialization
for 'enum_table[19].value')
build/codegen/_SyncServices_Enum.inc:65: error:
'ISyncSessionDriverPullFailureError' undeclared here (not in a
function)
build/codegen/_SyncServices_Enum.inc:65: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:65: warning: (near initialization
for 'enum_table[20].value')
build/codegen/_SyncServices_Enum.inc:66: error:
'ISyncSessionDriverFatalError' undeclared here (not in a function)
build/codegen/_SyncServices_Enum.inc:66: warning: missing initializer
build/codegen/_SyncServices_Enum.inc:66: warning: (near initialization
for 'enum_table[21].value')
error: command 'gcc' failed with exit status 1
Warning: the following items did not execute (for py-pyobjc):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: The following dependencies failed to build: py-pyobjc
Error: Status 1 encountered during processing.
|