Forums » StepMania Releases » Installing SM5 on Linux

Look for the libpthread-stubs0-dev package and install it, then run cmake again.
ติดตามบล็อกเกมสนุกมันส์ๆได้ที่นี่
olivergameonline
ambl-fanfic.tumblr
Reply
If I wanted to change the branch from master to 5_1_0 by using "git pull origin 5_1_0", these conflicts on src happens:
Spoiler (click to view)
From https://github.com/stepmania/stepmania

* branch 5_1_0 -> FETCH_HEAD
Removing src/libtommath/tommath_superclass.h
Removing src/libtommath/tommath_class.h
Removing src/libtommath/tommath.h
Removing src/libtommath/bncore.c
Removing src/libtommath/bn_s_mp_sub.c
Removing src/libtommath/bn_s_mp_sqr.c
Removing src/libtommath/bn_s_mp_mul_high_digs.c
Removing src/libtommath/bn_s_mp_mul_digs.c
Removing src/libtommath/bn_s_mp_exptmod.c
Removing src/libtommath/bn_s_mp_add.c
Removing src/libtommath/bn_reverse.c
Removing src/libtommath/bn_prime_tab.c
Removing src/libtommath/bn_mp_zero.c
Removing src/libtommath/bn_mp_xor.c
Removing src/libtommath/bn_mp_unsigned_bin_size.c
Removing src/libtommath/bn_mp_toradix_n.c
Removing src/libtommath/bn_mp_toradix.c
Removing src/libtommath/bn_mp_toom_sqr.c
Removing src/libtommath/bn_mp_toom_mul.c
Removing src/libtommath/bn_mp_to_unsigned_bin_n.c
Removing src/libtommath/bn_mp_to_unsigned_bin.c
Removing src/libtommath/bn_mp_to_signed_bin_n.c
Removing src/libtommath/bn_mp_to_signed_bin.c
Removing src/libtommath/bn_mp_submod.c
Removing src/libtommath/bn_mp_sub_d.c
Removing src/libtommath/bn_mp_sub.c
Removing src/libtommath/bn_mp_sqrt.c
Removing src/libtommath/bn_mp_sqrmod.c
Removing src/libtommath/bn_mp_sqr.c
Removing src/libtommath/bn_mp_signed_bin_size.c
Removing src/libtommath/bn_mp_shrink.c
Removing src/libtommath/bn_mp_set_int.c
Removing src/libtommath/bn_mp_set.c
Removing src/libtommath/bn_mp_rshd.c
Removing src/libtommath/bn_mp_reduce_setup.c
Removing src/libtommath/bn_mp_reduce_is_2k_l.c
Removing src/libtommath/bn_mp_reduce_is_2k.c
Removing src/libtommath/bn_mp_reduce_2k_setup_l.c
Removing src/libtommath/bn_mp_reduce_2k_setup.c
Removing src/libtommath/bn_mp_reduce_2k_l.c
Removing src/libtommath/bn_mp_reduce_2k.c
Removing src/libtommath/bn_mp_reduce.c
Removing src/libtommath/bn_mp_read_unsigned_bin.c
Removing src/libtommath/bn_mp_read_signed_bin.c
Removing src/libtommath/bn_mp_read_radix.c
Removing src/libtommath/bn_mp_rand.c
Removing src/libtommath/bn_mp_radix_smap.c
Removing src/libtommath/bn_mp_radix_size.c
Removing src/libtommath/bn_mp_prime_random_ex.c
Removing src/libtommath/bn_mp_prime_rabin_miller_trials.c
Removing src/libtommath/bn_mp_prime_next_prime.c
Removing src/libtommath/bn_mp_prime_miller_rabin.c
Removing src/libtommath/bn_mp_prime_is_prime.c
Removing src/libtommath/bn_mp_prime_is_divisible.c
Removing src/libtommath/bn_mp_prime_fermat.c
Removing src/libtommath/bn_mp_or.c
Removing src/libtommath/bn_mp_neg.c
Removing src/libtommath/bn_mp_n_root.c
Removing src/libtommath/bn_mp_mulmod.c
Removing src/libtommath/bn_mp_mul_d.c
Removing src/libtommath/bn_mp_mul_2d.c
Removing src/libtommath/bn_mp_mul_2.c
Removing src/libtommath/bn_mp_mul.c
Removing src/libtommath/bn_mp_montgomery_setup.c
Removing src/libtommath/bn_mp_montgomery_reduce.c
Removing src/libtommath/bn_mp_montgomery_calc_normalization.c
Removing src/libtommath/bn_mp_mod_d.c
Removing src/libtommath/bn_mp_mod_2d.c
Removing src/libtommath/bn_mp_mod.c
Removing src/libtommath/bn_mp_lshd.c
Removing src/libtommath/bn_mp_lcm.c
Removing src/libtommath/bn_mp_karatsuba_sqr.c
Removing src/libtommath/bn_mp_karatsuba_mul.c
Removing src/libtommath/bn_mp_jacobi.c
Removing src/libtommath/bn_mp_is_square.c
Removing src/libtommath/bn_mp_invmod_slow.c
Removing src/libtommath/bn_mp_invmod.c
Removing src/libtommath/bn_mp_init_size.c
Removing src/libtommath/bn_mp_init_set_int.c
Removing src/libtommath/bn_mp_init_set.c
Removing src/libtommath/bn_mp_init_multi.c
Removing src/libtommath/bn_mp_init_copy.c
Removing src/libtommath/bn_mp_init.c
Removing src/libtommath/bn_mp_grow.c
Removing src/libtommath/bn_mp_get_int.c
Removing src/libtommath/bn_mp_gcd.c
Removing src/libtommath/bn_mp_fwrite.c
Removing src/libtommath/bn_mp_fread.c
Removing src/libtommath/bn_mp_exteuclid.c
Removing src/libtommath/bn_mp_exptmod_fast.c
Removing src/libtommath/bn_mp_exptmod.c
Removing src/libtommath/bn_mp_expt_d.c
Removing src/libtommath/bn_mp_exch.c
Removing src/libtommath/bn_mp_dr_setup.c
Removing src/libtommath/bn_mp_dr_reduce.c
Removing src/libtommath/bn_mp_dr_is_modulus.c
Removing src/libtommath/bn_mp_div_d.c
Removing src/libtommath/bn_mp_div_3.c
Removing src/libtommath/bn_mp_div_2d.c
Removing src/libtommath/bn_mp_div_2.c
Removing src/libtommath/bn_mp_div.c
Removing src/libtommath/bn_mp_count_bits.c
Removing src/libtommath/bn_mp_copy.c
Removing src/libtommath/bn_mp_cnt_lsb.c
Removing src/libtommath/bn_mp_cmp_mag.c
Removing src/libtommath/bn_mp_cmp_d.c
Removing src/libtommath/bn_mp_cmp.c
Removing src/libtommath/bn_mp_clear_multi.c
Removing src/libtommath/bn_mp_clear.c
Removing src/libtommath/bn_mp_clamp.c
Removing src/libtommath/bn_mp_and.c
Removing src/libtommath/bn_mp_addmod.c
Removing src/libtommath/bn_mp_add_d.c
Removing src/libtommath/bn_mp_add.c
Removing src/libtommath/bn_mp_abs.c
Removing src/libtommath/bn_mp_2expt.c
Removing src/libtommath/bn_fast_s_mp_sqr.c
Removing src/libtommath/bn_fast_s_mp_mul_high_digs.c
Removing src/libtommath/bn_fast_s_mp_mul_digs.c
Removing src/libtommath/bn_fast_mp_montgomery_reduce.c
Removing src/libtommath/bn_fast_mp_invmod.c
Removing src/libtommath/bn_error.c
Removing src/libtommath/SConscript
Removing src/libtommath/LICENSE
Removing src/libtomcrypt/src/prngs/yarrow.c
Removing src/libtomcrypt/src/prngs/sprng.c
Removing src/libtomcrypt/src/prngs/sober128tab.c
Removing src/libtomcrypt/src/prngs/sober128.c
Removing src/libtomcrypt/src/prngs/rng_make_prng.c
Removing src/libtomcrypt/src/prngs/rng_get_bytes.c
Removing src/libtomcrypt/src/prngs/rc4.c
Removing src/libtomcrypt/src/prngs/fortuna.c
Removing src/libtomcrypt/src/pk/rsa/rsa_verify_hash.c
Removing src/libtomcrypt/src/pk/rsa/rsa_sign_hash.c
Removing src/libtomcrypt/src/pk/rsa/rsa_make_key.c
Removing src/libtomcrypt/src/pk/rsa/rsa_import.c
Removing src/libtomcrypt/src/pk/rsa/rsa_free.c
Removing src/libtomcrypt/src/pk/rsa/rsa_exptmod.c
Removing src/libtomcrypt/src/pk/rsa/rsa_export.c
Removing src/libtomcrypt/src/pk/rsa/rsa_encrypt_key.c
Removing src/libtomcrypt/src/pk/rsa/rsa_decrypt_key.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_os2ip.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_encode.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c
Removing src/libtomcrypt/src/pk/pkcs1/pkcs_1_i2osp.c
Removing src/libtomcrypt/src/pk/dsa/dsa_verify_key.c
Removing src/libtomcrypt/src/pk/dsa/dsa_verify_hash.c
Removing src/libtomcrypt/src/pk/dsa/dsa_sign_hash.c
Removing src/libtomcrypt/src/pk/dsa/dsa_shared_secret.c
Removing src/libtomcrypt/src/pk/dsa/dsa_make_key.c
Removing src/libtomcrypt/src/pk/dsa/dsa_import.c
Removing src/libtomcrypt/src/pk/dsa/dsa_free.c
Removing src/libtomcrypt/src/pk/dsa/dsa_export.c
Removing src/libtomcrypt/src/pk/dsa/dsa_encrypt_key.c
Removing src/libtomcrypt/src/pk/dsa/dsa_decrypt_key.c
Removing src/libtomcrypt/src/pk/asn1/der/utf8/der_length_utf8_string.c
Removing src/libtomcrypt/src/pk/asn1/der/utf8/der_encode_utf8_string.c
Removing src/libtomcrypt/src/pk/asn1/der/utf8/der_decode_utf8_string.c
Removing src/libtomcrypt/src/pk/asn1/der/utctime/der_length_utctime.c
Removing src/libtomcrypt/src/pk/asn1/der/utctime/der_encode_utctime.c
Removing src/libtomcrypt/src/pk/asn1/der/utctime/der_decode_utctime.c
Removing src/libtomcrypt/src/pk/asn1/der/short_integer/der_length_short_integer.c
Removing src/libtomcrypt/src/pk/asn1/der/short_integer/der_encode_short_integer.c
Removing src/libtomcrypt/src/pk/asn1/der/short_integer/der_decode_short_integer.c
Removing src/libtomcrypt/src/pk/asn1/der/set/der_encode_setof.c
Removing src/libtomcrypt/src/pk/asn1/der/set/der_encode_set.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_sequence_free.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_length_sequence.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_multi.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_ex.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_multi.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_flexi.c
Removing src/libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_ex.c
Removing src/libtomcrypt/src/pk/asn1/der/printable_string/der_length_printable_string.c
Removing src/libtomcrypt/src/pk/asn1/der/printable_string/der_encode_printable_string.c
Removing src/libtomcrypt/src/pk/asn1/der/printable_string/der_decode_printable_string.c
Removing src/libtomcrypt/src/pk/asn1/der/octet/der_length_octet_string.c
Removing src/libtomcrypt/src/pk/asn1/der/octet/der_encode_octet_string.c
Removing src/libtomcrypt/src/pk/asn1/der/octet/der_decode_octet_string.c
Removing src/libtomcrypt/src/pk/asn1/der/object_identifier/der_length_object_identifier.c
Removing src/libtomcrypt/src/pk/asn1/der/object_identifier/der_encode_object_identifier.c
Removing src/libtomcrypt/src/pk/asn1/der/object_identifier/der_decode_object_identifier.c
Removing src/libtomcrypt/src/pk/asn1/der/integer/der_length_integer.c
Removing src/libtomcrypt/src/pk/asn1/der/integer/der_encode_integer.c
Removing src/libtomcrypt/src/pk/asn1/der/integer/der_decode_integer.c
Removing src/libtomcrypt/src/pk/asn1/der/ia5/der_length_ia5_string.c
Removing src/libtomcrypt/src/pk/asn1/der/ia5/der_encode_ia5_string.c
Removing src/libtomcrypt/src/pk/asn1/der/ia5/der_decode_ia5_string.c
Removing src/libtomcrypt/src/pk/asn1/der/choice/der_decode_choice.c
Removing src/libtomcrypt/src/pk/asn1/der/boolean/der_length_boolean.c
Removing src/libtomcrypt/src/pk/asn1/der/boolean/der_encode_boolean.c
Removing src/libtomcrypt/src/pk/asn1/der/boolean/der_decode_boolean.c
Removing src/libtomcrypt/src/pk/asn1/der/bit/der_length_bit_string.c
Removing src/libtomcrypt/src/pk/asn1/der/bit/der_encode_bit_string.c
Removing src/libtomcrypt/src/pk/asn1/der/bit/der_decode_bit_string.c
Removing src/libtomcrypt/src/modes/ofb/ofb_start.c
Removing src/libtomcrypt/src/modes/ofb/ofb_setiv.c
Removing src/libtomcrypt/src/modes/ofb/ofb_getiv.c
Removing src/libtomcrypt/src/modes/ofb/ofb_encrypt.c
Removing src/libtomcrypt/src/modes/ofb/ofb_done.c
Removing src/libtomcrypt/src/modes/ofb/ofb_decrypt.c
Removing src/libtomcrypt/src/modes/ecb/ecb_start.c
Removing src/libtomcrypt/src/modes/ecb/ecb_encrypt.c
Removing src/libtomcrypt/src/modes/ecb/ecb_done.c
Removing src/libtomcrypt/src/modes/ecb/ecb_decrypt.c
Removing src/libtomcrypt/src/modes/ctr/ctr_test.c
Removing src/libtomcrypt/src/modes/ctr/ctr_start.c
Removing src/libtomcrypt/src/modes/ctr/ctr_setiv.c
Removing src/libtomcrypt/src/modes/ctr/ctr_getiv.c
Removing src/libtomcrypt/src/modes/ctr/ctr_encrypt.c
Removing src/libtomcrypt/src/modes/ctr/ctr_done.c
Removing src/libtomcrypt/src/modes/ctr/ctr_decrypt.c
Removing src/libtomcrypt/src/modes/cfb/cfb_start.c
Removing src/libtomcrypt/src/modes/cfb/cfb_setiv.c
Removing src/libtomcrypt/src/modes/cfb/cfb_getiv.c
Removing src/libtomcrypt/src/modes/cfb/cfb_encrypt.c
Removing src/libtomcrypt/src/modes/cfb/cfb_done.c
Removing src/libtomcrypt/src/modes/cfb/cfb_decrypt.c
Removing src/libtomcrypt/src/modes/cbc/cbc_start.c
Removing src/libtomcrypt/src/modes/cbc/cbc_setiv.c
Removing src/libtomcrypt/src/modes/cbc/cbc_getiv.c
Removing src/libtomcrypt/src/modes/cbc/cbc_encrypt.c
Removing src/libtomcrypt/src/modes/cbc/cbc_done.c
Removing src/libtomcrypt/src/modes/cbc/cbc_decrypt.c
Removing src/libtomcrypt/src/misc/zeromem.c
Removing src/libtomcrypt/src/misc/pkcs5/pkcs_5_2.c
Removing src/libtomcrypt/src/misc/pkcs5/pkcs_5_1.c
Removing src/libtomcrypt/src/misc/error_to_string.c
Removing src/libtomcrypt/src/misc/crypt/crypt_unregister_prng.c
Removing src/libtomcrypt/src/misc/crypt/crypt_unregister_hash.c
Removing src/libtomcrypt/src/misc/crypt/crypt_unregister_cipher.c
Removing src/libtomcrypt/src/misc/crypt/crypt_register_prng.c
Removing src/libtomcrypt/src/misc/crypt/crypt_register_hash.c
Removing src/libtomcrypt/src/misc/crypt/crypt_register_cipher.c
Removing src/libtomcrypt/src/misc/crypt/crypt_prng_is_valid.c
Removing src/libtomcrypt/src/misc/crypt/crypt_prng_descriptor.c
Removing src/libtomcrypt/src/misc/crypt/crypt_ltc_mp_descriptor.c
Removing src/libtomcrypt/src/misc/crypt/crypt_hash_is_valid.c
Removing src/libtomcrypt/src/misc/crypt/crypt_hash_descriptor.c
Removing src/libtomcrypt/src/misc/crypt/crypt_fsa.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_prng.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_hash_oid.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_hash_id.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_hash_any.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_hash.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_cipher_id.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_cipher_any.c
Removing src/libtomcrypt/src/misc/crypt/crypt_find_cipher.c
Removing src/libtomcrypt/src/misc/crypt/crypt_cipher_is_valid.c
Removing src/libtomcrypt/src/misc/crypt/crypt_cipher_descriptor.c
Removing src/libtomcrypt/src/misc/crypt/crypt_argchk.c
Removing src/libtomcrypt/src/misc/crypt/crypt.c
Removing src/libtomcrypt/src/misc/burn_stack.c
Removing src/libtomcrypt/src/misc/base64/base64_encode.c
Removing src/libtomcrypt/src/misc/base64/base64_decode.c
Removing src/libtomcrypt/src/math/rand_prime.c
Removing src/libtomcrypt/src/math/multi.c
Removing src/libtomcrypt/src/math/ltm_desc.c
Removing src/libtomcrypt/src/math/fp/ltc_ecc_fp_mulmod.c
Removing src/libtomcrypt/src/headers/tomcrypt_prng.h
Removing src/libtomcrypt/src/headers/tomcrypt_pkcs.h
Removing src/libtomcrypt/src/headers/tomcrypt_pk.h
Removing src/libtomcrypt/src/headers/tomcrypt_misc.h
Removing src/libtomcrypt/src/headers/tomcrypt_math.h
Removing src/libtomcrypt/src/headers/tomcrypt_macros.h
Removing src/libtomcrypt/src/headers/tomcrypt_mac.h
Removing src/libtomcrypt/src/headers/tomcrypt_hash.h
Removing src/libtomcrypt/src/headers/tomcrypt_custom.h
Removing src/libtomcrypt/src/headers/tomcrypt_cipher.h
Removing src/libtomcrypt/src/headers/tomcrypt_cfg.h
Removing src/libtomcrypt/src/headers/tomcrypt_argchk.h
Removing src/libtomcrypt/src/headers/tomcrypt.h
Removing src/libtomcrypt/src/hashes/sha1.c
Removing src/libtomcrypt/src/hashes/md5.c
Removing src/libtomcrypt/src/hashes/helper/hash_memory.c
Removing src/libtomcrypt/src/ciphers/aes/aes_tab.c
Removing src/libtomcrypt/src/ciphers/aes/aes.c
Removing src/libtomcrypt/SConscript
Removing src/libtomcrypt/LICENSE
Auto-merging src/arch/InputHandler/InputHandler_Linux_Event.cpp
Auto-merging src/Trail.cpp
CONFLICT (content): Merge conflict in src/Trail.cpp
Auto-merging src/TimingData.h
Auto-merging src/TimingData.cpp
Auto-merging src/StepsUtil.h
CONFLICT (content): Merge conflict in src/StepsUtil.h
Auto-merging src/StepsUtil.cpp
Removing src/StdString.h
Auto-merging src/SongUtil.cpp
CONFLICT (content): Merge conflict in src/SongUtil.cpp
Auto-merging src/ScreenSelectMusic.h
Auto-merging src/ScreenSelectMusic.cpp
Auto-merging src/ScreenManager.h
CONFLICT (content): Merge conflict in src/ScreenManager.h
Auto-merging src/ScreenManager.cpp
Auto-merging src/ScreenEdit.h
Auto-merging src/ScreenEdit.cpp
CONFLICT (content): Merge conflict in src/ScreenEdit.cpp
Auto-merging src/ScoreKeeperNormal.cpp
Auto-merging src/RageTextureManager.cpp
Auto-merging src/RageSoundReader_Vorbisfile.cpp
Auto-merging src/RageSound.cpp
CONFLICT (content): Merge conflict in src/RageSound.cpp
Auto-merging src/RageMath.cpp
CONFLICT (content): Merge conflict in src/RageMath.cpp
Auto-merging src/RageInputDevice.cpp
Auto-merging src/RageFileManager.cpp
CONFLICT (content): Merge conflict in src/RageFileManager.cpp
Auto-merging src/RageBitmapTexture.cpp
CONFLICT (content): Merge conflict in src/RageBitmapTexture.cpp
Auto-merging src/Player.cpp
Auto-merging src/NotesLoaderSSC.cpp
Auto-merging src/NotesLoaderSM.cpp
Auto-merging src/NoteDataUtil.h
CONFLICT (content): Merge conflict in src/NoteDataUtil.h
Auto-merging src/NoteDataUtil.cpp
CONFLICT (content): Merge conflict in src/NoteDataUtil.cpp
Auto-merging src/GameLoop.cpp
Removing src/Foreach.h
Auto-merging src/Font.cpp
Auto-merging src/CubicSpline.cpp
Auto-merging src/CourseUtil.cpp
CONFLICT (content): Merge conflict in src/CourseUtil.cpp
Auto-merging src/Course.h
Auto-merging src/Course.cpp
CONFLICT (content): Merge conflict in src/Course.cpp
Auto-merging src/BannerCache.cpp
Auto-merging src/ArrowEffects.cpp
CONFLICT (content): Merge conflict in src/ArrowEffects.cpp
Auto-merging src/Actor.cpp
CONFLICT (content): Merge conflict in src/Actor.cpp
Auto-merging extern/CMakeProject-tommath.cmake
Auto-merging extern/CMakeProject-tomcrypt.cmake
Auto-merging extern/CMakeProject-json.cmake
Auto-merging Themes/_fallback/Languages/en.ini
Auto-merging Docs/Luadoc/LuaDocumentation.xml
Auto-merging Docs/Luadoc/Lua.xml
Auto-merging CMake/SetupFfmpeg.cmake
Automatic merge failed; fix conflicts and then commit the result.


What are the conflicts happened to these files? are they still the same contained file which were unchanged but the GitHub audits didn't had an idea for that register, or what else?
How do we compare just one file selected between master and 5_1_0?
If I ignore it, will it ruin the test? if the files stil inl the same content, that would not be a problem, hence for the conflict perhaps.
how do we solve these conflicts?

EDIT:
it looks like the master version of src has been some commits ahead ahead 5_1_0

Last edited: 4 March 2016 8:28pm

The Founder of Perkedel Corporation
Reply
My advice is to run 5.1 as a separate install, using the fetching instructions in the release notes:

git clone --depth=1 -b 5_1_0 https://github.com/stepmania/stepmania.git
cd stepmania
git submodule init
git submodule update


< 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
My advice is to run 5.1 as a separate install, using the fetching instructions in the release notes:

git clone --depth=1 -b 5_1_0 https://github.com/stepmania/stepmania.git
cd stepmania
git submodule init
git submodule update




Ok, great but:
it will overwrite some stuffs on current stepmania folder I had here because it goes to the same ~/stepmania folder
is it okay? my question now, in case I wanted to return back to the master branch, what should I do? will it work as usual if I 'git pull origin master'?
or else will it tell to make different name of the target?

Do I have to make different copy such as "stepmania_test"? if so, how to make Git land the target than in ~/ directory?

