LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help compiling Quasar Accounting (https://www.linuxquestions.org/questions/linux-software-2/need-help-compiling-quasar-accounting-493536/)

snatale1 10-18-2006 11:11 AM

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

jstephens84 10-18-2006 11:13 AM

looks like you are still missing some header files that make is looking for.


All times are GMT -5. The time now is 07:43 PM.