1 (edited by NeverHacker 2015-12-11 18:31:57)

Topic: Help to install Neverball 1.6.0 in Linux Mint

Hello everyone, this is my second trip to planet earth and I plan a great holiday.
I tell them that I want to install Neverball 1.6.0, the .tar.gz file of the official website, the problem is when I try to install it (I am new to Linux) by the way I have Linux Mint Maya, Now... I'll tell you step by step what I did and correct me what I did wrong or I need to do:

I converted neverball-1.6.0.tar.gz  to .deb file, (sudo alien -d neverball-1.6.0.tar.gz )
-dpkg -i neverball_1.6.0-2_all.deb
-After, the folder appeared in  /, and I don't saw no change and file to run the game.
-Try with

mkdir build
cd build
../configure
make
sudo make install

, but I failed

I have all REQUIREMENTS:

    SDL 2.0           http://libsdl.org/download-2.0.php
    SDL2_ttf          http://libsdl.org/projects/SDL_ttf/
    PhysicsFS         http://icculus.org/physfs/
    libvorbis         http://xiph.org/vorbis/
    libpng            http://libpng.org/pub/png/libpng.html
    libjpeg           http://ijg.org/

I installed all the same way, I do not know if it's correct, but I did it this way:
SDL 2.0:

hg clone https://hg.libsdl.org/SDL SDL
cd SDL
mkdir build
cd build
../configure
make
sudo make install

libvorbis: Download the .tar.gz file

mkdir build
cd build
../configure
make
sudo make install

I did this process with all downloaded files. The result, a lot of folders in home. About to enter the make command to the neverball folder:

/neverball-1.6.0 $ make
Will make a "release" build of Neverball 1.6.0.
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -MM -MP -MF share/st_common.d -MT "share/st_common.o" share/st_common.c
<interno>:0:0: error fatal: abriendo el fichero de dependencias share/st_common.d: Permiso denegado
compilación terminada.
make: *** [share/st_common.o] Error 1

http://i112.photobucket.com/albums/n196/jwinklba/revolution.jpg

I hope you can help me, thanks

¿what´s up? *Gus

2

Re: Help to install Neverball 1.6.0 in Linux Mint

Penguin is always death. Has Batman taught you nothing?

Your last attempt created files that are owned by root. That's why you don't have permission. Try this:

$ sudo make clean
$ make

3

Re: Help to install Neverball 1.6.0 in Linux Mint

$ sudo make clean

Has worked...
Still it does not work when I try with:

$ sudo make

this occurs:

Will make a "release" build of Neverball 1.6.0.
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -MM -MP -MF share/lang.d -MT "share/lang.o" share/lang.c
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -o share/lang.o -c share/lang.c
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -MM -MP -MF share/st_common.d -MT "share/st_common.o" share/st_common.c
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -o share/st_common.o -c share/st_common.c
In file included from share/solid_draw.h:18:0,
                 from share/geom.h:4,
                 from share/st_common.c:21:
share/glext.h:29:19: error fatal: GL/gl.h: No existe el archivo o el directorio
compilación terminada.
make: *** [share/st_common.o] Error 1
¿what´s up? *Gus

4

Re: Help to install Neverball 1.6.0 in Linux Mint

Use the package manager to install an OpenGL headers package.

Also, don't use sudo for anything. Use it only with "sudo make clean" if you get "Permiso denegado".

5 (edited by NeverHacker 2015-12-12 16:02:24)

Re: Help to install Neverball 1.6.0 in Linux Mint

I installed the SDL_ttf libraries and continued the installation big_smile, but again occurred, now physfs:

Will make a "release" build of Neverball 1.6.0.
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -MM -MP -MF share/fs_physfs.d -MT "share/fs_physfs.o" share/fs_physfs.c
cc -Wall -Wshadow -std=c99 -pedantic -O2 -I/usr/local/include/SDL2 -D_REENTRANT -I/usr/local/include/libpng16 -Ishare -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"./data\" -DCONFIG_LOCALE=\"./locale\" -DENABLE_NLS=1 -DNDEBUG  -o share/fs_physfs.o -c share/fs_physfs.c
share/fs_physfs.c:18:20: error fatal: physfs.h: No existe el archivo o el directorio
compilación terminada.
make: *** [share/fs_physfs.o] Error 1

I have this folder in ~, but needs to be installed, for this I had to download cmake but still do not know how to use it. Let available the text document  of installation. Please Read it and can help me.

Post's attachments

INSTALL.txt 5.19 kb, 26 downloads since 2015-12-12 

¿what´s up? *Gus

6

Re: Help to install Neverball 1.6.0 in Linux Mint

Well, just follow the instructions. They are clearly explained in that file.

7

Re: Help to install Neverball 1.6.0 in Linux Mint

Still do not understand how to do that, it's useless

¿what´s up? *Gus

8

Re: Help to install Neverball 1.6.0 in Linux Mint

NeverHacker wrote:

Still do not understand how to do that, it's useless

Mint Linux uses either Ubuntu repositories, or Debian.

Either way, you should easily be able to install requirements by installing -dev packages.

They will have nearly identical names as the binary install... eg:

sudo apt-get update
sudo apt-get install libsdl2_X.xx
sudo apt-get install libsdl2-dev_X.xx

it's been a while since I used Mint Linux, but it is really that easy. You will need the OpenGL headers, which (if you are using Intel, or open source drivers, will probably be in Mesa packages. Headers for AMD/NVIDIA are usually installed with proprietary driver.

Currently Playing:
Dustforce (dustmod) and Risk of Rain

9

Re: Help to install Neverball 1.6.0 in Linux Mint

Neverball 1.5.x is in the repository and still a great game. I would love to have 1.6.0 on Mac OS X, but it's a bit too buggy, especially fullscreen :-(

Also, when you use ./configure you should type ./configure --help and see what extra options you can enable/disable.

I always use (without exception):

./configure --prefix=/usr sysconfdir=/etc

Currently Playing:
Dustforce (dustmod) and Risk of Rain

10

Re: Help to install Neverball 1.6.0 in Linux Mint

I'm sorry, but my noob problems of Linux,I had to recover the system and all data and libraries were erased. finish

¿what´s up? *Gus