LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-18-2006, 11:11 AM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
Need help compiling Quasar Accounting


I originally had alot of probs with my config, but got past that because I could understand the errors that were listed. Now I can't make. I don't understand what I need to do, can anbody clue me in?

Output of make:

cd utility && /usr/share/qt3/bin/qmake utility.pro -o Makefile
cd widget && /usr/share/qt3/bin/qmake widget.pro -o Makefile
cd business && /usr/share/qt3/bin/qmake business.pro -o Makefile
cd db_driver && /usr/share/qt3/bin/qmake db_driver.pro -o Makefile
cd database && /usr/share/qt3/bin/qmake database.pro -o Makefile
cd quasard && /usr/share/qt3/bin/qmake quasard.pro -o Makefile
cd quasar_clientd && /usr/share/qt3/bin/qmake quasar_clientd.pro -o Makefile
cd quasar_setup && /usr/share/qt3/bin/qmake quasar_setup.pro -o Makefile
cd repgen && /usr/share/qt3/bin/qmake repgen.pro -o Makefile
cd gui && /usr/share/qt3/bin/qmake gui.pro -o Makefile
cd quasar && /usr/share/qt3/bin/qmake quasar.pro -o Makefile
cd quasar_report && /usr/share/qt3/bin/qmake quasar_report.pro -o Makefile
cd quasar_import && /usr/share/qt3/bin/qmake quasar_import.pro -o Makefile
cd merge_tr && /usr/share/qt3/bin/qmake merge_tr.pro -o Makefile
cd model_editor && /usr/share/qt3/bin/qmake model_editor.pro -o Makefile
cd utility && make -f Makefile
make[1]: Entering directory `/home/snatale/quasar-1.4.7_GPL/utility'
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DLINUX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/tcl8.4 -I. -I/usr/share/qt3/include -Iobjs/ -o objs/config_file.o config_file.cpp
In file included from config_file.cpp:25:
config_file.h:33:21: error: qstring.h: No such file or directory
config_file.h:34:25: error: qstringlist.h: No such file or directory
config_file.cpp:28:18: error: qdom.h: No such file or directory
config_file.cpp:29:18: error: qdir.h: No such file or directory
config_file.cpp:30:19: error: qfile.h: No such file or directory
config_file.cpp:31:23: error: qfileinfo.h: No such file or directory
config_file.h:42: error: expected ',' or '...' before '&' token
config_file.h:42: error: ISO C++ forbids declaration of 'QString' with no type
config_file.h:43: error: expected ',' or '...' before '&' token
config_file.h:43: error: ISO C++ forbids declaration of 'QString' with no type
config_file.h:43: error: 'ConfigFile::ConfigFile(int)' cannot be overloaded
config_file.h:42: error: with 'ConfigFile::ConfigFile(int)'
config_file.h:47: error: 'QString' does not name a type
config_file.h:48: error: 'QString' does not name a type
config_file.h:51: error: 'QStringList' does not name a type
config_file.h:54: error: 'QString' does not name a type
config_file.h:68: error: expected ',' or '...' before '&' token
config_file.h:68: error: ISO C++ forbids declaration of 'QString' with no type
config_file.h:71: error: 'QString' does not name a type
config_file.h:74: error: 'QString' does not name a type
config_file.h:75: error: 'QString' does not name a type
config_file.h:76: error: expected ',' or '...' before '&' token
config_file.h:76: error: ISO C++ forbids declaration of 'QString' with no type
config_file.h:77: error: expected ',' or '...' before '&' token
config_file.h:77: error: ISO C++ forbids declaration of 'QString' with no type
config_file.h:80: error: 'QString' does not name a type
config_file.h:82: error: 'QString' does not name a type
config_file.h:83: error: 'QString' does not name a type
config_file.h:84: error: 'QString' does not name a type
config_file.h:88: error: 'QString' does not name a type
quasar_misc.h:33: error: 'QString' does not name a type
quasar_misc.h:36: error: 'QString' does not name a type
config_file.cpp:35: error: 'QString' does not name a type
config_file.cpp:37: error: expected ',' or '...' before '&' token
config_file.cpp:37: error: ISO C++ forbids declaration of 'QString' with no type
config_file.cpp: In constructor 'ConfigFile::ConfigFile(int)':
config_file.cpp:38: error: class 'ConfigFile' does not have any field named '_fileName'
config_file.cpp:38: error: 'fileName' was not declared in this scope
config_file.cpp:38: error: class 'ConfigFile' does not have any field named '_configDir'
config_file.cpp:38: error: '_defaultConfigDir' was not declared in this scope
config_file.cpp: At global scope:
config_file.cpp:37: warning: unused parameter 'QString'
config_file.cpp:42: error: expected ',' or '...' before '&' token
config_file.cpp:42: error: ISO C++ forbids declaration of 'QString' with no type
config_file.cpp:42: error: redefinition of 'ConfigFile::ConfigFile(int)'
config_file.cpp:37: error: 'ConfigFile::ConfigFile(int)' previously defined here
config_file.cpp: In constructor 'ConfigFile::ConfigFile(int)':
config_file.cpp:43: error: class 'ConfigFile' does not have any field named '_fileName'
config_file.cpp:43: error: 'fileName' was not declared in this scope
config_file.cpp:43: error: class 'ConfigFile' does not have any field named '_configDir'
config_file.cpp:43: error: 'configDir' was not declared in this scope
config_file.cpp: At global scope:
config_file.cpp:37: warning: unused parameter 'QString'
config_file.cpp:51: error: 'QString' does not name a type
config_file.cpp:57: error: 'QStringList' does not name a type
config_file.cpp:90: error: 'QString' does not name a type
config_file.cpp:101: error: 'QString' does not name a type
config_file.cpp:115: error: 'QString' does not name a type
config_file.cpp: In member function 'bool ConfigFile::canSave()':
config_file.cpp:141: error: 'QFileInfo' was not declared in this scope
config_file.cpp:141: error: expected `;' before 'info'
config_file.cpp:142: error: 'info' was not declared in this scope
config_file.cpp:145: error: 'QFile' was not declared in this scope
config_file.cpp:145: error: expected `;' before 'file'
config_file.cpp:146: error: 'file' was not declared in this scope
config_file.cpp:146: error: 'IO_ReadWrite' was not declared in this scope
config_file.cpp: In member function 'void ConfigFile::setPermissions(int, const char*, const char*)':
config_file.cpp:157: error: 'filePath' was not declared in this scope
config_file.cpp: At global scope:
config_file.cpp:161: error: expected ',' or '...' before '&' token
config_file.cpp:161: error: ISO C++ forbids declaration of 'QString' with no type
config_file.cpp: In static member function 'static void ConfigFile::setDefaultConfigDir(int)':
config_file.cpp:163: error: '_defaultConfigDir' was not declared in this scope
config_file.cpp:163: error: 'dir' was not declared in this scope
config_file.cpp: At global scope:
config_file.cpp:161: warning: unused parameter 'QString'
config_file.cpp:167: error: expected ',' or '...' before '&' token
config_file.cpp:167: error: ISO C++ forbids declaration of 'QString' with no type
config_file.cpp: In member function 'void ConfigFile::addNode(QDomDocument&, int)':
config_file.cpp:169: error: 'QDomElement' was not declared in this scope
config_file.cpp:169: error: expected `;' before 'e'
config_file.cpp:170: error: 'e' was not declared in this scope
config_file.cpp:170: error: invalid use of undefined type 'struct QDomDocument'
config_file.h:36: error: forward declaration of 'struct QDomDocument'
config_file.cpp:170: error: 'text' was not declared in this scope
config_file.cpp:171: error: invalid use of undefined type 'struct QDomDocument'
config_file.h:36: error: forward declaration of 'struct QDomDocument'
config_file.cpp: At global scope:
config_file.cpp:167: warning: unused parameter 'QString'
config_file.cpp:175: error: expected ',' or '...' before '&' token
config_file.cpp:175: error: ISO C++ forbids declaration of 'QString' with no type
config_file.cpp: In member function 'bool ConfigFile::error(int)':
config_file.cpp:177: error: invalid use of member (did you forget the '&' ?)
config_file.cpp:177: error: 'qWarning' was not declared in this scope
config_file.cpp:178: error: '_lastError' was not declared in this scope
config_file.cpp: At global scope:
config_file.cpp:175: warning: unused parameter 'QString'
config_file.cpp:182: error: 'QString' does not name a type
make[1]: *** [objs/config_file.o] Error 1
make[1]: Leaving directory `/home/snatale/quasar-1.4.7_GPL/utility'
make: *** [all] Error 2
 
Old 10-18-2006, 11:13 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
looks like you are still missing some header files that make is looking for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with Quasar Accounting? graystarr Linux - Software 0 05-03-2006 08:16 PM
Dependancy problems installing Quasar w Yast leupi Linux - Software 0 01-19-2006 08:03 AM
Help! All user accounts are gone after uninstalling quasar foxy123 Linux - Software 6 06-29-2005 07:08 PM
accounting software visiondream3 Linux - Software 5 05-26-2005 11:01 AM
volume accounting Tinkster Linux - Networking 2 01-30-2003 02:54 PM

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

All times are GMT -5. The time now is 07:44 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