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

    Daphne install on ubuntu 18.04 x86_64

    Scheduled Pinned Locked Moved Help and Support
    daphne
    49 Posts 14 Posters 6.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.
    • H
      heavyholyman @MrCoolSpan
      last edited by

      @mrcoolspan I've installed Ubunto 20.4 and the latest updates and RetroPie from mrcoolspan .git
      The setup script fails to execute and logs a dependency i cannot resolve:

      E: Unable to locate package python-pyudev
      Unable to install packages required by /home/arcade/RetroPie-Setup/retropie_packages.sh - Could not install package(s): python-pyudev.

      ClydeC 1 Reply Last reply Reply Quote 0
      • ClydeC
        Clyde @heavyholyman
        last edited by

        @heavyholyman It's not part of the official Ubuntu repositories after 18.04 anymore:

        https://packages.ubuntu.com/search?keywords=python-pyudev&suite=default&section=all&arch=any&searchon=names

        Until @mrcoolspan updates the script, you could try to download and install the 18.04 version. Choose a mirror in your region, download the file, and try to install it with this command:

        sudo dpkg -i python-pyudev_0.21.0-1_all.deb
        

        I didn't test this, though. There might be other packages missing or at the wrong (newer) version in 20.04.

        H 1 Reply Last reply Reply Quote 0
        • H
          heavyholyman @Clyde
          last edited by

          @clyde Thanks for the advice! It was tedious, but i finally got Daphne working properly on Ubuntu 20.04.2. To install from MrCoolSpan's git, i installed python-pyudev as you suggested. However, it first needed python-six, which i tried to install using 'sudo apt-get install python-six'. That also threw an error, but things improved after 'sudo apt --fix-broken install'. After that command, i was able to install python-six, then python-pyudev.

          With the pre-reqs taken care of, i was then able to run retropie-setup and install daphne. Games launched from EmulationStation, but i prefer Attract-Mode front-end. Attract would not launch any games, and displayed an error that it could not load VLDP dynamic library. That was resolved by copying libvldp2.so to the /lib/ directory. 'sudo cp /opt/retropie/emulators/daphne/libvldp2.so /lib'

          All is working now, but i sure wish daphne simply worked 'out of the box' instead of requiring the extra steps!

          ClydeC 1 Reply Last reply Reply Quote 1
          • ClydeC
            Clyde @heavyholyman
            last edited by Clyde

            @heavyholyman Good to hear that it works. As a little word of advice, I would have linked the libvldp2.so to /lib rather than copying it:

            sudo ln -f -s /opt/retropie/emulators/daphne/libvldp2.so /lib/libvldp2.so
            

            The -f option (force) will replace any existing file or link with the same name in the destination with the new link. The -s option will create a so-called symbolic link (symlink) or soft link that shows you its destination when you list it with the ls command.

            ls -l /lib/libvldp2.so
            

            (Both l are lowercase L and not ones.)

            This way, you'll always know where this file in one of your system's directories came from. But this is only a measure for a tidy system and shouldn't make any operational difference. 🧐

            M 1 Reply Last reply Reply Quote 0
            • M
              MrCoolSpan @Clyde
              last edited by

              @clyde I have fix that ;)
              just download from my git

              1 Reply Last reply Reply Quote 1
              • V
                VintageVolts
                last edited by

                New issue. Can't get Daphne to compile because it needs bits/predefs.h to be available. I believe it's missing from the latest version of Ubuntu.

                I'm using Ubuntu 22.04.1 LTS 64-bit

                6f51ea11-9ab7-4125-910e-f758cd502235-image.png

                mituM 1 Reply Last reply Reply Quote 1
                • mituM
                  mitu Global Moderator @VintageVolts
                  last edited by

                  @VintageVolts Please open a separate topic - you seem to have a different issue than the original poster (which was using Ubuntu 18.04).

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    VintageVolts @mitu
                    last edited by

                    @mitu

                    I was using the replacement install script that the OP put out in his first post. The point I was making is that his script is having issues in a newer version of Ubuntu.

                    Even heavyholyman in this thread is referring to Ubuntu 20.04.2 with the conversation continuing on.

                    Mine just seemed to be an issue regarding running the OP's new install script, regardless of Ubuntu version.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @VintageVolts
                      last edited by

                      @VintageVolts Maybe try hypseus instead of the old Daphne code, it's maintained and works for PC systems also.

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        VintageVolts @mitu
                        last edited by

                        @mitu

                        Tried that already. Doesn't compile in Ubuntu 22 64-bit either. That's why I decided to see if MrCoolSpan had an answer for Daphne and Ubuntu 22 first, since its issue was already on the table, so to speak.

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @VintageVolts
                          last edited by

                          @VintageVolts said in Daphne install on ubuntu 18.04 x86_64:

                          Tried that already. Doesn't compile in Ubuntu 22 64-bit either.

                          Hm, that's an issue - is the same error you get on the original Daphne sources or it's during the configuration phase (cmake error) ?

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            VintageVolts @mitu
                            last edited by

                            @mitu

                            It's the same error.

                            3a6d5e24-6e82-4d60-9c84-0648cbec4b34-image.png

                            mituM DirtBagXonD 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @VintageVolts
                              last edited by

                              @VintageVolts You may be missing some package dependencies.
                              Why are you trying to build the package manually ? You can install hypseus from RetroPie-Setup - like any other emulators - and there's no error when doing so (tested on Ubuntu 22.04).

                              1 Reply Last reply Reply Quote 0
                              • DirtBagXonD
                                DirtBagXon @VintageVolts
                                last edited by

                                @VintageVolts said in Daphne install on ubuntu 18.04 x86_64:

                                @mitu

                                It's the same error.

                                3a6d5e24-6e82-4d60-9c84-0648cbec4b34-image.png

                                So predefs.h is one of the headers needed to compile against 32 bit binaries in a 64 bit system. It's usually present in libc6-dev-i386 package.

                                I suspect you are missing the step to enable 32-bit Arch in 22.04 - tutorialforlinux link.

                                sudo dpkg --add-architecture i386
                                
                                sudo apt install libc6-dev:i386 libc6:i386 libstdc++6:i386 
                                libncurses5:i386 zlib1g:i386 etc.....
                                

                                But as @mitu states use RetroPie-Setup

                                 

                                Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                1 Reply Last reply Reply Quote 0
                                • V
                                  VintageVolts
                                  last edited by

                                  RetroPie-Setup is what I tried first. That's what led me down this rabbit hole.

                                  The RetroPie Setup on an x64 environment is blocked through the Setup program. Both Daphne and Hypseus are listed in red to indicate that they are 32-bit and cannot be installed through Setup.

                                  My next step was to install them manually, following instructions on both the Daphne and Hypseus respective pages. Both of them had issues. Daphne only supplies compiled binaries, which fail over and SDL issue, but Hypseus lets you compile from sources... with the listed error.

                                  After finding Daphne sources referenced by MrCoolSpan on this very thread, I found that both Daphne and Hypseus fail to compile due to the missing predefs.h file.

                                  Thank you for your link to enabling 32-bit Arch in 22.04. That is another resource, or potential solution, I was hoping to be offered. I will try that and see if I can get past the current error.

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @VintageVolts
                                    last edited by

                                    @VintageVolts said in Daphne install on ubuntu 18.04 x86_64:

                                    The RetroPie Setup on an x64 environment is blocked through the Setup program. Both Daphne and Hypseus are listed in red to indicate that they are 32-bit and cannot be installed through Setup.

                                    Hypseus is not 'blocked', there's no flag to indicate is 32bit only. Not sure where you got the scriptmodule - what version of RetroPie-Setup are you using ?

                                    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.