#17850: python25 -> installation bug on OS 10.5 -> bus error and IDLE crash -------------------------+-------------------------------------------------- Reporter: jmr@… | Owner: saispo@… Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-pyqt4 -------------------------+-------------------------------------------------- Comment(by jmr@…): Replying to [comment:4 creechley@…]:
This does seem to be related to PyQt4. Whenever QtCore or QtGui are imported python crashes with bus error. Gdb gives the following output: {{{ Program received signal SIGTRAP, Trace/breakpoint trap. 0x8fe01010 in __dyld__dyld_start () }}} Searching around turns up very little about this. Any help would be appreciated!
I ended up installing a py25 distribution from EPD. Their distribution is similar to active state's except that they include lots of numerical libraries like numpy, etc. I already had a GPL-version of Qt from trolltech installed. I then build pyqt4 from source according to riverbank's instructions (build SiP first, etc.). I then built pyqtw 5.1 from source (sourceforge). Things seem to work. The main (mostly undocumented) problem is communication between the GUI instances and the python interpreter. pyqt4 needs libraries like sip to run. See riverbank's site for more info on dependencies. -- Ticket URL: <http://trac.macports.org/ticket/17850#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS