hey y'all,
I've gotten *most* of the way through getting pyside 0.3.1 up and running on
the Mac (SnowLeopard 10.6.3), but am hung up on the final compile step.
I have run into and worked around a number of problems to get here, and am
hoping that I can help some folks along with the solutions/workarounds I've
devised. Also, maybe collectively we can figure out how to get through the
final step.
I'm going to include the build script that I'm using, and the log of the
changes I had to make in the distro to get it running. But first, the step
that I'm stuck on... mainly, I don't understand the error message, and the
requested file doesn't seem to exist...
Thanks, in advance! I can't wait to get up and running with this!!! Great
work pyside team!
Dave
===== HERE IS WHERE I'm STUCK (Building the QT bindings) ... can anybody help?
Building qt bindings...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: -framework Python
-- Found PythonInterp: /usr/bin/python2.6
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Detected OS: MAC
-- Testing support to GtkStyle -- disabled
-- Testing support to SystemTray -- enabled
-- Testing support to PrintDialog Support -- enabled
-- Testing support to PrintPreview Support -- enabled
-- Testing support to PrintPreviewDialog Support -- enabled
-- Testing support to Printer Support -- enabled
-- Testing support to SizeGrip Support -- enabled
-- QtMaemo5 NOT found. QtMaemo5 support disabled.
-- Missing graphviz tool (dot), apidoc generation targets disabled.
-- Configuring done
-- Generating done
-- Build files have been written to:
/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/build
Scanning dependencies of target pyside
[ 0%] Building CXX object
libpyside/CMakeFiles/pyside.dir/dynamicqmetaobject.cpp.o
[ 0%] Building CXX object libpyside/CMakeFiles/pyside.dir/signalmanager.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside.dir/globalreceiver.cpp.o
Linking CXX shared library libpyside.dylib
[ 1%] Built target pyside
[ 1%] Running gigienerator for core...
Command is:
/Top/daves/devel/infra/install/pyside/generatorrunner/bin/generatorrunner
--generatorSet=shiboken --enable-parent-ctor-heuristic
--enable-pyside-extensions --enable-return-value-heuristic
/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide/global.h
--include-paths=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide:/usr/include;/Library/Frameworks/QtCore.framework
--typesystem-paths=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide:
--output-directory=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/build/PySide/QtCore
--license-file=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide/QtCore/../licensecomment.txt
/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide/QtCore/typesystem_core.xml
/Top/daves/devel/infra/install/pyside/generatorrunner/bin/generatorrunner:
Error loading generatorset plugin: Cannot load library
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/generatorrunner/libshiboken
--enable-parent-ctor-heuristic --enable-pyside-extensions
--enable-return-value-heuristic_generator: (image not already loaded)
make[2]: *** [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp]
Error 1
make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
make: *** [all] Error 2
[ 1%] Built target pyside
[ 1%] Running gigienerator for core...
Command is:
/Top/daves/devel/infra/install/pyside/generatorrunner/bin/generatorrunner
--generatorSet=shiboken --enable-parent-ctor-heuristic
--enable-pyside-extensions --enable-return-value-heuristic
/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide/global.h
--include-paths=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide:/usr/include;/Library/Frameworks/QtCore.framework
--typesystem-paths=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide:
--output-directory=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/build/PySide/QtCore
--license-file=/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide/QtCore/../licensecomment.txt
/Top/daves/devel/3rdparty/pyside/pyside-qt4.6+0.3.1/PySide/QtCore/typesystem_core.xml
/Top/daves/devel/infra/install/pyside/generatorrunner/bin/generatorrunner:
Error loading generatorset plugin: Cannot load library
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/generatorrunner/libshiboken
--enable-parent-ctor-heuristic --enable-pyside-extensions
--enable-return-value-heuristic_generator: (image not already loaded)
make[2]: *** [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp]
Error 1
make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
make: *** [all] Error 2
==================== HERE IS THE LOG OF WHAT I've DONE, AND THE OUTPUT FROM THE
BUILD SCRIPT ===============================
use pkg installer from macports.org to install MacPorts-1.8.2
sudo port install cmake (takes a while… installs a whole bunch of dependencies)
------------------------------------------ LOG
port search cmake
cmake @2.8.1 (devel)
Cross-platform make
gccmakedep @1.0.2 (x11, devel)
Create dependencies in makefiles using 'gcc -M'
Found 2 ports.
[Biddybot:~] % sudo port install cmake
Password:
---> Computing dependencies for cmake
---> Fetching expat
---> Attempting to fetch expat-2.0.1.tar.gz from
http://downloads.sourceforge.net/expat
---> Verifying checksum(s) for expat
---> Extracting expat
---> Configuring expat
---> Building expat
---> Staging expat into destroot
---> Installing expat @2.0.1_0
---> Activating expat @2.0.1_0
---> Cleaning expat
---> Fetching gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from
http://mirrors.kernel.org/gnu/gperf
---> Verifying checksum(s) for gperf
---> Extracting gperf
---> Configuring gperf
---> Building gperf
---> Staging gperf into destroot
---> Installing gperf @3.0.4_0
---> Activating gperf @3.0.4_0
---> Cleaning gperf
---> Fetching libiconv
---> Attempting to fetch libiconv-1.13.1.tar.gz from
http://mirrors.kernel.org/gnu/libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv
---> Staging libiconv into destroot
---> Installing libiconv @1.13.1_0
---> Activating libiconv @1.13.1_0
---> Cleaning libiconv
---> Fetching ncursesw
---> Attempting to fetch ncurses-5.7.tar.gz from
http://mirrors.kernel.org/gnu/ncurses
---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Configuring ncursesw
---> Building ncursesw
---> Staging ncursesw into destroot
---> Installing ncursesw @5.7_0+darwin_10
---> Activating ncursesw @5.7_0+darwin_10
---> Cleaning ncursesw
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Configuring ncurses
---> Building ncurses
---> Staging ncurses into destroot
---> Installing ncurses @5.7_0+darwin_10
---> Activating ncurses @5.7_0+darwin_10
---> Cleaning ncurses
---> Fetching gettext
---> Attempting to fetch gettext-0.17.tar.gz from
http://mirrors.kernel.org/gnu/gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext
---> Staging gettext into destroot
---> Installing gettext @0.17_4
---> Activating gettext @0.17_4
---> Cleaning gettext
---> Fetching libidn
---> Attempting to fetch libidn-1.18.tar.gz from
http://mirrors.kernel.org/gnu/libidn
---> Verifying checksum(s) for libidn
---> Extracting libidn
---> Configuring libidn
---> Building libidn
---> Staging libidn into destroot
---> Installing libidn @1.18_0
---> Activating libidn @1.18_0
---> Cleaning libidn
---> Fetching zlib
---> Attempting to fetch zlib-1.2.5.tar.bz2 from
http://distfiles.macports.org/zlib
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Building zlib
---> Staging zlib into destroot
---> Installing zlib @1.2.5_0
---> Activating zlib @1.2.5_0
---> Cleaning zlib
---> Fetching openssl
---> Attempting to fetch openssl-0.9.8n.tar.gz from
http://www.openssl.org/source/
---> Verifying checksum(s) for openssl
---> Extracting openssl
---> Applying patches to openssl
---> Configuring openssl
---> Building openssl
---> Staging openssl into destroot
---> Installing openssl @0.9.8n_0+darwin
---> Activating openssl @0.9.8n_0+darwin
---> Cleaning openssl
---> Fetching cmake
---> Attempting to fetch cmake-2.8.1.tar.gz from
http://distfiles.macports.org/cmake/2.8.1_1
---> Verifying checksum(s) for cmake
---> Extracting cmake
---> Applying patches to cmake
---> Configuring cmake
---> Building cmake
---> Staging cmake into destroot
---> Installing cmake @2.8.1_2
---> Activating cmake @2.8.1_2
---> Cleaning cmake
--------------------------------------------- END LOG
port search xml2
--------------------------------------------- BEGIN LOG
port search xml2
libxml2 @2.7.7 (textproc)
gnome xml library
p5-xml-libxml @1.69 (perl, textproc)
Perl interface to libxml2.
pure-xml @0.4 (textproc)
an interface to libxml2 and libxslt for Pure
py-libxml2 @2.6.21 (python, textproc)
Python bindings for libxml2
py25-libxml2 @2.6.21 (python, textproc)
Python bindings for libxml2
py26-libxml2 @2.6.21 (python, textproc)
Python bindings for libxml2
rb-libxml2 @1.1.3 (ruby, ruby, textproc)
Ruby bindings for libxml2
wbxml2 @0.10.7 (textproc, devel)
converts between XML and Wireless Binary XML (WBXML)
xml2 @0.4 (textproc, xml, html)
Convert between XML/HTML and a shell-friendly format
xml2rfc @1.35 (textproc)
RFC formatting utility using XML source
xmlsec @1.2.13 (security, textproc, devel)
XML Security Library is a C library based on LibXML2.
Found 11 ports.
--------------------------------------------- END LOG
rehash
which cmake
/opt/local/bin/cmake
sudo port install libxml2
--------------------------------------------- BEGIN LOG
sudo port install libxml2
Password:
---> Computing dependencies for libxml2
---> Fetching libxml2
---> Attempting to fetch libxml2-2.7.7.tar.gz from
ftp://fr.rpmfind.net/pub/libxml/
---> Verifying checksum(s) for libxml2
---> Extracting libxml2
---> Configuring libxml2
---> Building libxml2
---> Staging libxml2 into destroot
---> Installing libxml2 @2.7.7_0
---> Activating libxml2 @2.7.7_0
---> Cleaning libxml2
--------------------------------------------- END LOG
port search libxslt
--------------------------------------------- BEGIN LOG
libxslt @1.1.26 (textproc)
gnome xslt library and xsltproc
p5-xml-libxslt @1.68 (perl, textproc)
Perl interface to libxslt.
php5-xsl @5.3.2 (php, textproc)
a PHP interface to libxslt, which implements the XSL standard and lets you
perform XSL transformations
pure-xml @0.4 (textproc)
an interface to libxml2 and libxslt for Pure
py-libxslt @2.6.21 (python, textproc)
Python bindings for libxslt
py25-libxslt @2.6.21 (python, textproc)
Python bindings for libxslt
py26-libxslt @2.6.21 (python, textproc)
Python bindings for libxslt
Found 7 ports.
--------------------------------------------- END LOG
sudo port install libxslt
--------------------------------------------- BEGIN LOG
---> Computing dependencies for libxslt
---> Fetching libxslt
---> Attempting to fetch libxslt-1.1.26.tar.gz from ftp://xmlsoft.org/libxslt/
---> Verifying checksum(s) for libxslt
---> Extracting libxslt
---> Configuring libxslt
---> Building libxslt
---> Staging libxslt into destroot
---> Installing libxslt @1.1.26_0
---> Activating libxslt @1.1.26_0
---> Cleaning libxslt
--------------------------------------------- END LOG
--------------------------------------------- BEGIN LOG
./DAVES_BUILD.csh
Building API extractor...
mkdir: build: File exists
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.7
-- checking for module 'libxslt'
-- found libxslt, version 1.1.26
-- Configuring done
-- Generating done
-- Build files have been written to:
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/build
[ 1%] Building CXX object CMakeFiles/apiextractor.dir/apiextractor.cpp.o
[ 2%] Building CXX object CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/abstractmetabuilder.cpp: In
member function ‘bool AbstractMetaBuilder::inheritTemplate(AbstractMetaClass*,
const AbstractMetaClass*, const TypeParser::Info&)’:
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/abstractmetabuilder.cpp:2180:
warning: ‘t’ may be used uninitialized in this function
[ 3%] Building CXX object CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o
[ 5%] Building CXX object CMakeFiles/apiextractor.dir/asttoxml.cpp.o
[ 6%] Building CXX object CMakeFiles/apiextractor.dir/docparser.cpp.o
[ 7%] Building CXX object CMakeFiles/apiextractor.dir/doxygenparser.cpp.o
[ 8%] Building CXX object CMakeFiles/apiextractor.dir/qtdocparser.cpp.o
[ 10%] Building CXX object CMakeFiles/apiextractor.dir/fileout.cpp.o
[ 11%] Building CXX object CMakeFiles/apiextractor.dir/graph.cpp.o
[ 12%] Building CXX object CMakeFiles/apiextractor.dir/reporthandler.cpp.o
[ 14%] Building CXX object CMakeFiles/apiextractor.dir/typeparser.cpp.o
[ 15%] Building CXX object CMakeFiles/apiextractor.dir/typesystem.cpp.o
[ 16%] Building CXX object CMakeFiles/apiextractor.dir/include.cpp.o
[ 17%] Building CXX object CMakeFiles/apiextractor.dir/typedatabase.cpp.o
[ 19%] Building CXX object CMakeFiles/apiextractor.dir/parser/ast.cpp.o
[ 20%] Building CXX object CMakeFiles/apiextractor.dir/parser/binder.cpp.o
[ 21%] Building CXX object
CMakeFiles/apiextractor.dir/parser/class_compiler.cpp.o
[ 23%] Building CXX object CMakeFiles/apiextractor.dir/parser/codemodel.cpp.o
[ 24%] Building CXX object
CMakeFiles/apiextractor.dir/parser/codemodel_finder.cpp.o
[ 25%] Building CXX object
CMakeFiles/apiextractor.dir/parser/compiler_utils.cpp.o
[ 26%] Building CXX object CMakeFiles/apiextractor.dir/parser/control.cpp.o
[ 28%] Building CXX object
CMakeFiles/apiextractor.dir/parser/declarator_compiler.cpp.o
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/declarator_compiler.cpp:109:2:
warning: #warning "ptr to mem -- not implemented"
[ 29%] Building CXX object
CMakeFiles/apiextractor.dir/parser/default_visitor.cpp.o
[ 30%] Building CXX object CMakeFiles/apiextractor.dir/parser/dumptree.cpp.o
[ 32%] Building CXX object CMakeFiles/apiextractor.dir/parser/lexer.cpp.o
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/lexer.cpp: In member
function ‘void LocationManager::positionAt(size_t, int*, int*, QString*) const’:
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/lexer.cpp:87:
warning: ‘ppline’ may be used uninitialized in this function
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/lexer.cpp:93:
warning: ‘line2’ may be used uninitialized in this function
[ 33%] Building CXX object CMakeFiles/apiextractor.dir/parser/list.cpp.o
[ 34%] Building CXX object
CMakeFiles/apiextractor.dir/parser/name_compiler.cpp.o
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/name_compiler.cpp:65:2:
warning: #warning "NameCompiler::visitUnqualifiedName() -- implement me"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/name_compiler.cpp:75:2:
warning: #warning "don't use an hardcoded string as cast' name"
[ 35%] Building CXX object CMakeFiles/apiextractor.dir/parser/parser.cpp.o
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:733:2:
warning: #warning "implement me"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:2111:2:
warning: #warning "implement me"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:2131:2:
warning: #warning "implemente me (AST)"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:2290:2:
warning: #warning "implement me"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:2298:2:
warning: #warning "implement me"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:2893:2:
warning: #warning "mark the ast as constant"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:2983:2:
warning: #warning "Parser::skipFunctionBody() -- implement me"
/Top/daves/devel/3rdparty/pyside/apiextractor-0.5.1/parser/parser.cpp:3012:2:
warning: #warning "implement me"
[ 37%] Building CXX object CMakeFiles/apiextractor.dir/parser/smallobject.cpp.o
[ 38%] Building CXX object CMakeFiles/apiextractor.dir/parser/tokens.cpp.o
[ 39%] Building CXX object
CMakeFiles/apiextractor.dir/parser/type_compiler.cpp.o
[ 41%] Building CXX object CMakeFiles/apiextractor.dir/parser/visitor.cpp.o
[ 42%] Building CXX object
CMakeFiles/apiextractor.dir/parser/rpp/builtin-macros.cpp.o
[ 43%] Building CXX object
CMakeFiles/apiextractor.dir/parser/rpp/preprocessor.cpp.o
[ 44%] Building CXX object CMakeFiles/apiextractor.dir/qrc_generator.cxx.o
Linking CXX shared library tests/libapiextractor.dylib
[ 46%] Built target apiextractor
[ 47%] Generating testabstractmetaclass.moc
Scanning dependencies of target testabstractmetaclass
[ 48%] Building CXX object
tests/CMakeFiles/testabstractmetaclass.dir/testabstractmetaclass.cpp.o
Linking CXX executable testabstractmetaclass
[ 48%] Built target testabstractmetaclass
[ 50%] Generating testabstractmetatype.moc
Scanning dependencies of target testabstractmetatype
[ 51%] Building CXX object
tests/CMakeFiles/testabstractmetatype.dir/testabstractmetatype.cpp.o
Linking CXX executable testabstractmetatype
[ 51%] Built target testabstractmetatype
[ 52%] Generating testaddfunction.moc
Scanning dependencies of target testaddfunction
[ 53%] Building CXX object
tests/CMakeFiles/testaddfunction.dir/testaddfunction.cpp.o
Linking CXX executable testaddfunction
[ 53%] Built target testaddfunction
[ 55%] Generating testcodeinjection.moc
Scanning dependencies of target testcodeinjection
[ 56%] Building CXX object
tests/CMakeFiles/testcodeinjection.dir/testcodeinjection.cpp.o
Linking CXX executable testcodeinjection
[ 56%] Built target testcodeinjection
[ 57%] Generating testconversionoperator.moc
Scanning dependencies of target testconversionoperator
[ 58%] Building CXX object
tests/CMakeFiles/testconversionoperator.dir/testconversionoperator.cpp.o
Linking CXX executable testconversionoperator
[ 58%] Built target testconversionoperator
[ 60%] Generating testconversionruletag.moc
Scanning dependencies of target testconversionruletag
[ 61%] Building CXX object
tests/CMakeFiles/testconversionruletag.dir/testconversionruletag.cpp.o
Linking CXX executable testconversionruletag
[ 61%] Built target testconversionruletag
[ 62%] Generating testctorinformation.moc
Scanning dependencies of target testctorinformation
[ 64%] Building CXX object
tests/CMakeFiles/testctorinformation.dir/testctorinformation.cpp.o
Linking CXX executable testctorinformation
[ 64%] Built target testctorinformation
[ 65%] Generating testdtorinformation.moc
Scanning dependencies of target testdtorinformation
[ 66%] Building CXX object
tests/CMakeFiles/testdtorinformation.dir/testdtorinformation.cpp.o
Linking CXX executable testdtorinformation
[ 66%] Built target testdtorinformation
[ 67%] Generating testenum.moc
Scanning dependencies of target testenum
[ 69%] Building CXX object tests/CMakeFiles/testenum.dir/testenum.cpp.o
Linking CXX executable testenum
[ 69%] Built target testenum
[ 70%] Generating testfunctiontag.moc
Scanning dependencies of target testfunctiontag
[ 71%] Building CXX object
tests/CMakeFiles/testfunctiontag.dir/testfunctiontag.cpp.o
Linking CXX executable testfunctiontag
[ 71%] Built target testfunctiontag
[ 73%] Generating testimplicitconversions.moc
Scanning dependencies of target testimplicitconversions
[ 74%] Building CXX object
tests/CMakeFiles/testimplicitconversions.dir/testimplicitconversions.cpp.o
Linking CXX executable testimplicitconversions
[ 74%] Built target testimplicitconversions
[ 75%] Generating testmodifydocumentation.moc
Scanning dependencies of target testmodifydocumentation
[ 76%] Building CXX object
tests/CMakeFiles/testmodifydocumentation.dir/testmodifydocumentation.cpp.o
Linking CXX executable testmodifydocumentation
[ 76%] Built target testmodifydocumentation
[ 78%] Generating testmodifyfunction.moc
Scanning dependencies of target testmodifyfunction
[ 79%] Building CXX object
tests/CMakeFiles/testmodifyfunction.dir/testmodifyfunction.cpp.o
Linking CXX executable testmodifyfunction
[ 79%] Built target testmodifyfunction
[ 80%] Generating testmultipleinheritance.moc
Scanning dependencies of target testmultipleinheritance
[ 82%] Building CXX object
tests/CMakeFiles/testmultipleinheritance.dir/testmultipleinheritance.cpp.o
Linking CXX executable testmultipleinheritance
[ 82%] Built target testmultipleinheritance
[ 83%] Generating testrefcounttag.moc
Scanning dependencies of target testrefcounttag
[ 84%] Building CXX object
tests/CMakeFiles/testrefcounttag.dir/testrefcounttag.cpp.o
Linking CXX executable testrefcounttag
[ 84%] Built target testrefcounttag
[ 85%] Generating testreferencetopointer.moc
Scanning dependencies of target testreferencetopointer
[ 87%] Building CXX object
tests/CMakeFiles/testreferencetopointer.dir/testreferencetopointer.cpp.o
Linking CXX executable testreferencetopointer
[ 87%] Built target testreferencetopointer
[ 88%] Generating testremoveimplconv.moc
Scanning dependencies of target testremoveimplconv
[ 89%] Building CXX object
tests/CMakeFiles/testremoveimplconv.dir/testremoveimplconv.cpp.o
Linking CXX executable testremoveimplconv
[ 89%] Built target testremoveimplconv
[ 91%] Generating testreverseoperators.moc
Scanning dependencies of target testreverseoperators
[ 92%] Building CXX object
tests/CMakeFiles/testreverseoperators.dir/testreverseoperators.cpp.o
Linking CXX executable testreverseoperators
[ 92%] Built target testreverseoperators
[ 93%] Generating testtemplates.moc
Scanning dependencies of target testtemplates
[ 94%] Building CXX object
tests/CMakeFiles/testtemplates.dir/testtemplates.cpp.o
Linking CXX executable testtemplates
[ 94%] Built target testtemplates
[ 96%] Generating testtoposort.moc
Scanning dependencies of target testtoposort
[ 97%] Building CXX object tests/CMakeFiles/testtoposort.dir/testtoposort.cpp.o
Linking CXX executable testtoposort
[ 97%] Built target testtoposort
[ 98%] Generating testvoidarg.moc
Scanning dependencies of target testvoidarg
[100%] Building CXX object tests/CMakeFiles/testvoidarg.dir/testvoidarg.cpp.o
Linking CXX executable testvoidarg
[100%] Built target testvoidarg
[ 46%] Built target apiextractor
[ 48%] Built target testabstractmetaclass
[ 51%] Built target testabstractmetatype
[ 53%] Built target testaddfunction
[ 56%] Built target testcodeinjection
[ 58%] Built target testconversionoperator
[ 61%] Built target testconversionruletag
[ 64%] Built target testctorinformation
[ 66%] Built target testdtorinformation
[ 69%] Built target testenum
[ 71%] Built target testfunctiontag
[ 74%] Built target testimplicitconversions
[ 76%] Built target testmodifydocumentation
[ 79%] Built target testmodifyfunction
[ 82%] Built target testmultipleinheritance
[ 84%] Built target testrefcounttag
[ 87%] Built target testreferencetopointer
[ 89%] Built target testremoveimplconv
[ 92%] Built target testreverseoperators
[ 94%] Built target testtemplates
[ 97%] Built target testtoposort
[100%] Built target testvoidarg
Install the project...
-- Install configuration: "Release"
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/apiextractormacros.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/abstractmetalang.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/apiextractor.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/graph.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/reporthandler.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/typesystem.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/fileout.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/docparser.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/qtdocparser.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/include.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/include/apiextractor/typedatabase.h
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/lib/libapiextractor.0.5.1.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/lib/libapiextractor.0.5.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/lib/libapiextractor.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/lib/pkgconfig/apiextractor.pc
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/lib/cmake/ApiExtractor-0.5.1/ApiExtractorConfig.cmake
-- Installing:
/Top/daves/devel/infra/install/pyside/apiextractor-0.5.1_Darwin_10.3.0_i386/lib/cmake/ApiExtractor-0.5.1/ApiExtractorVersion.cmake
--------------------------------------------- END LOG
--------------------------------------------- BEGIN LOG
DAVES_BUILD.csh
Building generator runner...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Configuring done
-- Generating done
-- Build files have been written to:
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/build
Scanning dependencies of target genrunner
[ 16%] Building CXX object CMakeFiles/genrunner.dir/generator.cpp.o
Linking CXX shared library libgenrunner.dylib
[ 16%] Built target genrunner
Scanning dependencies of target generatorrunner
[ 33%] Building CXX object CMakeFiles/generatorrunner.dir/main.cpp.o
Linking CXX executable generatorrunner
[ 33%] Built target generatorrunner
Scanning dependencies of target docgenerator
[ 50%] Building CXX object
generators/qtdoc/CMakeFiles/docgenerator.dir/main.cpp.o
Linking CXX executable docgenerator
[ 50%] Built target docgenerator
Scanning dependencies of target qtdoc_generator
[ 66%] Building CXX object
generators/qtdoc/CMakeFiles/qtdoc_generator.dir/qtdocgenerator.cpp.o
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/generators/qtdoc/qtdocgenerator.cpp:
In member function ‘virtual void QtDocGenerator::generateClass(QTextStream&,
const AbstractMetaClass*)’:
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/generators/qtdoc/qtdocgenerator.cpp:901:
warning: ‘filterFunctions’ is deprecated (declared at
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/generator.h:252)
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/generators/qtdoc/qtdocgenerator.cpp:
In member function ‘void
QtDocGenerator::writeInjectDocumentation(QTextStream&, DocModification::Mode,
const AbstractMetaClass*, const AbstractMetaFunction*)’:
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/generators/qtdoc/qtdocgenerator.cpp:1224:
warning: ‘getCodeSnips’ is deprecated (declared at
/Top/daves/devel/3rdparty/pyside/generatorrunner-0.4.2/generator.h:269)
Linking CXX shared library libqtdoc_generator.dylib
[ 66%] Built target qtdoc_generator
[ 83%] Generating sphinxtabletest.moc
Scanning dependencies of target sphinxtabletest
[100%] Building CXX object
tests/CMakeFiles/sphinxtabletest.dir/sphinxtabletest.cpp.o
Linking CXX executable sphinxtabletest
[100%] Built target sphinxtabletest
[ 16%] Built target genrunner
[ 33%] Built target generatorrunner
[ 50%] Built target docgenerator
[ 66%] Built target qtdoc_generator
[100%] Built target sphinxtabletest
Install the project...
-- Install configuration: "Debug"
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/libgenrunner.0.4.2.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/libgenrunner.0.4.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/libgenrunner.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/bin/generatorrunner
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/include/generatorrunner/generator.h
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/include/generatorrunner/generatorrunnermacros.h
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/pkgconfig/generatorrunner.pc
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/cmake/GeneratorRunner-0.4.2/GeneratorRunnerConfig.cmake
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/cmake/GeneratorRunner-0.4.2/GeneratorRunnerVersion.cmake
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/share/man/man1/docgenerator.1
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/share/man/man1/generatorrunner.1
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/lib/generatorrunner/libqtdoc_generator.dylib
-- Installing:
/Top/daves/devel/infra/install/pyside/generatorrunner-0.4.2_Darwin_10.3.0_i386/bin/docgenerator
--------------------------------------------- END LOG
in building shiboken,
had to comment out the -Wl,O1 and -Wl,hash-style=gnu flags
had to modify DYLD_LIBRARY_PATH to include the directories of each of:
apiextractor/lib and generatorrunner/lib
===================================== FINALLY, HERE IS MY BUILD SCRIPT
#!/bin/tcsh
# DAVES build script
#
# NOTE: cmake must be installed. I used macports to do it (see MacPorts.org)
#
# sudo port install cmake
#
#
# path to cmake executable
set cmake = /opt/local/bin/cmake
set devel = ${DAVES_DEVEL}
set infra = ${DAVES_INFRA}
set tag = `\uname -srp | \sed -e "s/ /_/g"`
set doApi = 'Y'
set qtSrcDir =
$devel/3rdparty/qt/qt-opensource-4.6.2/qt-everywhere-opensource-src-4.6.2
set apiVersion = 0.5.1
set apiBuild = $devel"/3rdparty/pyside/apiextractor-"$apiVersion
set apiInstall = $infra"/install/pyside/apiextractor-"$apiVersion"_"$tag
set apiLink = $infra"/install/pyside/apiextractor"
set doGen = 'Y'
set genVersion = 0.4.2
set genBuild = $devel"/3rdparty/pyside/generatorrunner-"$genVersion
set genInstall = $infra"/install/pyside/generatorrunner-"$genVersion"_"$tag
set genLink = $infra"/install/pyside/generatorrunner"
set doShi = 'Y'
set shiVersion = 0.3.1
set shiBuild = $devel"/3rdparty/pyside/shiboken-"$shiVersion
set shiInstall = $infra"/install/pyside/shiboken-"$shiVersion"_"$tag
set shiLink = $infra"/install/pyside/shiboken"
set doPqt = 'Y'
set pqtVersion = 4.6
set pqtBuild = $devel"/3rdparty/pyside/pyside-qt"$pqtVersion"+"$shiVersion
set pqtInstall =
$infra"/install/pyside/pyside-qt"$pqtVersion"+"$shiVersion"_"$tag
set pqtLink = $infra"/install/pyside/pyside-qt"$pqtVersion
#-------------------------------------- BUILD API EXTRACTOR
if ( "$doApi" == 'Y' ) then
echo "Building API extractor..."
set build = $apiBuild
set link = $apiLink
set install = $apiInstall
cd $install:h
\rm -f $link
set id = $install:t
if ( -d $id ) then
\rm -rf $id
endif
\mkdir $id
cd $build
if ( -d build ) then
\rm -rf build
endif
mkdir build
cd build
#build type can be Release or Debug
$cmake -DCMAKE_INSTALL_PREFIX=$install -DCMAKE_BUILD_TYPE=Release ..
\make
\make install
cd $install:h
\ln -s $id $link
endif
#-------------------------------------- BUILD GENERATOR RUNNER
if ( "$doGen" == 'Y' ) then
echo "Building generator runner..."
set build = $genBuild
set link = $genLink
set install = $genInstall
cd $install:h
\rm -f $link
set id = $install:t
if ( -d $id ) then
\rm -rf $id
endif
\mkdir $id
cd $build
if ( -d build ) then
\rm -rf build
endif
mkdir build
cd build
# NOTE: build type can be Release or Debug
# NOTE: point generatorrunner build at the api extractor config file (created
when compiling/installing
# the apiextractor
set apiConfig = $apiLink"/lib/cmake/ApiExtractor-"$apiVersion
$cmake -DCMAKE_INSTALL_PREFIX=$install -DCMAKE_BUILD_TYPE=Release
-DApiExtractor_DIR=$apiConfig ..
\make
\make install
cd $install:h
\ln -s $id $link
endif
#-------------------------------------- BUILD SHIBOKEN
if ( "$doShi" == 'Y' ) then
echo "Building shiboken..."
set build = $shiBuild
set link = $shiLink
set install = $shiInstall
cd $install:h
\rm -f $link
set id = $install:t
if ( -d $id ) then
\rm -rf $id
endif
\mkdir $id
cd $build
if ( -d build ) then
\rm -rf build
endif
mkdir build
cd build
# NOTE: build type can be Release or Debug
# NOTE: point generatorrunner build at the api extractor config file (created
when compiling/installing
# the apiextractor
# NOTE: CMAKE_PROGRAM_PATH points the tests to the generatorrunner executable
set apiConfig = $apiLink"/lib/cmake/ApiExtractor-"$apiVersion
set genConfig = $genLink"/lib/cmake/GeneratorRunner-"$genVersion
set genProg = $genLink"/bin"
setenv DYLD_LIBRARY_PATH $genLink"/lib":$apiLink"/lib"
$cmake -DCMAKE_INSTALL_PREFIX=$install -DCMAKE_BUILD_TYPE=Release
-DApiExtractor_DIR=$apiConfig -DGeneratorRunner_DIR=$genConfig
-DCMAKE_PROGRAM_PATH=$genProg ..
\make
\make install
cd $install:h
\ln -s $id $link
endif
#-------------------------------------- BUILD QT BINDINGS
if ( "$doPqt" == 'Y' ) then
echo "Building qt bindings..."
set build = $pqtBuild
set link = $pqtLink
set install = $pqtInstall
cd $install:h
\rm -f $link
set id = $install:t
if ( -d $id ) then
\rm -rf $id
endif
\mkdir $id
cd $build
if ( -d build ) then
\rm -rf build
endif
mkdir build
cd build
# NOTE: build type can be Release or Debug
# NOTE: point generatorrunner build at the api extractor config file (created
when compiling/installing
# the apiextractor
# NOTE: CMAKE_PROGRAM_PATH points the tests to the generatorrunner executable
set apiConfig = $apiLink"/lib/cmake/ApiExtractor-"$apiVersion
set genConfig = $genLink"/lib/cmake/GeneratorRunner-"$genVersion
set shiConfig = $shiLink"/lib/cmake/Shiboken-"$shiVersion
set genProg = $genLink"/bin"
setenv DYLD_LIBRARY_PATH $genLink"/lib":$apiLink"/lib"
$cmake -DCMAKE_INSTALL_PREFIX=$install -DCMAKE_BUILD_TYPE=Release
-DApiExtractor_DIR=$apiConfig -DGeneratorRunner_DIR=$genConfig
-DCMAKE_PROGRAM_PATH=$genProg -DShiboken_DIR=$shiConfig -DQT_SRC_DIR=$qtSrcDir
..
\make
\make install
cd $install:h
\ln -s $id $link
endif
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside