soarpenguin / python-multiprocessing

Automatically exported from code.google.com/p/python-multiprocessing
Other
0 stars 0 forks source link

Compilation fails on MacPorts Python 2.4.6 + Mac OSX 10.6 (Snow Leoppard) #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install latest MacPorts Python 2.4.6
2. Install setuptools
3. "easy_install multiprocessing"

Here's the console output :

[prompt]$ easy_install multiprocessing
Searching for multiprocessing
Reading http://pypi.python.org/simple/multiprocessing/
Reading http://code.google.com/p/python-multiprocessing
Best match: multiprocessing 2.6.2.1
Downloading 
http://pypi.python.org/packages/source/m/multiprocessing/multiprocessing-2.6.2.1
.tar.gz#md5=5cc484396c040102116ccc2355379c72
Processing multiprocessing-2.6.2.1.tar.gz
Running multiprocessing-2.6.2.1/setup.py -q bdist_egg --dist-dir 
/var/folders/D5/D5kUGxNgGI8-yz5btga6y++++TM/-Tmp-/easy_install-Z_sYwg/multiproce
ssing-2.6.2.1/egg-dist-tmp-5eXS_a
Modules/_multiprocessing/multiprocessing.c: In function 
‘multiprocessing_sendfd’:
Modules/_multiprocessing/multiprocessing.c:100: warning: implicit declaration 
of function ‘CMSG_SPACE’
Modules/_multiprocessing/multiprocessing.c:117: warning: implicit declaration 
of function ‘CMSG_LEN’
In file included from Modules/_multiprocessing/socket_connection.c:202:
Modules/_multiprocessing/connection.h: In function ‘connection_new’:
Modules/_multiprocessing/connection.h:51: warning: format ‘%zd’ expects 
type ‘signed size_t’, but argument 3 has type ‘int’
Modules/_multiprocessing/connection.h: In function ‘connection_repr’:
Modules/_multiprocessing/connection.h:468: warning: format ‘%zd’ expects 
type ‘signed size_t’, but argument 4 has type ‘int’
Modules/mmapmodule.c: In function ‘new_mmap_object’:
Modules/mmapmodule.c:947: warning: implicit declaration of function ‘open’
Modules/mmapmodule.c:947: error: ‘O_RDWR’ undeclared (first use in this 
function)
Modules/mmapmodule.c:947: error: (Each undeclared identifier is reported only 
once
Modules/mmapmodule.c:947: error: for each function it appears in.)
error: Setup script exited with error: command '/usr/bin/gcc-4.2' failed with 
exit status 1
[prompt]$ 

Please ask if you need more information on the installation environment. Note 
that other eggs with C code install correctly.

Thanks by advance

Original issue reported on code.google.com by gilles.l...@gmail.com on 25 Jun 2010 at 4:04