Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just some more things.. #631

Closed
supertuxkart-sourceforge-migration opened this issue Feb 24, 2014 · 9 comments
Closed

Just some more things.. #631

supertuxkart-sourceforge-migration opened this issue Feb 24, 2014 · 9 comments

Comments

@supertuxkart-sourceforge-migration

Author: kiradeathnote

cmake still doesn't install the data directory in "$PREFIX/share/games/supertuxkart"

supertuxkart crashes when trying to change number of laps. the number of laps is set at 499 but I haven't ran the program before on this system.

@supertuxkart-sourceforge-migration

Author: kiradeathnote
$ sudo make install
[ 0%] Built target GenerateDesktopFile
[ 3%] Built target enet
[ 4%] Built target bulletmath
[ 29%] Built target bulletcollision
[ 35%] Built target bulletdynamics
[Built target supertuxkart
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/games/supertuxkart
-- Removed runtime path from "/usr/local/games/supertuxkart"
-- Installing: /usr/local/share/applications/supertuxkart.desktop
-- Installing: /usr/local/share/pixmaps/supertuxkart_32.xpm
-- Installing: /usr/local/share/pixmaps/supertuxkart_64.xpm

as you can see, the data directory isn't copied over...

and when supertuxkart crashes, I get "Segmentation Fault"

Irrlicht Engine version 1.8.0-alpha
Linux 3.2.7-1-ARCH #1 SMP PREEMPT Tue Feb 21 16:59:04 UTC 2012 i686
FileManager Data files will be fetched from: '..'
[Addons files will be stored in '/home/adb/.local/share/supertuxkart/addons'.
translate Env var LANGUAGE = 'en_US'
[Env var LANGUAGE = 'en_US', which corresponds to 'English (United States)'
Adding language fallback en
IrrDriver Trying OpenGL rendering.
Error messages and other text output will be logged to /home/adb/.config/supertuxkart/stdout.log and /home/adb/.config/supertuxkart/stderr.log
Segmentation fault

@supertuxkart-sourceforge-migration

Author: kiradeathnote
The overworld is still really slow..

@supertuxkart-sourceforge-migration

Author: auria
Hi,

which version of STK crashes, is this latest SVN? I suggest you run it in gdb to find where it crashes

gdb supertuxkart 
run
... make it crash ...
bt

then post the output here,

thanks.

I will check about number of laps. Next time, please open separate tickets for separate issues

@supertuxkart-sourceforge-migration

Author: kiradeathnote
in the newest svn it is fixed. This was regarding svn build 10894

@supertuxkart-sourceforge-migration

Author: auria
I just tested CMake here. I cannot reproduce the issue. CMake correctly installed STK data under "$PREFIX/share/games/supertuxkart" for me.

Glad the other issue is fixed.

@supertuxkart-sourceforge-migration

Author: kiradeathnote
hmm... looking at the install_manifest, it doesn't include the data directory..

this is all it says for install in the CMakeLists.txt file regarding installing.
unless a previous line is ignored by CMake on my computer.
it doesn't say anything regarding the data directory though :-/

this doesn't seem to be a strictly fedora problem -- i'm running archlinux now.

install(TARGETS supertuxkart RUNTIME DESTINATION games BUNDLE DESTINATION .)
install(FILES data/supertuxkart.desktop DESTINATION share/applications)
install(FILES data/supertuxkart_32.xpm data/supertuxkart_64.xpm DESTINATION share/pixmaps)

add_custom_target(GenerateDesktopFile
COMMAND sed 's#PREFIX#${CMAKE_INSTALL_PREFIX}#' ${CMAKE_CURRENT_SOURCE_DIR}/data/supertuxkart_desktop.template | sed 's#VERSION#${PROJECT_VERSION}#' > ${CMAKE_CURRENT_SOURCE_DIR}/data/supertuxkart.desktop
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
ADD_DEPENDENCIES(supertuxkart GenerateDesktopFile)

@supertuxkart-sourceforge-migration

Author: kiradeathnote
ah.

here's the problem for me.

it's installing from the supertuxkart root. whereas the line calls for the build directory.

FILE(GLOB_RECURSE datafiles "${CMAKE_CURRENT_SOURCE_DIR}/data/*")
foreach(curr ${datafiles})
installfilemacro(${curr})
endforeach()

to install it, i made a "build" directory, and ran "cmake .."

i didn't run it inside the root of the supertuxkart folder so i could delete the previous build files an update easier

@supertuxkart-sourceforge-migration

Author: kiradeathnote
sorry. i meant to say its trying to install from my build directory instead of the root of the supertuxkart folder

@supertuxkart-sourceforge-migration

Author: auria
Hi,

under my Ubuntu and Debian OS it works fine, and under both I do build from subdirectories. So not sure what's wrong :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants