dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
884

aefstoggaflm
Open Source Fan
Premium Member
join:2002-03-04
Bethlehem, PA
Linksys E4200
ARRIS SB6141

aefstoggaflm

Premium Member

Want help making The Legend of Edgar

I went to »www.happypenguin.org/sho ··· comments

But I have a hard time trying to make clean && make && make install.

Here is the output from that command...
quote:
*@*:~/Desktop/non-dfsg-edgar-1.05$ make clean && make && make install
rm -f edgar mapeditor pak po_creator tile_creator edgar.pak locale/cs.mo locale/de.mo locale/el.mo locale/en_US.mo locale/es.mo locale/fr.mo locale/hi.mo locale/it.mo locale/ja.mo locale/ms.mo locale/pl.mo locale/pt_BR.mo locale/pt.mo locale/ru.mo locale/sk.mo locale/uk.mo locale/zh_CN.mo tile_creator *.o makefile.dep
makefile:189: makefile.dep: No such file or directory
for i in src/*.c src/*/*.c; do gcc -MM "${i}"; done > makefile.dep
src/headers.h:46:21: fatal error: SDL/SDL.h: No such file or directory
compilation terminated.
make: *** [makefile.dep] Error 1
*@*:~/Desktop/non-dfsg-edgar-1.05$

I even tried sudo make clean && make && make install, but no go

Thanks

No_Strings

join:2001-11-22
The OC

No_Strings

Do you have the kernel source and/or headers installed? I think that's the issue.

Did you make the changes for 64-bit compilation suggested in the link? (assuming you're running 64-bit)

You can isolate the problem a bit by separating the steps:

make clean
make
sudo make install

aefstoggaflm
Open Source Fan
Premium Member
join:2002-03-04
Bethlehem, PA
Linksys E4200
ARRIS SB6141

aefstoggaflm

Premium Member

Ok.

#3 The output from those commands..

a) make clean
rm -f edgar mapeditor pak po_creator tile_creator edgar.pak locale/cs.mo locale/de.mo locale/el.mo locale/en_US.mo locale/es.mo locale/fr.mo locale/hi.mo locale/it.mo locale/ja.mo locale/ms.mo locale/pl.mo locale/pt_BR.mo locale/pt.mo locale/ru.mo locale/sk.mo locale/uk.mo locale/zh_CN.mo tile_creator *.o makefile.dep

b) make
makefile:189: makefile.dep: No such file or directory
for i in src/*.c src/*/*.c; do gcc -MM "${i}"; done > makefile.dep
src/headers.h:46:21: fatal error: SDL/SDL.h: No such file or directory
compilation terminated.

c) sudo make install
[sudo] password for *:
gcc -Wall -pedantic -DVERSION=1.05 -DRELEASE=1 -DDEV=0 -DINSTALL_PATH=\"/usr/share/games/edgar/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DPAK_FILE=\"edgar.pak\" -DUNIX=1 -c -s
gcc: fatal error: no input files
compilation terminated.
make: *** [draw.o] Error 4

#2 No, I am just trying to compile it.

#1 Unknown at this time, checking..

[EDIT] Headers, yes.



No_Strings

join:2001-11-22
The OC

No_Strings

For future reference, there's no value in running make install if you have an error in the make step. The stuff you want to install isn't baked.

As for the error, do you have SDL installed? It's listed as a dependency.

Can you post the portion of the make script around line 189, starting a few lines before?

riksweeney
@wcg.co.uk

riksweeney to aefstoggaflm

Anon

to aefstoggaflm
You need to install SDL (dev), SDL_Mixer (dev), SDL_Image (dev), SDL_TTF (dev) and GNU gettext.

aefstoggaflm
Open Source Fan
Premium Member
join:2002-03-04
Bethlehem, PA
Linksys E4200
ARRIS SB6141

aefstoggaflm

Premium Member

said by riksweeney :

You need to install SDL (dev), SDL_Mixer (dev), SDL_Image (dev), SDL_TTF (dev) and GNU gettext.

Ok.

How can I do that on my distro of Unix/Linux?
quote:
*@*:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
*@*:~$

Thanks

piper
Premium Member
join:2001-04-19
Buffalo, NY

piper

Premium Member

apt-cache search sdl

should be a starting point

Maxo
Your tax dollars at work.
Premium Member
join:2002-11-04
Tallahassee, FL

Maxo to aefstoggaflm

Premium Member

to aefstoggaflm
sudo apt-get install libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev

I got this by type in "sudo apt-get install libsdl" and then pressing the tab key twice.

aefstoggaflm
Open Source Fan
Premium Member
join:2002-03-04
Bethlehem, PA
Linksys E4200
ARRIS SB6141

aefstoggaflm

Premium Member

output.zip
6,528 bytes
Ok, I did that and that worked.

I tried the command(s) again.

Here is a zip file containing the output from each of those commands...

rolfp
no-shill zone
Premium Member
join:2011-03-27
Oakland, CA

1 recommendation

rolfp

Premium Member

make: msgfmt: Command not found

[rolf@localhost ~]$ which msgfmt
/usr/bin/msgfmt
[rolf@localhost ~]$ rpm -qf /usr/bin/msgfmt
gettext-0.18.1.1-2-mdv2011.0.x86_64
 

You're missing a program. Here, it's in gettext, which, I think, was mentioned before as a dependency.

Don't need to be root to do make. Not in all the software I had the machine compile, anyway.

Maxo
Your tax dollars at work.
Premium Member
join:2002-11-04
Tallahassee, FL

1 recommendation

Maxo to aefstoggaflm

Premium Member

to aefstoggaflm
Install gettext, don't run make as root (only make install), and if make doesn't complete successfully, don't try to run make install as it will absolutely fail.