[MacPorts] #18906: qtiplot build fails
MacPorts
noreply at macports.org
Thu Apr 9 08:00:03 PDT 2009
#18906: qtiplot build fails
----------------------------------+-----------------------------------------
Reporter: jwhowse4@… | Owner: jonas@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: qtiplot
----------------------------------+-----------------------------------------
Comment(by gnwiii@…):
Replying to [comment:4 jwhowse4@…]:
> When I deactivate the qwt port, the build still fails but with a
different error.
>
>
> {{{
> /usr/bin/g++-4.0 -c -pipe -Os -Wall -W -DSCRIPTING_CONSOLE
-DSCRIPTING_DIALOG -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON
-DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB
-DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/opt/macports/libexec/qt4-mac/mkspecs/macx-g++
-I.
-I/opt/macports/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtCore
-I/opt/macports/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtNetwork
-I/opt/macports/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtGui
-I/opt/macports/libexec/qt4-mac/lib/QtOpenGL.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtOpenGL
-I/opt/macports/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtXml
-I/opt/macports/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/Qt3Support
-I/opt/macports/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtSvg
-I/opt/macports/libexec/qt4-mac/include
-I/opt/macports/libexec/qt4-mac/lib/QtAssistant.framework/Versions/4/Headers
-I/opt/macports/libexec/qt4-mac/include/QtAssistant
-I/opt/macports/include -I../3rdparty/qwtplot3d/include
-I../3rdparty/qwt/src -I../3rdparty/liborigin -I../3rdparty/zlib -Iicons
-Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include
-Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/origin
-Isrc/table -Isrc/scripting
-I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I../tmp/qtiplot -I.
-F/opt/macports/libexec/qt4-mac/lib -o ../tmp/qtiplot/PythonScripting.o
src/scripting/PythonScripting.cpp
> src/scripting/PythonScripting.cpp:61:23: error: sipAPIqti.h: No such
file or directory
> src/scripting/PythonScripting.cpp: In member function 'bool
PythonScripting::setQObject(QObject*, const char*, PyObject*)':
> src/scripting/PythonScripting.cpp:336: error: 'sipWrapperType' was not
declared in this scope
> src/scripting/PythonScripting.cpp:336: error: 'klass' was not declared
in this scope
> src/scripting/PythonScripting.cpp:336: error: 'sipFindClass' was not
declared in this scope
> src/scripting/PythonScripting.cpp:338: error: 'sipConvertFromInstance'
was not declared in this scope
> make[1]: *** [../tmp/qtiplot/PythonScripting.o] Error 1
> make: *** [sub-qtiplot-all] Error 2
> }}}
Some python scripts used to configure qtiplot have #!/usr/bin/python, so
those who have installed SIP and PyQt (as described in the qtiplot docs)
in the "System" python won't see this problem:
$ cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qtiplot/work/qtiplot-0.9.7.6/qtiplot"
nashi:qtiplot gwhite$ head -1 *.py
==> python-includepath.py <==
#!/usr/bin/python
==> python-libs-win.py <==
#!/usr/bin/python
==> python-sipcmd.py <==
#!/usr/bin/python
==> qtiUtil.py <==
"""
==> qtiplotrc.py <==
import sys, os.path
--
Ticket URL: <http://trac.macports.org/ticket/18906#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list