Last edited: 5 March 2016 12:08am

The Founder of Perkedel Corporation
Reply
You can make it clone to a different folder by putting the different folder name on the end of the command line:

git clone --depth=1 -b 5_1_0 https://github.com/stepmania/stepmania.git stepmania_5_1


Or you can rename the folder you already have to something else. Renaming the folder won't break git.

Because I switch back and forth between master and 5_1_0 frequently, I find it easiest to just maintain a git clone of each. I have my themes and noteskins in ~/.stepmania-5.0 so both versions load them, and I use the AdditionalSongFolders preference to point to my songs folder.
< 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
You can make it clone to a different folder by putting the different folder name on the end of the command line:

git clone --depth=1 -b 5_1_0 https://github.com/stepmania/stepmania.git stepmania_5_1


Or you can rename the folder you already have to something else. Renaming the folder won't break git.

Because I switch back and forth between master and 5_1_0 frequently, I find it easiest to just maintain a git clone of each. I have my themes and noteskins in ~/.stepmania-5.0 so both versions load them, and I use the AdditionalSongFolders preference to point to my songs folder.


Oh, thanks bro!
and good idea!, so I should to put all my projects and other stuffs on a data folder instead on a main program folder so both version loads on them. hmmm, very efficient, thanks again.
The Founder of Perkedel Corporation
Reply
Help... the Stepmania 5.1 won't start even I just compiled it fresh!
branch = 5_1_0

