Retropie install fail on kali linux rp0w
-
I need to install on Kali Linux (after fixing this), Retropie, but it won't. I have Raspberry pi 0 w and there is much things that I don't understand like why it want to build sdl2-dev while I already have one (newer "libsdl2-dev/kali-rolling,now 2.0.10+dfsg1-1 armel [installed]" it trying to build rpi ver ), or how i can build retroarch (I also can install it throw apt, but it gives sigmentation fault) while I need make another "./configure" thing before "make" (I also tryed to build it by myself but I guess I missed some importing flags and after build it, it looks like it works (throw "./retroarch -help" but when I just normally start it, it just don't do anything)).
There is log
Log started at: Sat 12 Oct 2019 01:27:52 PM CEST RetroPie-Setup version: 4.5.1 (1d449e7) System: Kali GNU/Linux Rolling - Linux kali 4.19.66-Re4son+ #1 Sun Aug 18 13:42:02 AEST 2019 armv6l GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators = = = = = = = = = = = = = = = = = = = = = Did not find needed package(s): libsdl2-dev. I am trying to install them now. = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x = = = = = = = = = = = = = = = = = = = = = ~/RetroPie-Setup/tmp/build/sdl2 ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Getting sources for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x = = = = = = = = = = = = = = = = = = = = = Already on 'rpi-2.0.8' M build-scripts/config.guess M build-scripts/config.sub M debian/changelog Your branch is up to date with 'origin/rpi-2.0.8'. Already up to date. HEAD is now in branch 'rpi-2.0.8' at commit 'a44ca2130623425cdb00b5da901d9b52a7f1a922' ~/RetroPie-Setup ~/RetroPie-Setup/tmp/build/sdl2 ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Building 'sdl2' : SDL (Simple DirectMedia Layer) v2.x = = = = = = = = = = = = = = = = = = = = = dpkg-buildpackage: info: source package libsdl2 dpkg-buildpackage: info: source version 2.0.8+1rpi dpkg-buildpackage: info: source distribution UNRELEASED dpkg-buildpackage: info: source changed by Jools Wills <buzz@exotica.org.uk> dpkg-source --before-build . dpkg-buildpackage: info: host architecture armel debian/rules clean dh clean --parallel debian/rules override_dh_auto_clean make[1]: Entering directory '/root/RetroPie-Setup/tmp/build/sdl2/2.0.8+1rpi' dh_auto_clean -Bbuilddir/all rm -f debian/examples.tar.gz make[1]: Leaving directory '/root/RetroPie-Setup/tmp/build/sdl2/2.0.8+1rpi' dh_clean dpkg-source -b . dpkg-source: info: using source format '3.0 (native)' dpkg-source: info: building libsdl2 in libsdl2_2.0.8+1rpi.tar.xz dpkg-source: info: building libsdl2 in libsdl2_2.0.8+1rpi.dsc debian/rules build dh build --parallel dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: Entering directory '/root/RetroPie-Setup/tmp/build/sdl2/2.0.8+1rpi' dh_auto_configure -Bbuilddir/all -- --disable-rpath --disable-video-directfb --disable-nas --disable-esd --disable-arts --disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared --disable-video-opengl --enable-video-opengles --disable-esd --disable-pulseaudio --disable-input-tslib --host=armv6l-raspberry-linux-gnueabihf cd builddir/all && ../../configure --build=arm-linux-gnueabi --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabi --libexecdir=\${prefix}/lib/arm-linux-gnueabi --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --disable-video-directfb --disable-nas --disable-esd --disable-arts --disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared --disable-video-opengl --enable-video-opengles --disable-esd --disable-pulseaudio --disable-input-tslib --host=armv6l-raspberry-linux-gnueabihf configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode checking build system type... arm-unknown-linux-gnueabi checking host system type... armv6l-raspberry-linux-gnueabihf checking how to print strings... printf checking for armv6l-raspberry-linux-gnueabihf-gcc... no checking for gcc... gcc configure: WARNING: using cross tools not prefixed with host triplet checking whether the C compiler works... no configure: error: in `/root/RetroPie-Setup/tmp/build/sdl2/2.0.8+1rpi/builddir/all': configure: error: C compiler cannot create executables See `config.log' for more details cd builddir/all && tail -v -n \+0 config.log ==> config.log <== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ../../configure --build=arm-linux-gnueabi --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/arm-linux-gnueabi --libexecdir=${prefix}/lib/arm-linux-gnueabi --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --disable-video-directfb --disable-nas --disable-esd --disable-arts --disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared --disable-video-opengl --enable-video-opengles --disable-esd --disable-pulseaudio --disable-input-tslib --host=armv6l-raspberry-linux-gnueabihf ## --------- ## ## Platform. ## ## --------- ## hostname = kali uname -m = armv6l uname -r = 4.19.66-Re4son+ uname -s = Linux uname -v = #1 Sun Aug 18 13:42:02 AEST 2019 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = armv6l /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2753: checking build system type configure:2767: result: arm-unknown-linux-gnueabi configure:2787: checking host system type configure:2800: result: armv6l-raspberry-linux-gnueabihf configure:2841: checking how to print strings configure:2868: result: printf configure:2897: checking for armv6l-raspberry-linux-gnueabihf-gcc configure:2927: result: no configure:2937: checking for gcc configure:2953: found /usr/bin/gcc configure:2964: result: gcc configure:2976: WARNING: using cross tools not prefixed with host triplet configure:3193: checking for C compiler version configure:3202: gcc --version >&5 gcc (Debian 8.2.0-9) 8.2.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3213: $? = 0 configure:3202: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/8/lto-wrapper Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-9' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabi- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv5te --with-float=soft --disable-werror --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Thread model: posix gcc version 8.2.0 (Debian 8.2.0-9) configure:3213: $? = 0 configure:3202: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3213: $? = 1 configure:3202: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3213: $? = 1 configure:3233: checking whether the C compiler works configure:3255: gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c >&5 /usr/bin/ld: error: /tmp/ccv9Z5vs.o uses VFP register arguments, a.out does not /usr/bin/ld: failed to merge target specific data of file /tmp/ccv9Z5vs.o collect2: error: ld returned 1 exit status configure:3259: $? = 1 configure:3297: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3302: error: in `/root/RetroPie-Setup/tmp/build/sdl2/2.0.8+1rpi/builddir/all': configure:3304: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=arm-unknown-linux-gnueabi ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-Wl,-z,relro ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=arm-linux-gnueabi ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=armv6l-raspberry-linux-gnueabihf ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=armv6l-raspberry-linux-gnueabihf ac_cv_prog_ac_ct_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' ALSA_CFLAGS='' ALSA_LIBS='' AR='' ARTSCONFIG='' AS='' AWK='' BUILD_CFLAGS='' BUILD_LDFLAGS='' CC='gcc' CFLAGS='-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard' CPP='' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXX='' CXXCPP='' CXXFLAGS='-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard' DEFS='' DIRECTFBCONFIG='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_SHARED_FALSE='' ENABLE_SHARED_TRUE='' ENABLE_STATIC_FALSE='' ENABLE_STATIC_TRUE='' ESD_CFLAGS='' ESD_CONFIG='' ESD_LIBS='' EXEEXT='' EXTRA_CFLAGS='' EXTRA_LDFLAGS='' FGREP='' GEN_HEADERS='' GEN_OBJECTS='' GREP='' INCLUDE='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LD='' LDFLAGS='-Wl,-z,relro' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' LT_AGE='' LT_CURRENT='' LT_RELEASE='' LT_REVISION='' MANIFEST_TOOL='' NM='' NMEDIT='' OBJDUMP='' OBJECTS='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='' POW_LIB='' RANLIB='' SDLMAIN_OBJECTS='' SDLTEST_OBJECTS='' SDL_BINARY_AGE='8' SDL_CFLAGS='' SDL_INTERFACE_AGE='0' SDL_LIBS='' SDL_MAJOR_VERSION='2' SDL_MICRO_VERSION='8' SDL_MINOR_VERSION='0' SDL_RLD_FLAGS='' SDL_STATIC_LIBS='' SDL_VERSION='2.0.8' SED='' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION_OBJECTS='' WAYLAND_SCANNER='' WINDRES='' XMKMF='' X_CFLAGS='' X_EXTRA_LIBS='' X_LIBS='' X_PRE_LIBS='' ac_aux_dir='../../build-scripts' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_DUMPBIN='' bindir='${exec_prefix}/bin' build='arm-unknown-linux-gnueabi' build_alias='arm-linux-gnueabi' build_cpu='arm' build_os='linux-gnueabi' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='armv6l-raspberry-linux-gnueabihf' host_alias='armv6l-raspberry-linux-gnueabihf' host_cpu='armv6l' host_os='linux-gnueabihf' host_vendor='raspberry' htmldir='${docdir}' includedir='${prefix}/include' infodir='${prefix}/share/info' libdir='${prefix}/lib/arm-linux-gnueabi' libexecdir='${prefix}/lib/arm-linux-gnueabi' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${prefix}/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 77 dh_auto_configure: cd builddir/all && ../../configure --build=arm-linux-gnueabi --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabi --libexecdir=\${prefix}/lib/arm-linux-gnueabi --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --disable-video-directfb --disable-nas --disable-esd --disable-arts --disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared --disable-video-opengl --enable-video-opengles --disable-esd --disable-pulseaudio --disable-input-tslib --host=armv6l-raspberry-linux-gnueabihf returned exit code 77 make[1]: *** [debian/rules:18: override_dh_auto_configure] Error 255 make[1]: Leaving directory '/root/RetroPie-Setup/tmp/build/sdl2/2.0.8+1rpi' make: *** [debian/rules:15: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 ~/RetroPie-Setup ~/RetroPie-Setup/tmp/build/sdl2 ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Installing 'sdl2' : SDL (Simple DirectMedia Layer) v2.x = = = = = = = = = = = = = = = = = = = = = dpkg: error: cannot access archive 'libsdl2-2.0-0_2.0.8+1rpi_armel.deb': No such file or directory Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 118 not upgraded. ~/RetroPie-Setup Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 118 not upgraded. Successfully installed package(s): . ~/RetroPie-Setup/tmp/build/retroarch ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Getting sources for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators = = = = = = = = = = = = = = = = = = = = = git clone --recursive --depth 1 --branch v1.7.6 "https://github.com/libretro/RetroArch.git" "/root/RetroPie-Setup/tmp/build/retroarch" Cloning into '/root/RetroPie-Setup/tmp/build/retroarch'... Note: switching to '9750719074041e0f1949cf9535d1e04945f6213b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false Updating files: 100% (7866/7866), done. HEAD is now in branch 'HEAD' at commit '9750719074041e0f1949cf9535d1e04945f6213b' patching file input/input_driver.c Successfully applied patch: /root/RetroPie-Setup/scriptmodules/emulators/retroarch/01_hotkey_hack.diff patching file menu/widgets/menu_entry.c Successfully applied patch: /root/RetroPie-Setup/scriptmodules/emulators/retroarch/02_disable_search.diff patching file input/drivers_joypad/udev_joypad.c Successfully applied patch: /root/RetroPie-Setup/scriptmodules/emulators/retroarch/03_disable_udev_sort.diff ~/RetroPie-Setup ~/RetroPie-Setup/tmp/build/retroarch ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Building 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators = = = = = = = = = = = = = = = = = = = = = Checking operating system ... Linux (Kali GNU/Linux Rolling kali-rolling) Checking for suitable working C compiler ... /usr/bin/gcc works Checking for suitable working C++ compiler ... /usr/bin/g++ works Checking for pkg-config ... /usr/bin/pkg-config Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes Checking function sd_get_machine_names in -lsystemd ... no Checking presence of package bcm_host ... 1 Checking presence of package brcmegl ... 10 Checking function ass_library_init in -lass ... no Checking function pthread_create in -lpthread ... no Notice: Threads are disabled, Thread Local Storage support will also be disabled. Checking function dlopen in -ldl ... no Checking function socket in -lc ... no Warning: All networking features have been disabled. Checking function fcntl in -lc ... no Checking function getopt_long in -lc ... no Error: Dynamic loading of libretro is enabled, but your platform does not appear to have dlopen(), use --disable-dynamic or --with-libretro="-lretro". rm -rf obj-unix rm -f retroarch rm -f *.d config.mk is outdated or non-existing. Run ./configure again. Makefile:10: config.mk: No such file or directory make: *** [Makefile:191: config.mk] Error 1 ~/RetroPie-Setup Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/root/RetroPie-Setup/tmp/build/retroarch/retroarch not found). Log ended at: Sat 12 Oct 2019 01:33:29 PM CEST Total running time: 0 hours, 5 mins, 37 secs
-
@Casual said in Retropie install fail on kali linux rp0w:
I need to install on Kali Linux (after fixing this)
Just removing or changing the detection flag will not be enough to make RetroPie install - as you have probably seen. On the Raspberry Pi, only Raspbian is supported at the moment.
-
@mitu said in Retropie install fail on kali linux rp0w:
e detection flag will not be enough to make RetroPie install - as you have probably seen. On the Raspberry Pi, only Raspbian is supported at the
Well, then what about manual build retroarch and emulationstation? Which flags do I need? And how configure emulationstation work with retroarch?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.