Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Misc > Configuring and compiling...again.

Forgot Password?
 Misc   Any questions or Linux discussion that does not fit in any of the other technical areas.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-06-2007   #1 (permalink)
Just 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:
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
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.

Thanks,
BigFoot
BigFoot13 is offline  



Reply With Quote
Old 02-06-2007   #2 (permalink)
tpl
Linux User
 
Join Date: Jan 2007
Location: cleveland
Posts: 382
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.html
__________________
the sun is new every day (heraclitus)
tpl is offline   Reply With Quote
Old 02-06-2007   #3 (permalink)
Just 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.
BigFoot13 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:03 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1