Spoiler (click to view)
StepMania5.1-git-2afefb3 crash report (build 2afefb3, 20160307 @ 22:00:57)

--------------------------------------

Architecture: Unix
Crash reason: Segmentation fault - address not mapped at 0x00000000000001b0
Crashed thread: Main thread

Checkpoints:
Thread: Main thread
IniFile.cpp:24 Reading 'Save/Keymaps.ini'
IniFile.cpp:24 Reading 'Save/Keymaps.ini'
IniFile.cpp:24 Reading 'Cache/index.cache'
IniFile.cpp:24 Reading 'Cache/banners.cache'
Song.cpp:598 Looking for images...
Thread: Decode thread
Thread: RageSoundDriver_OSS
Thread: Music thread

Thread: Main thread
0000000000b476ef: _ZN4Song15AddAutoGenNotesEv
0000000000b4bd35: _ZN4Song15LoadFromSongDirENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
00007f0aec7cc129:
00007f0aeabf5eab:
00007f0aee1a5249:
00007f0aeabf8274:
00007f0aeabf73f1:
00007f0aeabf62c5:
00007f0aec75383c:
00007f0aec7534ae:
0000000000b430d0: _ZN4SongC1Ev
00007f0aec7534ae:
00000000007f09e0: _ZN11SongManager20LoadStepManiaSongDirENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP13LoadingWindow
0000000000780eda: _ZN10LuaHelpers16RunScriptOnStackEP9lua_StateRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibb
0000000000783664: _ZNSt8_Rb_treeIP9lua_StateSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE5eraseERS3_
0000000000d43969: _ZN9RageMutex6UnlockEv
000000000077cf38: _ZN10LuaManager7ReleaseERP9lua_State
00000000007f6270: _ZN11SongManagerC1Ev
00007f0aec7e433d:
00000000007f1441: _ZN11SongManager17InitSongsFromDiskEP13LoadingWindow
00000000007f2452: _ZN11SongManager7InitAllEP13LoadingWindow
0000000000711577: _Z7sm_mainiPPc
00007f0aec7534ae:
00000000007e60a4: _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_PFP6ScreenRS7_EESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNSF_10_Hash_nodeISD_Lb1EEE
00000000007e2a4f: _ZN19RegisterScreenClassC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFP6ScreenS7_E
00007f0aec75383c:
00007f0aec7534ae:
00007f0aed046188:
0000000000c617be: _ZN11IPreferenceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
00007f0aed0d78b2:
00007f0aec709009:
0000000000704ee7: (exe)
00007f0aec709009:
00007f0aec6efa40:
0000000000705379: _start

