Re: [Pyobjc-dev] Unable to compile universal binary for non-leopard macs
Brought to you by:
ronaldoussoren
|
From: Bruce L. <lic...@gm...> - 2008-01-30 04:14:28
|
Sorry to flood the list with my comments...
I fixed the sh /usr/bin/nidump problem for installing via a binary
package by re-downloading the source code for the bdist_mpkg package
and modifying the tools.py code as follows:
in the get_gid method
replace:
for line in os.popen('/usr/bin/nidump group .'):
fields = line.split(':')
if len(fields) >= 3:
_cache[fields[0]] = int(fields[2])
with:
for line in os.popen('dscl . -list /Groups PrimaryGroupID'):
fields = (line.split(' ',1))
fields[0].strip()
fields[1].strip()
if len(fields) == 2:
_cache[fields[0]] = int(fields[1])
i am not sure if this fix is already out there...
I still haven't been able to get a fully self-contained program, so
any help will still be appreciated...
Thanks,
Bruce
|