Forums » StepMania Releases » Installing SM5 on Linux

git reset --hard HEAD


That should reset the changes you made, so you'll be able to pull.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
git reset --hard HEAD


That should reset the changes you made, so you'll be able to pull.

This will reset the file ID target thingy and disregard that same file to be looks like. and it will make it works because as you reset it, the target will be treated as new target. thx for your help buddy! :D
Tips: add this workaround function on some short instruction post such as main instruction, news, etc. in case people experiencing this same problem. important on a pre-update from old step!
The Founder of Perkedel Corporation
Reply
git reset --hard HEAD


That should reset the changes you made, so you'll be able to pull.

This will reset the file ID target thingy and disregard that same file to be looks like. and it will make it works because as you reset it, the target will be treated as new target. thx for your help buddy! :D
Tips: add this workaround function on some short instruction post such as main instruction, news, etc. in case people experiencing this same problem. important on a pre-update from old step!
The Founder of Perkedel Corporation
Reply
Hi! I'm new here and new to Linux(made the switch from Windows 1 months ago).
I'm trying to install Stepmania, I got several error during the installation(pkg needed), but now I don't know what to do. I always get this message:
CMake Error at /usr/local/share/cmake-3.4/Modules/ExternalProject.cmake:1890 (message):
No download info given for 'ffmpeg' and its source directory:

/home/tublatanka/stepmania/extern/ffmpeg-git

is not an existing non-empty directory. Please specify one of:

* SOURCE_DIR with an existing non-empty directory
* URL
* GIT_REPOSITORY
* HG_REPOSITORY
* CVS_REPOSITORY and CVS_MODULE
* SVN_REVISION
* DOWNLOAD_COMMAND
Call Stack (most recent call first):
/usr/local/share/cmake-3.4/Modules/ExternalProject.cmake:2430 (_ep_add_download_command)
CMake/SetupFfmpeg.cmake:57 (externalproject_add)
StepmaniaCore.cmake:405 (include)
CMakeLists.txt:5 (include)


-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found GLEW: /usr/include
Host processor is x86_64
Host processor is 64bit
-- Configuring incomplete, errors occurred!
See also "/home/tublatanka/stepmania/Build/CMakeFiles/CMakeOutput.log".
See also "/home/tublatanka/stepmania/Build/CMakeFiles/CMakeError.log".

I tried to run ./configure and I've this message:

configure: Configuring ffmpeg. This is quiet and takes a bit. Be patient.
configure: error: unrecognized option: `--shlibdir=/opt/stepmania-5.0'
Try `./configure --help' for more information
configure: error: ffmpeg configuration failed.

Thank you for your help and your patience
Reply
So, a couple days ago, I wanted to look at some graphs for the 5_1_0 branch. I didn't realize that changing the default branch would affect other people, and that was the only way to view graphs for it. As a result, some people got the 5_1_0 branch when cloning when they wanted the master branch. Instructions for switching back to master or building 5_1_0 have been added to the first post. 5_1_0 is the branch that development for StepMania 5.1 is taking place on.

Using 5.1 is safe and stable, except for keysounds (which will mostly crash). The downside is that there aren't many noteskins or themes that have been updated for it.
Nobody besides hanubeki has taken the time to port noteskins yet, so the only noteskins for 5.1 are the default one (adapted from one Jousway made), zenbuquan (a catch-all that just exists to make all game types playable), and hanubeki.
The only theme that supports the new features in 5.1 currently is Consensual, my personal theme. At the moment, all it does with the new features is allow the player to adjust the FOV, skew position, and receptor offset of the notes.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
I was able to pass step 4 with the line cmake -G 'Unix Makefiles' -DWITH_FFMPEG_JOBS=4 -DCMAKE_BUILD_TYPE=Release .. && cmake ..

at the step: make -j8, I got this error:
[ 0%] Performing build step for 'ffmpeg'
[ 0%] Built target glew
[ 1%] Built target jsoncpp
[ 5%] Built target lua-5.1
[ 7%] Built target png
[ 24%] Built target tommath
[ 24%] Built target GtkModule
[ 43%] Built target tomcrypt
make[3]: AVERTISSEMENT : -jN forcé dans un submake : désactivation du mode serveur de tâches.
CC libavformat/au.o
CC libavformat/audiointerleave.o
CC libavformat/avc.o
make[3]: *** lecture du tube des processus: Aucun fichier ou dossier de ce type. Arrêt.
make[3]: *** Attente des tâches non terminées....
CC libavformat/avidec.o
make[3]: *** écriture vers le serveur de tâches: Mauvais descripteur de fichier. Arrêt.
make[2]: *** [ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Erreur 2
make[1]: *** [CMakeFiles/ffmpeg.dir/all] Erreur 2
make: *** [all] Erreur 2

By the way, I did a new clone of stepmania to get there too.

Thanks you, your help is really appreciated
Reply
My guess is that one step was trying to use a file before it existed. Try changing the number of ffmpeg jobs and the number of normal jobs (the WITH_FFMPEG_JOBS and -j numbers) to a smaller number and try again. You might need to set them as low as 1 or 2.

The other possibility is that you need to install the nasm package or the yasm package. (either will work, they both do the same thing)

Last edited: 14 December 2015 1:37pm

< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
That was a perfect guess :P. Switched directly to -j1 and everything goes fine!

Thank you!
Reply