Static log:
StepMania5.1-git-2afefb3
Compiled 20160307 @ 22:00:57 (build 2afefb3)
Log starting 2016-03-07 05:02:00
Loading window: gtk
OS: Linux ver 040200
Crash backtrace component: x86 custom backtrace
Crash lookup component: backtrace_symbols
Runtime library: glibc 2.21
Threads library: NPTL 2.21
libavcodec: 0x372765 (3614565)
ALSA: Advanced Linux Sound Architecture Driver Version k4.2.0-32-generic.
ALSA Driver: 0: HDA Intel [Intel], device 0: 92HD75B2X5 Analog [92HD75B2X5 Analog], 0/1 subdevices avail
ALSA: dsnd_pcm_hw_params_set_access: Invalid argument
Couldn't load driver ALSA-sw: SetHWParams failed
Sound driver: OSS
Lights driver: SystemMessage
Lights driver: Export
Language: id
Theme: default

Partial log:
00:00.677: Starting thread: Decode thread
00:00.677: Starting thread: RageSoundDriver_OSS
00:00.677: Sound driver: OSS
00:00.678: Starting thread: Music thread
00:00.680: Initializing lights drivers: SystemMessage,Export
00:00.680: Lights driver: SystemMessage
00:00.681: Lights driver: Export
00:00.682: ThemeManager::SwitchThemeAndLanguage: "default", "id"
00:01.244: Attempting to load 49 songs from "Songs/A Tribute for Mac -The Sweet 17th-"
00:01.273: Song::LoadFromSSCFile(Cache/Songs/Songs_A Tribute for Mac -The Sweet 17th-_A Beautiful Lie)

