Page 1 of 2

Problem with "make install"

Posted: Wed Aug 04, 2010 5:41 am
by luizcsm

Code: Select all

luizcsm@luizcsm-laptop:~/Download/nova/2.6.x$ sudo make install
[sudo] password for luizcsm: 
######################################
# Thank you for installing egoboo! 
#
# The default install of egoboo will require the commandline 
#     "sudo make install"
# and the required password
#
# If you do not have root access on this machine, 
# you can specify a prefix on the command line: 
#     "make install PREFIX=$HOME/.local"
# where the environment variable PREFIX specifies a
# virtual root for your installation. In this example,
# it is a local installation for this username only.
#
mkdir -p /usr/games
install -m 755 ./game/egoboo-2.x /usr/games
mkdir -p /usr/share/games/egoboo-2.x
cp -rdf ./basicdat /usr/share/games/egoboo-2.x
cp -rdf ./modules /usr/share/games/egoboo-2.x
mkdir -p /home/luizcsm/.egoboo-2.x
cp -rdf ./players /home/luizcsm/.egoboo-2.x
mkdir -p /usr/etc/egoboo-2.x
cp -rdf setup.txt /usr/etc/egoboo-2.x/setup.txt
cp -rdf controls.txt /usr/etc/egoboo-2.x/controls.txt
cp -rdf ./game/egoboo-2.x.sh /home/luizcsm
cp: impossível obter estado de `./game/egoboo-2.x.sh': Arquivo ou diretório não encontrado
make: ** [install] Erro 1
luizcsm@luizcsm-laptop:~/Download/nova/2.6.x$ 
Hello!

I used to play egoboo in Windows but I'm trying to use Linux now (Ubuntu 10.04).

I installed required packages then compiled the game. Everything went well, but i got the error above after trying to use 'make install' command. Translation to the English:

Code: Select all

cp: impossible to get status of `./game/egoboo-2.x.sh': File or folder not found
make: ** [install] Error 1
I downloaded sources from Revision 1164: /branches/2.6.x

Can somebody help me?

Thanks. Yours, LC.

Posted: Wed Aug 04, 2010 7:38 am
by bgbirdsey
This file has been removed from the svn without modifying the makefile. Sorry, our Linux support is not up-to-date.

Posted: Wed Aug 04, 2010 1:00 pm
by luizcsm
Which version can I use to have some fun?

I tried to download latest stable release but I can't extract the package. It's corrupted (CRC error while extracting).

Yours, LC.

Posted: Wed Aug 04, 2010 7:09 pm
by penguinflyer5234
luizcsm wrote:I tried to download latest stable release but I can't extract the package. It's corrupted (CRC error while extracting).
Known Ubuntu bug in gzip, not our problem.

As for ./egoboo-2.x.sh not there, I didn't think that it was actually being installed and it isn't used anymore, so I deleted it. :?

Just remove that line in Makefile that installs the file.

[edit]Fixed in rev 1165.

Posted: Thu Aug 05, 2010 1:59 am
by luizcsm

Code: Select all

root@luizcsm-laptop:/usr/games# ./egoboo-2.x
Initializing filesystem services...
Game directories are:
	Binaries: /usr/games/
	Data: /usr/share/games/egoboo-2.x/
	User Data: /root/.egoboo-2.x/
	Config Files: /usr/etc/egoboo-2.x/
root@luizcsm-laptop:/usr/games#
Need help here =p

Posted: Thu Aug 05, 2010 2:04 am
by bgbirdsey
check "/root/.egoboo-2.x/debug/log.txt" for errors

Posted: Thu Aug 05, 2010 2:07 am
by luizcsm
Edit: It's not a "make install" problem now. Creating another topic.

Thanks for the help.

Posted: Fri Aug 20, 2010 11:07 am
by TheUnknownGuy
penguinflyer5234 wrote:
luizcsm wrote:I tried to download latest stable release but I can't extract the package. It's corrupted (CRC error while extracting).
Known Ubuntu bug in gzip, not our problem.

As for ./egoboo-2.x.sh not there, I didn't think that it was actually being installed and it isn't used anymore, so I deleted it. :?

