Results 1 to 3 of 3
Hi all,
I previously asked a question about the good old configuring and compiling. Well, I have another. I can't seem to figure out what is going wrong when I ...
- 02-06-2007 #1Just Joined!
- Join Date
- Nov 2006
- Location
- ~/
- Posts
- 40
Configuring and compiling...again.
Hi all,
I previously asked a question about the good old configuring and compiling. Well, I have another. I can't seem to figure out what is going wrong when I do "make" when trying to install KPacman, a game I downloaded from sourceforge.net. Here is the info:
I have done it through the command line, and through various GUI programs designed for installing tarballs. Both give the same result. All help is appreciated.Code:make all-recursive make[1]: Entering directory `/tmp/kpacman-0.3.2--20070205214612/kpacman-0.3.2' Making all in kpacman make[2]: Entering directory `/tmp/kpacman-0.3.2--20070205214612/kpacman-0.3.2/kpacman' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT kpacmanview.o -MD -MP -MF ".deps/kpacmanview.Tpo" \ -c -o kpacmanview.o `test -f 'kpacmanview.cpp' || echo './'`kpacmanview.cpp; \ then mv ".deps/kpacmanview.Tpo" ".deps/kpacmanview.Po"; \ else rm -f ".deps/kpacmanview.Tpo"; exit 1; \ fi cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from score.h:18, from kpacmanview.h:30, from kpacmanview.cpp:27: painter.h:11:19: error: qlist.h: No such file or directory In file included from painter.h:15, from score.h:18, from kpacmanview.h:30, from kpacmanview.cpp:27: board.h:4:20: error: qarray.h: No such file or directory In file included from kpacmanview.h:31, from kpacmanview.cpp:27: referee.h:13:22: error: qbitarry.h: No such file or directory referee.h:93: error: field ‘gameState’ has incomplete type make[2]: Leaving directory `/tmp/kpacman-0.3.2--20070205214612/kpacman-0.3.2/kpacman' make[1]: Leaving directory `/tmp/kpacman-0.3.2--20070205214612/kpacman-0.3.2' make[2]: *** [kpacmanview.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Thanks,
BigFoot
- 02-06-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
well, most seriously, the compiler is telling you three
header files are missing, namely qlist.h, qarray.h and
qbitarry.h. Those sound like parts of the source code
for KPacman, or some supporting libraries--maybe Qt.
Is there a "readme" or an "INSTALL" file? Can you run
"./configure" or ". ./configure"?
Did you read this?
http://kpacman.sourceforge.net/installation.htmlthe sun is new every day (heraclitus)
- 02-06-2007 #3Just Joined!
- Join Date
- Nov 2006
- Location
- ~/
- Posts
- 40
Thanks. I have followed the instructions, and got the same error when getting to the make section. How can I install the necessary headers? I checked in my package manager and have the Qt libraries.


Reply With Quote