-- End of report


what does "Segmentation fault - address not mapped at 0x00000000000001b0" means?
also when I tried to start Stepmania 5.1, it doesn't load most of the songs inside other than some few groups based on the data folder (.stepmania5.0)
what's wrong?
It just checked the sanity and crash

Last edited: 9 March 2016 5:54am

The Founder of Perkedel Corporation
Reply
Help... the Stepmania 5.1 won't start even I just compiled it fresh!
branch = 5_1_0

Spoiler (click to view)
StepMania5.1-git-2afefb3 crash report (build 2afefb3, 20160307 @ 22:00:57)

--------------------------------------

Architecture: Unix
Crash reason: Segmentation fault - address not mapped at 0x00000000000001b0
Crashed thread: Main thread

Checkpoints:
Thread: Main thread
IniFile.cpp:24 Reading 'Save/Keymaps.ini'
IniFile.cpp:24 Reading 'Save/Keymaps.ini'
IniFile.cpp:24 Reading 'Cache/index.cache'
IniFile.cpp:24 Reading 'Cache/banners.cache'
Song.cpp:598 Looking for images...
Thread: Decode thread
Thread: RageSoundDriver_OSS
Thread: Music thread

Thread: Main thread
0000000000b476ef: _ZN4Song15AddAutoGenNotesEv
0000000000b4bd35: _ZN4Song15LoadFromSongDirENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
00007f0aec7cc129:
00007f0aeabf5eab:
00007f0aee1a5249:
00007f0aeabf8274:
00007f0aeabf73f1:
00007f0aeabf62c5:
00007f0aec75383c:
00007f0aec7534ae:
0000000000b430d0: _ZN4SongC1Ev
00007f0aec7534ae:
00000000007f09e0: _ZN11SongManager20LoadStepManiaSongDirENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP13LoadingWindow
0000000000780eda: _ZN10LuaHelpers16RunScriptOnStackEP9lua_StateRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibb
0000000000783664: _ZNSt8_Rb_treeIP9lua_StateSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE5eraseERS3_
0000000000d43969: _ZN9RageMutex6UnlockEv
000000000077cf38: _ZN10LuaManager7ReleaseERP9lua_State
00000000007f6270: _ZN11SongManagerC1Ev
00007f0aec7e433d:
00000000007f1441: _ZN11SongManager17InitSongsFromDiskEP13LoadingWindow
00000000007f2452: _ZN11SongManager7InitAllEP13LoadingWindow
0000000000711577: _Z7sm_mainiPPc
00007f0aec7534ae:
00000000007e60a4: _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_PFP6ScreenRS7_EESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE21_M_insert_unique_nodeEmmPNSF_10_Hash_nodeISD_Lb1EEE
00000000007e2a4f: _ZN19RegisterScreenClassC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFP6ScreenS7_E
00007f0aec75383c:
00007f0aec7534ae:
00007f0aed046188:
0000000000c617be: _ZN11IPreferenceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
00007f0aed0d78b2:
00007f0aec709009:
0000000000704ee7: (exe)
00007f0aec709009:
00007f0aec6efa40:
0000000000705379: _start

