[Kde-bindings] qtruby installation on macosx

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Apr 4 08:48:48 UTC 2005


On Monday 04 April 2005 06:22, jm wrote:
> This is what happens when installing with the supplied directions from
> the INSTALL file. (error at bottom of post).
>
> $ uname -a
> Darwin lemure.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22
> 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power
> Macintosh powerpc
>
> Qt 3.3.2 is installed in /Developer/qt
>
> Following the supplied directions,
>
> $ ./configure --with-qt-dir=/Developer/qt  --enable-mac --with-smoke=qt
>       <-- added with-smoke=qt
> $ cd smoke/qt
> # Generate the Smoke library sources:
> $ perl generate.pl
> .....
> Generating bindings for smoke language...
> Starting writeDoc for qt...
> Preparsing...
> Skipping union QPDevCmdParam
> Writing smokedata.cpp...
> Item isn't a known type (type=Item)
> QTSFUNC isn't a known type (type=QTSFUNC)
> long long isn't a known type (type=Q_INT64)
> Q_IPV6ADDR isn't a known type (type=Q_IPV6ADDR)
> long long isn't a known type (type=Q_LLONG)
> Q_UINT64 isn't a known type (type=Q_UINT64)
> long long isn't a known type (type=Q_ULLONG)
> QtCleanUpFunction isn't a known type (type=QtCleanUpFunction)
> QtMsgHandler isn't a known type (type=QtMsgHandler)
> Writing x_*.cpp...
> Done.
>
> # Overwrite the automake generated Makefile:
> $ qmake -makefile
> # Build the Smoke library and install into /usr/lib
> $ sudo make                                            <--- added sudo
Yes, I ought to change the instructions for this..

> ...
> mv -f libsmokeqt.1.0.0.dylib libsmokeqt.dylib libsmokeqt.1.dylib
> libsmokeqt.1.0.dylib /usr/lib/
>
> # Build the 'Qt' extension:
> $ cd ../../qtruby/rubylib/qtruby
> $ ruby extconf.rb --with-qt-dir=/Developer/qt --with-smoke-dir=/usr \
>        --with-smoke-include=../../../smoke
> creating Makefile
> $ make
> QIconView::findItem(QString const&, unsigned) const referenced from
> libsmokeqt expected to be defined in libqt.3.dylib
> QIconView::lastItem() const referenced from libsmokeqt expected to be
> defined in libqt.3.dylib
> QIconView::sizeHint() const referenced from libsmokeqt expected to be
> defined in libqt.3.dylib
> QIconView::className() const referenced from libsmokeqt expected to be
> defined in libqt.3.dylib
> QIconView::firstItem() const referenced from libsmokeqt expected to be
> defined in libqt.3.dylib
> vtable for QIconDragItem referenced from libsmokeqt expected to be
> defined in libqt.3.dylib
> vtable for QIconViewItem referenced from libsmokeqt expected to be
> defined in libqt.3.dylib
> vtable for QHttpResponseHeader referenced from libsmokeqt expected to
> be defined in libqt.3.dylib
> make: *** [qtruby.bundle] Error 1
This looks to me as though you have two incompatible Qt versions installed, so 
the headers used to generate the Smoke library don't correspond to what the 
linker finds. Is that possible?

-- Richard



More information about the Kde-bindings mailing list