Just remove that line in Makefile that installs the file.

[edit]Fixed in rev 1165.
Just wanted to comment on this one: I've found that whereas the default compressed files manager fails to work, the "ark" application is able to open them just fine:
http://packages.ubuntu.com/dapper/ark

Posted: Fri Aug 20, 2010 12:09 pm
by Zefz
Thanks! we will tell other people who encounter this problem.

Posted: Wed Aug 25, 2010 5:53 pm
by Maxaxle
Zefz wrote:Thanks! we will tell other people who encounter this problem.
Like me?
*downloads and installs Ark*
EDIT: Now all I get is Error 1 (directory does not exist). Great.

same problem here -Almost

Posted: Thu Sep 02, 2010 7:00 am
by Ben
Hello somebody:
I just registered in order to get help getting this game installed on my system.
It runs Fedora 13, i686, alone, on a lenovo.
Had read other posts about this, but cannot find the answer on what I'm missing.
Read also the instructions that came with the tarball.
I installed everything the source requires in order to compile (maybe Im still missing something that is not specified on the TXT/README or PDF files).
Here is my last command in terminal:

Code: Select all

[U@turdy Egoboo 2.8.0]$ make all
make -C ./game all PREFIX=/usr PROJ_NAME=egoboo-2.x
make[1]: entering directory `/home/U/Egoboo 2.8.0/game'
gcc -o egoboo-2.x bbox.o bsp.o camera.o char.o client.o clock.o collision.o egoboo_console.o egoboo_endian.o egoboo_fileutil.o egoboo_math.o egoboo_setup.o egoboo_strutil.o egoboo_typedef.o egoboo_vfs.o enchant.o file_common.o font_bmp.o font_ttf.o game.o graphic.o graphic_fan.o graphic_mad.o graphic_prt.o hash.o input.o lighting.o link.o log.o mad.o md2.o menu.o mesh.o network.o particle.o passage.o profile.o quest.o script.o script_compile.o script_functions.o server.o sound.o texture.o ui.o egoboo.o physics.o egoboo_process.o ChrList.o EncList.o PrtList.o egoboo_object.o file_formats/cap_file.o file_formats/configfile.o file_formats/controls_file.o file_formats/eve_file.o file_formats/id_md2.o file_formats/module_file.o file_formats/mpd_file.o file_formats/passage_file.o file_formats/pip_file.o file_formats/scancode_file.o file_formats/SDL_md2.o file_formats/spawn_file.o file_formats/template.o file_formats/wawalite_file.o extensions/ogl_debug.o extensions/ogl_extensions.o extensions/ogl_include.o extensions/ogl_texture.o extensions/SDL_extensions.o extensions/SDL_GL_extensions.o platform/file_linux.o platform/sys_linux.o -lSDL -lpthread -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -Os -Wall -DPREFIX=\"/usr\" -D_NIX_PREFIX -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform
/usr/bin/ld: camera.o: undefined reference to symbol 'sincosf@@GLIBC_2.1'
/usr/bin/ld: note: 'sincosf@@GLIBC_2.1' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned exit state 1
make[1]: *** [egoboo-2.x] Error 1
make[1]: exiting directory `/home/U/Egoboo 2.8.0/game'
make: *** [egoboo] Error 2
(I translated some of the sentences from Spanish to English)
I got stuck there. And I cannot advance because of this error. PLease help.
Thank you.

Posted: Fri Sep 03, 2010 12:38 am
by penguinflyer5234
...huh. add -lm to LDFLAGS in game/Makefile

I dunoo what ld spat out at the end though...

Posted: Fri Sep 03, 2010 12:51 am
by bgbirdsey
the function sincosf is not directly used in the program, which means that it has been added by the compiler. If the linker is complaining, then you may be missing something in your gcc installation. Make sure you have build-essential installed, since that seems to be a common problem with building under linux.

Posted: Sat Sep 04, 2010 12:57 am
by penguinflyer5234
build-essential is Ubuntu, birdy, not Fedora...

Posted: Sat Sep 04, 2010 1:07 am
by bgbirdsey
Whatever, there is a base library missing, which indicates an incomplete gcc install.