|
|
Question : Problems Installing PyQt on OS X 10.6.3
|
|
|
|
I am trying to install PyQt on a Mac equiped with OSX 10.6.3. I have the mac developer tools loaded and seemed to install Qt and the sip packages without a problem but I keep getting link errors when I try to compile PyQt. Below is the output from (I believe) the start of the errors:
rm -f libpythonplugin.dylib g++ -headerpad_max_install_names -single_module -dynamiclib -o libpythonplugin.dylib pluginloader.o moc_pluginloader.o -F/Library/Frameworks -L/Library/Frameworks -framework Python -framework QtDesigner -framework QtScript -framework QtXml -framework QtGui -framework QtCore ld: warning: in /Library/Frameworks/Python.framework/Python, missing required architecture x86_64 in file Undefined symbols: "_Py_Initialize", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyLong_AsVoidPtr", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyErr_Print", referenced from: PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyString_FromString", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyType_IsSubtype", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyModule_GetDict", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyObject_CallObject", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyObject_CallFunctionObjArgs", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyList_Append", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_Py_IsInitialized", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyDict_Next", referenced from: PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyImport_ImportModule", referenced from: PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o "_PyObject_GetAttrString", referenced from: PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [libpythonplugin.dylib] Error 1 make: *** [all] Error 2
I have installed: qt-mac-cocoa-opensource-4.6.3.dmg sip-4.10.2 (compile and install) and am trying to compile and install PyQt-mac-gpl-4.7.3.
Any suggestions on how to get this working? Mark
|
|
|
|
Answer : Problems Installing PyQt on OS X 10.6.3
|
|
|
|
|
|