LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-24-2007, 08:16 PM   #1
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 84
Installing Neverball or Neverputt


It's possible to install other things but Neverball and Neverputt is a problem.

http://www.osnews.com/story.php/1163...4-Hoary/page2/

I did try
sudo apt-get install neverball

and gives me

vrej@vrej-desktop:~$ sudo apt-get install neverball
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package neverball
vrej@vrej-desktop:~$

vrej@vrej-desktop:~$ sudo apt-get install neverputt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package neverputt
vrej@vrej-desktop:~$

I downloaded the source code from the site

vrej@vrej-desktop:~/neverball-1.4.0$ make
cc -Wall -O3 -ansi -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Ishare -o share/image.o -c share/image.c
share/image.c:16:25: error: SDL/SDL_ttf.h: No such file or directory
In file included from share/image.c:22:
share/image.h:5:21: error: SDL_ttf.h: No such file or directory
In file included from share/image.c:22:
share/image.h:22: error: expected declaration specifiers or ‘...’ before ‘TTF_Font’
share/image.c:270: error: expected declaration specifiers or ‘...’ before ‘TTF_Font’
share/image.c: In function ‘make_image_from_font’:
share/image.c:284: warning: implicit declaration of function ‘TTF_RenderText_Blended’
share/image.c:284: error: ‘font’ undeclared (first use in this function)
share/image.c:284: error: (Each undeclared identifier is reported only once
share/image.c:284: error: for each function it appears in.)
share/image.c:284: warning: assignment makes pointer from integer without a cast
make: *** [share/image.o] Error 1
vrej@vrej-desktop:~/neverball-1.4.0$


SDL is already installed on my system but I don't have SDL/SDL_ttf.h
Perhaps Neverball source code is too old and the new SDL doesn't need that file anymore.

Anyway, I prefer the binary.
 
Old 04-24-2007, 08:53 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
you may have to install some library named SDL_ttf. try and install a version from your package manager or from a binary installer that is built for your linux distribution, before compiling it from source.

Last edited by nadroj; 04-24-2007 at 08:54 PM.
 
Old 04-24-2007, 11:26 PM   #3
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
Quote:
Originally Posted by nadroj
you may have to install some library named SDL_ttf. try and install a version from your package manager or from a binary installer that is built for your linux distribution, before compiling it from source.
Well, looks like I had the rest of SDL but SDL_ttf was missing so apt-get installed that thing.

There are some other things I don't understand. When I run make, there were error messages from several files about

#include <SDL.h>

I had to convert these to

#include <SDL/SDL.h>

and the same goes for the other SDL files. Ok, that minor problem was fixed and compilation works.

I did ./neverball and ./neverputt in the console

./neverball: No available video device

but Doom 3 works fine.
I also have something called pouetchess that I just installed, and this uses GL too I think.
Just that it sucks because it crashes as soon as I move a peice.
 
Old 04-25-2007, 12:04 AM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
not sure what to do about your error with neverball, check the website or their documentation to see how to configure it.
 
Old 04-25-2007, 10:27 AM   #5
jughead
Member
 
Registered: Jun 2005
Distribution: Kubuntu 7.10
Posts: 65

Rep: Reputation: 15
did you enable the correct repositories? neverball and Neverputt show up for me; it seems to be a repo issue.
 
Old 04-25-2007, 07:53 PM   #6
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
Quote:
Originally Posted by jughead
did you enable the correct repositories? neverball and Neverputt show up for me; it seems to be a repo issue.
I haven't changed anything my system. I applied all the updates available today.
This time, I decided to use the GUI to install Neverball, using th Add/Remove program thing and it worked.
By default, Add/Remove doesn't show Neverball so doing a search did the trick.

SOLVED
 
  


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
How do I get Neverputt running mattjohnstone22 Linux - Games 20 03-01-2007 06:12 PM
slow neverball in vector 5.1, (X used at 90%) fine in Mandy Emmanuel_uk Linux - Games 1 01-24-2006 11:58 AM
Updating Neverball? Kamex SUSE / openSUSE 3 02-23-2005 11:43 AM
Neverball/Neverputt.....new versions!! 320mb Linux - Games 1 02-19-2005 02:02 AM
neverputt zulik Linux - Games 2 10-03-2004 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:51 PM.

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