Salut à tous, je viens de récupéré les sources d'hedgewars et j'essaye de le compilé pour la Pandora.
J'utilise C/C++ Devellopement Tools V.0.0.39
Donc je viens d'essayer de lancer la compilation mais j'ai eu des erreur lors du process, ça serait sympa de m'aider ou juste de m'éclairé
Le log :
--------------------------------------------------------------
Setting PATH to /mnt/utmp/cdevtools/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
--------------------------------------------------------------
Setting PKG_CONFIG_PATH to /mnt/utmp/cdevtools/usr/lib/pkgconfig
--------------------------------------------------------------
Setting CDEVROOT to /mnt/utmp/cdevtools
--------------------------------------------------------------
Setting up OE_QMAKE variables
--------------------------------------------------------------
Setting up AutoTools variables
--------------------------------------------------------------
Testing ability to find libraries: ldd usr/bin/testld - failed
Running sudo ldconfig -f init/ld.so.conf
Password:
--------------------------------------------------------------
----- Hi there. The following is now available for use: -----
gcc (for C programs), g++ (for C++ programs)
make, qmake, m4, pkg-config, GNU autotools, git and svn
BrokenLocale, EGL, GLES_CM, GLESv2, ICE, IMGegl, OpenVG, OpenVGU, QtCore, QtDBus, QtGui, QtNetwork, QtScript, QtXml, SDL, SDL_gfx, SDL_image, SDL_mixer, SDL_net, SDL_ttf, SM, X11-xcb, X11, Xau, Xdmcp, Xi, Xrender, Xt, Xtst, acl, alleg, anl, asound, atk-1.0, avcodec, cairo, charset, cidn, crypt, curl, curses, dbus-1, dbus-glib-1, dl, fontconfig, form, freetype, gailutil, gdk-*, gettextlib-0.18, gettextsrc-0.18, gio-2.0, glib-2.0, glslcompiler, gmodule-2.0, gnutls-extra, gnutls, gobject-2.0, gthread-2.0, gtk-x11-2.0, gudev-1.0, iconv, jpeg, m, menu, mms, ncurses, nsl, nss_*, ogg, panel, pango-1.0, phonon, pixman-1, png, png12, portaudio, pthread-stubs, pthread, pvr2d, pvrPVR2D_*, resolv, rt, soup-2.4, srv_um, thread_db, tiff, ts, udev, unique-1.0, util, v4l1, v4l2, v4lconvert, vorbis*, xcb-*, xcb, xfce4kbd-private, xfce4panel, xfce4util, xfcegui4, xfconf-0, xml2, z
Please type 'exit' when finished.
--------------------------------------------------------------
~/mysrc$ cd /media/mmcblk1p1/dev/hg/hedgewars/trunk
/media/mmcblk1p1/dev/hg/hedgewars/trunk$ cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DWITH_SERVER=0
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:169 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- The C compiler identification is GNU
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:179 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- The CXX compiler identification is GNU
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:184 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Check for working C compiler: /mnt/utmp/cdevtools/usr/bin/gcc
-- Check for working C compiler: /mnt/utmp/cdevtools/usr/bin/gcc -- works
-- Detecting C compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: '/media/mmcblk1p1/dev/hg/hedgewars/trunk/CMakeFiles/CMakeTmp/cmTryCompileExec'
copyFile: '/media/mmcblk1p1/dev/hg/hedgewars/trunk/CMakeFiles/CMakeDetermineCompilerABI_C.bin'
-- Detecting C compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:72 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Check for working CXX compiler: /mnt/utmp/cdevtools/usr/bin/c++
-- Check for working CXX compiler: /mnt/utmp/cdevtools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: '/media/mmcblk1p1/dev/hg/hedgewars/trunk/CMakeFiles/CMakeTmp/cmTryCompileExec'
copyFile: '/media/mmcblk1p1/dev/hg/hedgewars/trunk/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:65 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Building Debug
CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:44 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindThreads.cmake:38 (CHECK_INCLUDE_FILES)
/usr/share/cmake-2.8/Modules/FindSDL.cmake:127 (FIND_PACKAGE)
hedgewars/CMakeLists.txt:1 (find_package)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at cmake_modules/FindLua.cmake:14 (MESSAGE):
Couldn't find Lua 5.1 library!
Call Stack (most recent call first):
hedgewars/CMakeLists.txt:6 (find_package)
-- Configuring incomplete, errors occurred!
J'ai essayé de le lancer une 2eme fois et cette fois j'obtiens ceci :
/media/mmcblk1p1/dev/hg/hedgewars/trunk$ ~/mysrc$ cd /media/mmcblk1p1/dev/hg/hedgewars/trunk/media/mmcblk1p1/dev/hg/hedgewars/trunk$ cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="/media/mmcblk1p1/dev/games" -DDATA_INSTALL_DIR="/media/mmcblk1p1/dev/games" -DWITH_SERVER=0
bash: /mnt/utmp/cdevtools/mysrc$: No such file or directory
/media/mmcblk1p1/dev/hg/hedgewars/trunk$ -- Building Debug
bash: --: command not found
/media/mmcblk1p1/dev/hg/hedgewars/trunk$ CMake Error at cmake_modules/FindLua.cmake:14 (MESSAGE):
bash: syntax error near unexpected token `('
/media/mmcblk1p1/dev/hg/hedgewars/trunk$ Couldn't find Lua 5.1 library!
> Call Stack (most recent call first):
> hedgewars/CMakeLists.txt:6 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
Le problème est semble être qu'il ne trouve pas la librairie Lua 5.1 mais es-ce tout ?
Lien de la source : http://code.google.com/p/hedgewars/wiki/BuildingOnLinux