[Pythonmac-SIG] SIP 4.9 building error on Mac

Derek Ruths druths at ruthsresearch.org
Sun Sep 27 05:32:34 CEST 2009


I've just downloaded SIP 4.9 and discovered that building it fails on  
my Mac with the error below.  I've verified that "arch" is not  
currently a named argument accepted by ProgramMakefile in  
sipconfig.py, causing the error.  I'm emailing the list to notify  
others and in the hope that this can get quickly taken care of.  Thanks!

	D

This is SIP 4.9 for Python 2.6.2 on darwin.
The SIP code generator will be installed in
/Library/Frameworks/OryxPython.framework/Versions/2.6/bin.
The SIP module will be installed in
/Library/Frameworks/OryxPython.framework/Versions/2.6/lib/python2.6/ 
site-packages.
The SIP header file will be installed in
/Library/Frameworks/OryxPython.framework/Versions/2.6/include.
The default directory to install .sip files in is
/Library/Frameworks/OryxPython.framework/Versions/2.6/share/sip.
The platform/compiler configuration is macx-g++.
MacOS/X binaries will be created for ppc, i386, x86_64.
MacOS/X universal binaries will be created using
/Developer/SDKs/MacOSX10.5.sdk.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
An internal error occured.  Please report all the output from the  
program,
including the following traceback, to support at riverbankcomputing.com.
Traceback (most recent call last):
   File "configure.py", line 459, in <module>
     main(sys.argv)
   File "configure.py", line 450, in main
     create_makefiles(macros)
   File "configure.py", line 275, in create_makefiles
     arch=opts.arch
TypeError: __init__() got an unexpected keyword argument 'arch'
make[2]: *** No targets specified and no makefile found.  Stop.
make[1]: *** [all] Error 2
make[2]: *** No rule to make target `install'.  Stop.
make[1]: *** [install] Error 2
make: *** [build_sip] Error 2



More information about the Pythonmac-SIG mailing list