Static log:
StepMania5.1-git-2afefb3
Compiled 20160307 @ 22:00:57 (build 2afefb3)
Log starting 2016-03-07 05:02:00
Loading window: gtk
OS: Linux ver 040200
Crash backtrace component: x86 custom backtrace
Crash lookup component: backtrace_symbols
Runtime library: glibc 2.21
Threads library: NPTL 2.21
libavcodec: 0x372765 (3614565)
ALSA: Advanced Linux Sound Architecture Driver Version k4.2.0-32-generic.
ALSA Driver: 0: HDA Intel [Intel], device 0: 92HD75B2X5 Analog [92HD75B2X5 Analog], 0/1 subdevices avail
ALSA: dsnd_pcm_hw_params_set_access: Invalid argument
Couldn't load driver ALSA-sw: SetHWParams failed
Sound driver: OSS
Lights driver: SystemMessage
Lights driver: Export
Language: id
Theme: default

Partial log:
00:00.677: Starting thread: Decode thread
00:00.677: Starting thread: RageSoundDriver_OSS
00:00.677: Sound driver: OSS
00:00.678: Starting thread: Music thread
00:00.680: Initializing lights drivers: SystemMessage,Export
00:00.680: Lights driver: SystemMessage
00:00.681: Lights driver: Export
00:00.682: ThemeManager::SwitchThemeAndLanguage: "default", "id"
00:01.244: Attempting to load 49 songs from "Songs/A Tribute for Mac -The Sweet 17th-"
00:01.273: Song::LoadFromSSCFile(Cache/Songs/Songs_A Tribute for Mac -The Sweet 17th-_A Beautiful Lie)

-- End of report


what does "Segmentation fault - address not mapped at 0x00000000000001b0" means?
also when I tried to start Stepmania 5.1, it doesn't load most of the songs inside other than some few groups based on the data folder (.stepmania5.0)
what's wrong?
It just checked the sanity and crash


Problem solved! Cache must be cleared first. if necessary, turn off all autogens

EDIT: Autogen causes crash to 5_1_0 !!! Only autogens

EDIT2: Kyzentun noticed the problem!

Last edited: 3 April 2016 1:42am

The Founder of Perkedel Corporation
Reply