RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    ps3 controller installation issues

    Scheduled Pinned Locked Moved Help and Support
    ps3controllersixad
    2 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jibtga
      last edited by

      Hi

      I get the following error when I install ps3 driver in Retropie 4.1, (it is a noobs intallation). I think I have to install some packet.....?
      Any help? Thank in advance

      Logs:

      Log started at: Thu 6 Apr 06:09:37 UTC 2017

      = = = = = = = = = = = = = = = = = = = = =
      Installing dependencies for 'ps3controller' : PS3 controller driver and pair via sixad
      = = = = = = = = = = = = = = = = = = = = =

      Did not find needed package(s): checkinstall libusb-dev libbluetooth-dev. I am trying to install them now.
      Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
      Get:2 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
      Get:3 http://mirrordirector.raspbian.org jessie/main armhf Packages [8,981 kB]
      Get:4 http://archive.raspberrypi.org jessie/main armhf Packages [145 kB]
      Get:5 http://archive.raspberrypi.org jessie/ui armhf Packages [57.9 kB]
      Get:6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [37.5 kB]
      Get:7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [70.3 kB]
      Get:8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
      Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
      Ign http://archive.raspberrypi.org jessie/main Translation-en
      Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
      Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
      Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
      Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
      Ign http://archive.raspberrypi.org jessie/ui Translation-en
      Ign http://mirrordirector.raspbian.org jessie/main Translation-en
      Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
      Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
      Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
      Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
      Fetched 9,331 kB in 15s (619 kB/s)
      Reading package lists...
      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following extra packages will be installed:
      libbluetooth3
      The following NEW packages will be installed:
      checkinstall libbluetooth-dev libbluetooth3 libusb-dev
      0 upgraded, 4 newly installed, 0 to remove and 111 not upgraded.
      Need to get 399 kB of archives.
      After this operation, 1,381 kB of additional disk space will be used.
      Get:1 http://archive.raspberrypi.org/debian/ jessie/main libbluetooth3 armhf 5.23-2+rpi2 [79.0 kB]
      Get:2 http://archive.raspberrypi.org/debian/ jessie/main libbluetooth-dev armhf 5.23-2+rpi2 [151 kB]
      Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main checkinstall armhf 1.6.2-4 [134 kB]
      Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libusb-dev armhf 2:0.1.12-25 [34.4 kB]
      Fetched 399 kB in 0s (582 kB/s)
      Selecting previously unselected package libbluetooth3:armhf.
      (Reading database ...
      (Reading database ... 5%
      (Reading database ... 10%
      (Reading database ... 15%
      (Reading database ... 20%
      (Reading database ... 25%
      (Reading database ... 30%
      (Reading database ... 35%
      (Reading database ... 40%
      (Reading database ... 45%
      (Reading database ... 50%
      (Reading database ... 55%
      (Reading database ... 60%
      (Reading database ... 65%
      (Reading database ... 70%
      (Reading database ... 75%
      (Reading database ... 80%
      (Reading database ... 85%
      (Reading database ... 90%
      (Reading database ... 95%
      (Reading database ... 100%
      (Reading database ... 84512 files and directories currently installed.)
      Preparing to unpack .../libbluetooth3_5.23-2+rpi2_armhf.deb ...
      Unpacking libbluetooth3:armhf (5.23-2+rpi2) ...
      Selecting previously unselected package checkinstall.
      Preparing to unpack .../checkinstall_1.6.2-4_armhf.deb ...
      Unpacking checkinstall (1.6.2-4) ...
      Selecting previously unselected package libusb-dev.
      Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
      Unpacking libusb-dev (2:0.1.12-25) ...
      Selecting previously unselected package libbluetooth-dev.
      Preparing to unpack .../libbluetooth-dev_5.23-2+rpi2_armhf.deb ...
      Unpacking libbluetooth-dev (5.23-2+rpi2) ...
      Processing triggers for man-db (2.7.0.2-5) ...
      Setting up libbluetooth3:armhf (5.23-2+rpi2) ...
      Setting up checkinstall (1.6.2-4) ...
      Setting up libusb-dev (2:0.1.12-25) ...
      Setting up libbluetooth-dev (5.23-2+rpi2) ...
      Processing triggers for libc-bin (2.19-18+deb8u6) ...
      Successfully installed package(s): checkinstall libusb-dev libbluetooth-dev.
      /home/pi/RetroPie-Setup/tmp/build/ps3controller /home/pi

      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'ps3controller' : PS3 controller driver and pair via sixad
      = = = = = = = = = = = = = = = = = = = = =

      git clone --depth 1 "https://github.com/RetroPie/sixad.git" "/home/pi/RetroPie-Setup/tmp/build/ps3controller/sixad"
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/ps3controller/sixad'...
      /home/pi
      /home/pi/RetroPie-Setup/tmp/build/ps3controller /home/pi

      = = = = = = = = = = = = = = = = = = = = =
      Building 'ps3controller' : PS3 controller driver and pair via sixad
      = = = = = = = = = = = = = = = = = = = = =

      rm -f ~ bins/
      mkdir -p bins
      mkdir -p bins
      g++ -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -pipe -O2 -Wall -DSHORT_NAME -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin pkg-config --cflags --libs bluez -lpthread -fpermissive
      cc -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -pipe -Wl,-Bsymbolic-functions sixpair.c -o bins/sixpair pkg-config --cflags --libs libusb
      In file included from /usr/include/string.h:25:0,
      from sixpair.c:30:
      /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory

      include <sys/cdefs.h>

                           ^
      

      compilation terminated.
      Makefile:26: recipe for target 'sixpair_bin' failed
      make: *** [sixpair_bin] Error 1
      make: *** Waiting for unfinished jobs....
      In file included from /usr/include/stdio.h:27:0,
      from /usr/include/bluetooth/bluetooth.h:33,
      from bluetooth.h:21,
      from sixad-bin.cpp:18:
      /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory

      include <sys/cdefs.h>

                           ^
      

      compilation terminated.
      In file included from /usr/include/stdio.h:27:0,
      from /usr/include/bluetooth/bluetooth.h:33,
      from bluetooth.h:21,
      from bluetooth.cpp:18:
      /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory

      include <sys/cdefs.h>

                           ^
      

      compilation terminated.
      In file included from /usr/include/unistd.h:25:0,
      from shared.h:21,
      from shared.cpp:18:
      /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory

      include <sys/cdefs.h>

                           ^
      

      compilation terminated.
      In file included from /usr/include/arm-linux-gnueabihf/c++/4.9/bits/os_defines.h:39:0,
      from /usr/include/arm-linux-gnueabihf/c++/4.9/bits/c++config.h:430,
      from /usr/include/c++/4.9/cstdlib:41,
      from textfile.h:21,
      from textfile.cpp:18:
      /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory

      include <sys/cdefs.h>

                           ^
      

      compilation terminated.
      Makefile:18: recipe for target 'sixad_bins' failed
      make: *** [sixad_bins] Error 1
      /home/pi
      /home/pi/RetroPie-Setup/tmp/build/ps3controller /home/pi

      = = = = = = = = = = = = = = = = = = = = =
      Installing 'ps3controller' : PS3 controller driver and pair via sixad
      = = = = = = = = = = = = = = = = = = = = =

      checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
      This software is released under the GNU GPL.

      The package documentation directory ./doc-pak does not exist.
      Should I create a default set of package docs? [y]: y

      Preparing package documentation...OK


      **** Debian package creation selected ***


      This package will be built according to these values:

      0 - Maintainer: [ root@retropie ]
      1 - Summary: [ Package created with checkinstall 1.6.2 ]
      2 - Name: [ sixad ]
      3 - Version: [ 20170406 ]
      4 - Release: [ 1 ]
      5 - License: [ GPL ]
      6 - Group: [ checkinstall ]
      7 - Architecture: [ armhf ]
      8 - Source location: [ sixad ]
      9 - Alternate source location: [ ]
      10 - Requires: [ ]
      11 - Provides: [ sixad ]
      12 - Conflicts: [ ]
      13 - Replaces: [ ]

      Enter a number to change any of them or press ENTER to continue:

      Installing with make install...

      ========================= Installation results ===========================
      install -d /etc/default/
      install -d /etc/init.d/
      install -d /etc/logrotate.d/
      install -d /usr/bin/
      install -d /usr/sbin/
      install -d /var/lib/sixad/
      install -d /var/lib/sixad/profiles/
      install -m 644 sixad.default /etc/default/sixad
      install -m 755 sixad.init /etc/init.d/sixad
      install -m 644 sixad.log /etc/logrotate.d/sixad
      install -m 755 sixad /usr/bin/
      install -m 755 bins/sixad-bin /usr/sbin/
      install: cannot stat ‘bins/sixad-bin’: No such file or directory
      Makefile:33: recipe for target 'install' failed
      make: *** [install] Error 1

      **** Installation failed. Aborting package creation.

      Cleaning up...OK

      Bye.

      Starting sixad (via systemctl): sixad.serviceFailed to start sixad.service: Unit sixad.service failed to load: No such file or directory.
      failed!
      /home/pi

      1 Reply Last reply Reply Quote 0
      • S
        Swagman89
        last edited by

        update your setup script and make sure it's on the latest version. I just compiled it using retropie_setup.sh and it worked fine.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.