Click to See Complete Forum and Search --> : How to install simple games
X_shadow_X
03-29-2003, 04:45 PM
I try to install from witch are packed with tar.gz. I unzip it in the same /home directory. Later i open xterm and do this: (including readme)
root@X_shadow_X:~# cd games name
root@X_shadow_X:~# games name: ./configure
root@X_shadow_X:~# games name: make
root@X_shadow_X:~# games name: make install
But unfortunately after make (./configure works fine) i get error messages mostly it says need SDL_mixer i download it but i didn't understand how to install it from source.
I have to say that i didn't understand how to install tar.gz packages at all, because i always get error messages ( i have installed only xine, somehow)
I hope you will help me, because in www.google.com/linux i can find only thous commands ./configure, make, make install
I would like to understand how to install tar.gz
sorry for English
:confused:
viperlin
03-29-2003, 05:33 PM
compiling programs requires development packages to be installed, what Distro are you using?
X_shadow_X
03-29-2003, 05:34 PM
Slackware 9
viperlin
03-29-2003, 05:56 PM
to be able to compile programs that require other programs yoy need development packages installed
in your case you need "SDL_mixer" and "SDL_mixer-devel" installed to get rid of the errors and enjoy the game with sound.
Sepero
03-29-2003, 06:07 PM
Originally posted by X_shadow_X
I try to install from witch are packed with tar.gz. I unzip it in the same /home directory. Later i open xterm and do this: (including readme)
root@X_shadow_X:~# cd games name
root@X_shadow_X:~# games name: ./configure
root@X_shadow_X:~# games name: make
root@X_shadow_X:~# games name: make install
But unfortunately after make (./configure works fine) i get error messages mostly it says need SDL_mixer i download it but i didn't understand how to install it from source.
I have to say that i didn't understand how to install tar.gz packages at all, because i always get error messages ( i have installed only xine, somehow)
I hope you will help me, because in www.google.com/linux i can find only thous commands ./configure, make, make install
I would like to understand how to install tar.gz
sorry for English
:confused:
You sound like a linux newbie trying Slack as your first distrobution(should have went with Debian). Anyways, I can sympathize with you because it was my first ditro too. :p
To install a package in Slackware use:
installpkg <package_name>.tgz
To upgrade a package:
upgradepkg <new_package_name>.tgz
-or-
upgradepkg <old_package_name>%<new_package_name>.tgz
And to view all your nice packages(or uninstall packages):
pkgtool
If you need more help, you will have to send us the exact errors you get. To save your errors to file, type:
[command] 2> [textfile]
examples:
make 2> make_errors.txt
-or-
make install 2> make_install_errors.txt
-----------------------------------------------------------------------------
The reason I got Slack as my first distro was for 2 reasons:
1) Slow 56k modem
2) I "really" wanted to learn about linux (not just another pretty desktop)
If I had it to do over again, I would have found a way to get debian. Debian's packaging system is clearly superior to almost all others. I recommend it if you are able to get it.
X_shadow_X
03-30-2003, 12:29 PM
this is what i get when try to install SDL_mixer-1.2.5 from Source (after make)
make[1]: *** [common.lo] Error 127
make[1]: Leaving directory `/home/SDL_mixer-1.2.5/timidity'
make: *** [all-recursive] Error 1
root@X_shadow_X:/home/SDL_mixer-1.2.5#
another thing is how to uninstall files witch i installed from source
bwkaz
03-30-2003, 01:56 PM
OK, so make is reporting an error. So ... err... why is make seeing an error?
Post more. gcc will have reported the error that made make error out. We'll need to see that to know why you're getting an error.
X_shadow_X
03-30-2003, 02:19 PM
root@X_shadow_X:/home/SDL_mixer-1.2.5# make
Making all in mikmod
make[1]: Entering directory `/home/SDL_mixer-1.2.5/mikmod'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/SDL_mixer-1.2.5/mikmod'
Making all in timidity
make[1]: Entering directory `/home/SDL_mixer-1.2.5/timidity'
source='common.c' object='common.lo' libtool=yes \
depfile='.deps/common.Plo' tmpdepfile='.deps/common.TPlo' \
depmode=none /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.5\" -I. -I. -g -O2 -I/usr/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I../mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I../timidity -DOGG_MUSIC -c -o common.lo `test -f 'common.c' || echo './'`common.c
../depcomp: ../depcomp: No such file or directory
make[1]: *** [common.lo] Error 127
make[1]: Leaving directory `/home/SDL_mixer-1.2.5/timidity'
make: *** [all-recursive] Error 1
bwkaz
03-30-2003, 02:43 PM
OK... that's odd... my copy of SDL_mixer 1.2.5 (I had 1.2.4, but tried 1.2.5 to see if something had changed) doesn't use depcomp to do that. It just runs libtool, which runs the compilation. Your version, for some reason, is trying to execute a depcomp program in the SDL_mixer-1.2.5 root. Which doesn't exist.
What did you do, starting from the moment you unpacked the source? I just ran ./configure --prefix=/usr, then make -- did you try using autoconf or automake or any of those? Did you try running the autogen.sh script? You don't have to do any of that...