 aefstoggaflmOpen Source FanPremium join:2002-03-04 Bethlehem, PA kudos:2 Reviews:
·Verizon Online DSL
| Want help making The Legend of Edgar I went to »www.happypenguin.org/show?The%20···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 -- Please use the "yellow (IM) envelope" to contact me and please leave the URL intact. |
|
 Host: Wireless Networking All Things Unix Cox HSI Efficient Southwest Chat
| 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 |
|
 aefstoggaflmOpen Source FanPremium join:2002-03-04 Bethlehem, PA kudos:2 Reviews:
·Verizon Online DSL
| 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.

-- Please use the "yellow (IM) envelope" to contact me and please leave the URL intact. |
|
 Host: Wireless Networking All Things Unix Cox HSI Efficient Southwest Chat
| 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? |
|
 | reply to aefstoggaflm You need to install SDL (dev), SDL_Mixer (dev), SDL_Image (dev), SDL_TTF (dev) and GNU gettext. |
|
 aefstoggaflmOpen Source FanPremium join:2002-03-04 Bethlehem, PA kudos:2 Reviews:
·Verizon Online DSL
| 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 -- Please use the "yellow (IM) envelope" to contact me and please leave the URL intact. |
|
 piperPremium join:2001-04-19 Buffalo, NY | apt-cache search sdl
should be a starting point |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | reply 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. |
|
|
|
 aefstoggaflmOpen Source FanPremium join:2002-03-04 Bethlehem, PA kudos:2 Reviews:
·Verizon Online DSL
| 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... -- Please use the "yellow (IM) envelope" to contact me and please leave the URL intact. |
|
 Reviews:
·Comcast
| 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. |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | reply 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. |
|