[Trisquel-usuarios] Como instalar supertux desde el source code ? :)

ramdom.channel997 en gmail.com ramdom.channel997 en gmail.com
Dom Ene 20 15:06:04 CET 2019


Hola. Con motivo de aprender a programar y modificar juegos,aprender como  
funcionan,etc he estado intentando instalar Supertux desde el source code, y  
aparentemente es facil, solo ejecutar ./configure que viene en la carpeta de  
supertux, pero al final nunca instala sino que me da errores

mc123 en mc123-OptiPlex-755:~/Escritorio/nuevosource/SuperTux-v0.6.0-Source$  
./configure
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
   Imported targets not available for Boost version
Call Stack (most recent call first):
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:763  
(_Boost_COMPONENT_DEPENDENCIES)
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332  
(_Boost_MISSING_DEPENDENCIES)
   CMakeLists.txt:136 (find_package)


CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
   Imported targets not available for Boost version
Call Stack (most recent call first):
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:763  
(_Boost_COMPONENT_DEPENDENCIES)
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332  
(_Boost_MISSING_DEPENDENCIES)
   CMakeLists.txt:136 (find_package)


CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
   Imported targets not available for Boost version
Call Stack (most recent call first):
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:763  
(_Boost_COMPONENT_DEPENDENCIES)
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332  
(_Boost_MISSING_DEPENDENCIES)
   CMakeLists.txt:136 (find_package)


CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
   Imported targets not available for Boost version
Call Stack (most recent call first):
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:763  
(_Boost_COMPONENT_DEPENDENCIES)
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332  
(_Boost_MISSING_DEPENDENCIES)
   CMakeLists.txt:136 (find_package)


CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
   Unable to find the requested Boost libraries.

   Unable to find the Boost header files.  Please set BOOST_ROOT to the root
   directory containing Boost or BOOST_INCLUDEDIR to the directory containing
   Boost's headers.
Call Stack (most recent call first):
   CMakeLists.txt:136 (find_package)


-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
CMake Error at  
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148  
(message):
   Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
Call Stack (most recent call first):
   /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388  
(_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-3.5/Modules/FindPNG.cmake:157  
(find_package_handle_standard_args)
   CMakeLists.txt:140 (find_package)


CMake Error: The following variables are used in this project, but they are  
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake  
files:
Boost_INCLUDE_DIR (ADVANCED)
    used as include directory in directory  
/home/mc123/Escritorio/nuevosource/SuperTux-v0.6.0-Source
    used as include directory in directory  
/home/mc123/Escritorio/nuevosource/SuperTux-v0.6.0-Source

-- Configuring incomplete, errors occurred!
See also  
"/home/mc123/Escritorio/nuevosource/SuperTux-v0.6.0-Source/build/CMakeFiles/CMakeOutput.log".
See also  
"/home/mc123/Escritorio/nuevosource/SuperTux-v0.6.0-Source/build/CMakeFiles/CMakeError.log".
mc123 en mc123-OptiPlex-755:~/Escritorio/nuevosource/SuperTux-v0.6.0-Source$

y por ahi dice que falta un tal Boost   
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763  
(_Boost_COMPONENT_DEPENDENCIES)
   /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332  
(_Boost_MISSING_DEPENDENCIES)
Asi que lo baje de su pagina https://www.boost.org/users/download/ ya que  
parece que no puedo bajarlo asi sudo apt-get install boost, pero al intentar  
instalar tambien me da errores ./boost/python/detail/wrap_python.hpp:50:23:  
fatal error: pyconfig.h: No existe el archivo o el directorio
  # include
                        ^
compilation terminated.
...skipped libboost_numpy27.so.1.69.0 for lack of numpy/dtype.o...
...skipped libboost_numpy27.so.1.69.0 for lack of  
libboost_numpy27.so.1.69.0...
...skipped libboost_numpy27.so for lack of libboost_numpy27.so.1.69.0...
...failed updating 66 targets...
mc123 en mc123-OptiPlex-755:~/Escritorio/boost_1_69_0$ Este ultimo no lo podre  
poner completo ya que dio tantas salidas que no alcanzo la terminal, pero  
basicamente eran varios "compilation terminated" e informacion...hasta que al  
final aparecieron esos  ...failed updating 66 targets...     :/

En fin ese es mi problema, como digo quiero instalar ese juego de esta manera  
para saber como funciona y cuando haga algun cambio recompilarlo a ver que  
pasa y asi se aprende. Porfa no me pidan que use el famoso editor de supertux  
que no es la idea,quiero aprender codigo no editor. Eso es todo,disculpen el  
post tan largo y cuando tengan tiempo me responder,gracias y hasta luego :D


Más información sobre la lista de distribución Trisquel-usuarios