Opened 14 years ago

Last modified 14 years ago

#24372 closed defect

Problem installing psyco on Snow Leopard — at Version 1

Reported by: news@… Owned by: jmr@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: py26-psyco

Description (last modified by jmroot (Joshua Root))

Fresh install of SL and py26 Installing py26-psyco:

--->  Building py26-psyco
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_py26-psyco/work/psyco-1.6" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: c/dispatcher.c:131: warning: comparison is always false due to limited range of data type
c/dispatcher.c: In function 'fz_compress':
c/dispatcher.c:233: warning: cast from pointer to integer of different size
c/dispatcher.c:239: warning: cast to pointer from integer of different size
In file included from c/initialize.h:48,
                 from c/psyco.c:14:
c/psyfunc.c: In function 'psycofunction_call':
c/psyfunc.c:801: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
In file included from c/initialize.h:49,
                 from c/psyco.c:14:
c/stats.c: In function 'psyco_stats_reset':
c/stats.c:260: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
c/stats.c: In function 'psyco_stats_dump':
c/stats.c:298: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
c/stats.c: In function 'psyco_stats_top':
c/stats.c:326: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
In file included from c/initialize.h:53,
                 from c/psyco.c:14:
c/codemanager.c: In function 'psyco_shrink_code_buffer':
c/codemanager.c:235: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
In file included from c/initialize.h:60,
                 from c/psyco.c:14:
c/Objects/pobject.c: In function 'getdictoffset':
c/Objects/pobject.c:257: error: 'SIZE_OF_LONG_BITS' undeclared (first use in this function)
c/Objects/pobject.c:257: error: (Each undeclared identifier is reported only once
c/Objects/pobject.c:257: error: for each function it appears in.)
In file included from c/initialize.h:61,
                 from c/psyco.c:14:
c/Objects/pabstract.c:723:3: error: #error "omitted code from Python 2.3 here"
error: command '/usr/bin/gcc-4.2' failed with exit status 1

Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

Please remember to preview and use WikiFormatting, and to cc the maintainer.

Is this on an x86_64 machine? I've just now made a change to the psyco ports to indicate that they only work on i386.

Note: See TracTickets for help on using tickets.