qbrew - won't compile
I'm not a programmer and I'm hoping my problem will be obvious to someone. I'm running Redhat AS 4 and I'm trying to compile the latest qbrew using qt 3.3.8.
configure runs without any errors using:
sh ./configure --with-qt-dir=/opt/src/qt-x11-free-3.3.8/ --with-qt-libraries=/usr/lib/qt-3.3/lib
make keeps bombing with the following:
Making install in qbrew
make[1]: Entering directory `/opt/src/qbrew-0.3.0/qbrew'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/src/qt-x11-free-3.3.8//include -I/opt/src/qt-x11-free-3.3.8//include -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -c controller.cpp
In file included from controller.cpp:32:
stepstyle.h:106: error: expected `,' or `...' before '*' token
stepstyle.h:107: error: ISO C++ forbids declaration of `QScrollBar' with no type
stepstyle.h:109: error: expected `,' or `...' before '*' token
stepstyle.h:109: error: ISO C++ forbids declaration of `QScrollBar' with no type
stepstyle.h:111: error: `ScrollControl' does not name a type
stepstyle.h:129: error: expected `,' or `...' before '*' token
stepstyle.h:129: error: ISO C++ forbids declaration of `QTabBar' with no type
controller.cpp: In member function `void Controller::filePrint()':
controller.cpp:476: error: variable `QPainter painter' has initializer but incomplete type
controller.cpp: In member function `QString Controller::dataBase()':
controller.cpp:866: error: invalid use of undefined type `struct QRegExp'
/opt/src/qt-x11-free-3.3.8//include/qcstring.h:140: error: forward declaration of `struct QRegExp'
controller.cpp: In member function `QString Controller::docBase()':
controller.cpp:885: error: invalid use of undefined type `struct QRegExp'
/opt/src/qt-x11-free-3.3.8//include/qcstring.h:140: error: forward declaration of `struct QRegExp'
make[1]: *** [controller.o] Error 1
make[1]: Leaving directory `/opt/src/qbrew-0.3.0/qbrew'
make: *** [install-recursive] Error 1
|