LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2007, 01:13 PM   #1
jbeiter
Member
 
Registered: Jul 2004
Posts: 105

Rep: Reputation: 15
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
 
Old 02-27-2007, 11:21 AM   #2
jbeiter
Member
 
Registered: Jul 2004
Posts: 105

Original Poster
Rep: Reputation: 15
No hints?

The docs say that you need to install qt >2.2 but less than 4.x... should I try a different version of Qt?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: QBrew: Home-brewed software for home brewers LXer Syndicated Linux News 0 11-07-2006 01:24 AM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
Can't compile anything simeandrews Mandriva 17 01-13-2005 07:58 PM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
how to compile x for use on another pc??? markkreuzz Red Hat 1 03-03-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration