Forum: Ruby QtRuby/smoke make don't find headers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fa0d14a176f060c96eef797fa48e6bcc?d=identicon&s=25 unknown (Guest)
on 2006-01-08 14:38
(Received via mailing list)
I'm under way to install QTruby but i'm stuck at smoke / make level.

First, i did install using darwinports then, i've tried to compile
either qtruby-1.0.9 or qtruby-1.0.11)

I've this .configure :
../configure --enable-mac \
            --with-qt-dir=/opt/local/share/qt3 \
            --with-qt-includes=/opt/local/include/qt3 \
            --with-qt-libraries=/opt/local/lib \
            --with-smoke="qt"


then, cd smoke/qt & perl generate.pl & qmake -makefile

no probs up to here

however with make i get :

~/Desktop/qtruby-1.0.11/smoke/qt%> make
c++ -c -pipe -Wall -W -Os -fPIC  -DQT_NO_DEBUG
-I/opt/local/share/qt3/mkspecs/default -I. -I. -I.. -I/include/qt3 -o
smokedata.o smokedata.cpp
smokedata.cpp:1:20: error: qaccel.h: No such file or directory
smokedata.cpp:2:21: error: qaction.h: No such file or directory
smokedata.cpp:3:26: error: qapplication.h: No such file or directory
smokedata.cpp:4:27: error: qasyncimageio.h: No such file or directory
[...]
smokedata.cpp:3532: error: expected primary-expression before "void"
smokedata.cpp:3532: error: expected `)' before "void"
smokedata.cpp:3533: error: 'QWizard' was not declared in this scope
smokedata.cpp:3533: error: expected primary-expression before "void"
smokedata.cpp:3533: error: expected `)' before "void"
make: *** [smokedata.o] Error 1


then, i think, make complains about not finding, for example, "qaccel.h"

i've read the MakeFile, giving :
QT_INCLUDES = -I/opt/local/include/qt3
QT_LDFLAGS = -L/opt/local/lib

i'm sure they are here...

what am I doing wrong ?
This topic is locked and can not be replied to.