Thread: [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.
|
|
From: Ben A. <be...@ar...> - 2007-11-21 03:28:12
|
> What's the status of Leopard support for pyobjc? It's included with the OS, as is Python 2.5.1. -- <http://artins.org/ben> A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? |
|
From: Nathan <nat...@gm...> - 2007-11-21 03:31:15
|
Hmmm, so...then I suppose the bug with Macports is that it's trying to build it as a dependency of py-game at all? Maybe I can modify the py-game portfile myself and remove the pyobjc 1.4 dependency. ~ Nathan On Nov 20, 2007 8:28 PM, Ben Artin <be...@ar...> wrote: > > What's the status of Leopard support for pyobjc? > > It's included with the OS, as is Python 2.5.1. > > -- > > <http://artins.org/ben> > > A: Because it reverses the logical flow of conversation. > Q: Why is top posting frowned upon? > > > |
|
From: Ben A. <be...@ar...> - 2007-11-21 03:41:19
|
> Hmmm, so...then I suppose the bug with Macports is that it's trying to > build it as a dependency of py-game at all? It depends on what the MacPorts policy on such things is; I believe in the past they've always relied on their own build of Python and associated libraries. They may continue doing so on Leopard. The problem that you will run into is that the pyobjc package in MacPorts currently has no maintainer, so if you want to get it changed (for example, by updating it to pyobjc2), you'll probably have to do the work yourself or wait for someone in a similar predicament to do it for you. > Maybe I can modify the py-game portfile myself and remove the pyobjc > 1.4 dependency. That will give you a pygame in MacPorts' package folder rather than the system package folder; this is not the right thing, but it may get you closer to being able to ignore the problem -- or it may not work at all. Depends on how complex pygame is. -- <http://artins.org/ben> "It takes a great deal of bravery to stand up to our enemies, but just as much to stand up to our friends" -- Albus Dumbledore |
|
From: Ronald O. <ron...@ma...> - 2007-11-21 09:46:56
|
On Wednesday, November 21, 2007, at 04:31AM, "Nathan" <nat...@gm...> wrote: >Hmmm, so...then I suppose the bug with Macports is that it's trying to >build it as a dependency of py-game at all? > >Maybe I can modify the py-game portfile myself and remove the pyobjc >1.4 dependency. PyObjC 1.4 does not support Leopard and never will. I have no idea if pygame works with PyObjC 2.0. BTW. AFAIK there is no macports portfile for PyObjC 2.0, and that wouldn't make much sense until PyObjC 2.0 supports Tiger as well. Ronald > >~ Nathan > >On Nov 20, 2007 8:28 PM, Ben Artin <be...@ar...> wrote: >> > What's the status of Leopard support for pyobjc? >> >> It's included with the OS, as is Python 2.5.1. >> >> -- >> >> <http://artins.org/ben> >> >> A: Because it reverses the logical flow of conversation. >> Q: Why is top posting frowned upon? >> >> >> > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Pyobjc-dev mailing list >Pyo...@li... >https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > |
|
From: James R E. <ea...@ba...> - 2007-11-21 15:40:00
Attachments:
smime.p7s
|
On Nov 21, 2007, at 01:46 , Ronald Oussoren wrote: > PyObjC 1.4 does not support Leopard and never will. Are you saying that (1) PyObjC 1.4 will never be installable and usable for developing applications on Leopard, (2) that applications built using PyObjC 1.4 [on Tiger] will not run properly on Leopard, or (3) both? I assume you just meant (1), but if you did mean (3), what problems arise? So far, I've been fortunate enough not to see any issues arise in my 1.4-built targets on Leopard. Is that to be expected, or have I just been lucky/not looking hard enough? Thanks! James -- The embarassing thing is that the salad dressing is outgrossing my films. -- Paul Newman |
|
From: Ronald O. <ron...@ma...> - 2007-11-21 16:04:46
|
On Wednesday, November 21, 2007, at 04:40PM, "James R Eagan" <ea...@ba...> wrote: >On Nov 21, 2007, at 01:46 , Ronald Oussoren wrote: > >> PyObjC 1.4 does not support Leopard and never will. > >Are you saying that (1) PyObjC 1.4 will never be installable and >usable for developing applications on Leopard, (2) that applications >built using PyObjC 1.4 [on Tiger] will not run properly on Leopard, or >(3) both? I meant (1), if you build PyObjC on Tiger it should work on Leopard. Ronald |
|
From: Bill B. <bb...@ma...> - 2007-11-21 18:55:26
|
On Nov 21, 2007, at 8:04 AM, Ronald Oussoren wrote: > I meant (1), if you build PyObjC on Tiger it should work on Leopard. I can confirm that it does work fine across the handful of built PyObjC apps that I have had sitting on my system since Tiger. b.bm |