[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-beginners
Subject:    [Fink-beginners] failed to compile pyqt4 on MacOS X 10.9
From:       Marco Chino <marco.chino () unina ! it>
Date:       2016-07-11 9:39:22
Message-ID: CAKw+miPwZjKCcSisuUG1-x+Lj9bBWeGKyxUiGerRDoDZR+5i=Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I was trying to install matplotlib-py27, which depends on pyqt4, and I got
this error while compiling:

g++ -headerpad_max_install_names -arch x86_64 -single_module -bundle
-Xarch_x86_64 -mmacosx-version-min=10.9 -o libpyqt4.so pluginloader.o
moc_pluginloader.o  -F/sw/lib/qt4-mac/lib  -L -lpython2.7 -framework
QtScript -F/sw/lib/qt4-mac/lib -Wl,-framework,QtCore -framework QtXml
-Wl,-framework,QtCore -framework QtGui -Wl,-framework,QtCore -framework
QtCore -framework QtDesigner -F/sw/lib -Wl,-framework,QtScript
-Wl,-framework,QtCore -Wl,-framework,QtXml -Wl,-framework,QtGui
ld: warning: directory not found for option '-L-lpython2.7'
Undefined symbols for architecture x86_64:
  "_PyDict_Next", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyErr_Print", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
      PyCustomWidgets::getModuleAttr(char const*, char const*) in
pluginloader.o
  "_PyImport_ImportModule", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
      PyCustomWidgets::getModuleAttr(char const*, char const*) in
pluginloader.o
  "_PyList_Append", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyLong_AsVoidPtr", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyModule_GetDict", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyObject_CallFunctionObjArgs", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyObject_CallObject", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyObject_GetAttrString", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
      PyCustomWidgets::getModuleAttr(char const*, char const*) in
pluginloader.o
  "_PyString_FromString", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_PyType_IsSubtype", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_Py_Initialize", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
  "_Py_IsInitialized", referenced from:
      PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o
ld: symbol(s) not found for architecture x86_64

Please find attached the complete build.

My best regards, and thanks.

Marco

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div>I was trying to \
install matplotlib-py27, which depends on pyqt4, and I got this error while \
compiling:</div><div><br></div><div><div>g++ -headerpad_max_install_names -arch \
x86_64 -single_module -bundle -Xarch_x86_64 -mmacosx-version-min=10.9 -o libpyqt4.so \
pluginloader.o moc_pluginloader.o   -F/sw/lib/qt4-mac/lib   -L -lpython2.7 -framework \
QtScript -F/sw/lib/qt4-mac/lib -Wl,-framework,QtCore -framework QtXml \
-Wl,-framework,QtCore -framework QtGui -Wl,-framework,QtCore -framework QtCore \
-framework QtDesigner -F/sw/lib -Wl,-framework,QtScript -Wl,-framework,QtCore \
-Wl,-framework,QtXml -Wl,-framework,QtGui   </div><div>ld: warning: directory not \
found for option &#39;-L-lpython2.7&#39;</div><div>Undefined symbols for architecture \
x86_64:</div><div>   &quot;_PyDict_Next&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyErr_Print&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>         \
PyCustomWidgets::getModuleAttr(char const*, char const*) in pluginloader.o</div><div> \
&quot;_PyImport_ImportModule&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>         \
PyCustomWidgets::getModuleAttr(char const*, char const*) in pluginloader.o</div><div> \
&quot;_PyList_Append&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyLong_AsVoidPtr&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyModule_GetDict&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyObject_CallFunctionObjArgs&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyObject_CallObject&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyObject_GetAttrString&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>         \
PyCustomWidgets::getModuleAttr(char const*, char const*) in pluginloader.o</div><div> \
&quot;_PyString_FromString&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_PyType_IsSubtype&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_Py_Initialize&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>   \
&quot;_Py_IsInitialized&quot;, referenced from:</div><div>         \
PyCustomWidgets::PyCustomWidgets(QObject*) in pluginloader.o</div><div>ld: symbol(s) \
not found for architecture x86_64</div></div><div><br></div><div>Please find attached \
the complete build.</div><div><br></div><div>My best regards, and thanks.</div><span \
class="HOEnZb"><font \
color="#888888"><div><br></div><div>Marco</div></font></span></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br></div></div></div></div> \
</div>

--001a114029ec6ca3bf053758ed75--


["pyqt4_compileFail.log" (application/octet-stream)]

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic