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

    DOSBOX installation failed

    Scheduled Pinned Locked Moved Help and Support
    dosboxinstallationscriptsource
    23 Posts 5 Posters 6.0k 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.
    • C
      cesarabandeira
      last edited by

      I cannot install dosbox too, it says it cant found and install sound or something like this.

      BuZzB 1 Reply Last reply Reply Quote 0
      • R
        RetroFreak89
        last edited by

        Does dosbox run rly slow for you guys?
        Games that the pi should be able to handle run very slow like the old Elder Scrolls the cpu of the pi is plenty and it runs like crap same with doom
        Doom on dosbox on pi is horrible but if you run doom with a source port it runs @ fullspeed

        edmaul69E 1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators @LasagnaDevil
          last edited by

          @lasagnadevil 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 - I need to know details of your set-up to advise further.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @cesarabandeira
            last edited by

            @cesarabandeira 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

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • L
              LasagnaDevil
              last edited by

              I've read the advice and searched the forums:

              Pi Model or other hardware: Pi3
              Power Supply used: 5V, 2.5A
              RetroPie Version Used: 4.2.14 (90b1484)
              Built From: Pre made SD Image on RetroPie website
              USB Devices connected: USB Hub, iBuffalo Famicom USB controller, USB Wireless Keyboard
              Controller used: iBuffalo Famicom USB controller
              Error messages received:
              ***Log started at: Wed 8 Mar 12:18:39 UTC 2017

              RetroPie-Setup version: 4.2.14 (90b1484)
              System: Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

              = = = = = = = = = = = = = = = = = = = = =
              Installing dependencies for 'dosbox' : DOS emulator
              = = = = = = = = = = = = = = = = = = = = =

              /home/pi/RetroPie-Setup/tmp/build/dosbox /home/pi

              = = = = = = = = = = = = = = = = = = = = =
              Getting sources for 'dosbox' : DOS emulator
              = = = = = = = = = = = = = = = = = = = = =

              gzip: stdin: unexpected end of file
              tar: Child returned status 1
              tar: Error is not recoverable: exiting now
              /home/pi

              = = = = = = = = = = = = = = = = = = = = =
              Building 'dosbox' : DOS emulator
              = = = = = = = = = = = = = = = = = = = = =

              /home/pi/RetroPie-Setup/scriptmodules/emulators/dosbox.sh: line 30: ./autogen.sh: No such file or directory
              /home/pi/RetroPie-Setup/scriptmodules/emulators/dosbox.sh: line 31: ./configure: No such file or directory
              sed: can't read config.h: No such file or directory
              sed: can't read config.h: No such file or directory
              sed: can't read config.h: No such file or directory
              make: *** No rule to make target 'clean'. Stop.
              make: *** No targets specified and no makefile found. Stop.
              Could not successfully build dosbox - DOS emulator (/home/pi/RetroPie-Setup/tmp/build/dosbox/src/dosbox not found).

              Log ended at: Wed 8 Mar 12:18:41 UTC 2017
              Total running time: 0 hours, 0 mins, 2 secs***

              Log found in /dev/shm/runcommand.log (if relevant): not relevant AFAIK
              Guide used (Mention if you followed a guide): I didn't
              File: (File with issue - with FULL path): /home/pi/RetroPie-Setup/tmp/build/dosbox /home/pi
              Emulator: DOSBOX
              Attachment of config files: Posted above
              How to replicate the problem: Install DOSBOX

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @LasagnaDevil
                last edited by

                @lasagnadevil Please post the output of this typed into terminal

                cat /etc/issue
                

                and

                sudo __debug=1 ./retropie_packages.sh dosbox sources
                

                the last command will produce a lot of output - best to do it via ssh - and paste the output into a pastebin site to share here.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 1
                • BuZzB
                  BuZz administrators
                  last edited by BuZz

                  and please paste the output of

                  wget -S -O/dev/null -q https://files.retropie.org.uk/archives/dosbox-r3876.tar.gz
                  

                  Actually - you can skip the last post and just do the above - I'm thinking the issue may be related to blacklisted urls and your router software (Something like this happened before).

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  L 1 Reply Last reply Reply Quote 1
                  • edmaul69E
                    edmaul69 @LasagnaDevil
                    last edited by edmaul69

                    Deleted

                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @edmaul69
                      last edited by

                      @edmaul69 Their router could be "blocking" the URL - this happened before when someone had some anti malware from trend micros on their router and one of our URLS got incorrectly blacklisted.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      edmaul69E 1 Reply Last reply Reply Quote 1
                      • edmaul69E
                        edmaul69 @BuZz
                        last edited by

                        @buzz you beat me to deleting my post. I just saw your last post.

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @edmaul69
                          last edited by

                          @edmaul69 please don't delete - it breaks the discussion - rather you just left your post, or can edit and strike through. It may well still be their internet still since the URL seems fine on the trend micros website for example.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 1
                          • edmaul69E
                            edmaul69 @RetroFreak89
                            last edited by

                            @retrofreak89 here are the settings in the dosbox config you want for maximum performance. one of the memsize needs to be added as it isnt in the config by default.

                            language=
                            machine=svga_s3
                            captures=capture
                            vmemsize=8
                            memsize=63
                            
                            
                            core=dynamic
                            cputype=pentium_slow
                            cycles=max 110%
                            cycleup=10
                            cycledown=20
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • L
                              LasagnaDevil @BuZz
                              last edited by

                              @buzz

                              First of all, thanks for your reply!

                              "cat /etc/issue" outputs: Raspbian GNU/Linux 8 \n \l

                              "sudo __debug=1 ./retropie_packages.sh dosbox sources" outputs
                              sudo: ./retropie_packages.sh: command not found

                              "wget -S -O/dev/null -q https://files.retropie.org.uk/archives/dosbox-r3876.tar.gz" runs without error messages, but I can't find the file.

                              Then again, a simple "wget https://files.retropie.org.uk/archives/dosbox-r3876.tar.gz" outputs this:

                              --2017-03-03 23:03:53-- https://files.retropie.org.uk/archives/dosbox-r3876.tar.gz
                              Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
                              Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:443... connected.
                              ERROR: The certificate of ‘files.retropie.org.uk’ is not trusted.
                              ERROR: The certificate of ‘files.retropie.org.uk’ is not yet activated.
                              The certificate has not yet been activated

                              How come this wasn't a problem installing other Emus and files from the server? O.o

                              BuZzB 1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators @LasagnaDevil
                                last edited by

                                @lasagnadevil sudo apt-get install ca-certificates might help - looks like you have missing certificates.

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                L 1 Reply Last reply Reply Quote 1
                                • L
                                  LasagnaDevil @BuZz
                                  last edited by LasagnaDevil

                                  @buzz, again, thanks for all the help!

                                  after getting ca-certificates:
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  ca-certificates is already the newest version.
                                  0 upgraded, 0 newly installed, 0 to remove and 103 not upgraded.

                                  But then I run wget again...
                                  --2017-03-04 15:03:09-- https://files.retropie.org.uk/archives/dosbox-r3876.tar.gz
                                  Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
                                  Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:443... connected.
                                  ERROR: The certificate of ‘files.retropie.org.uk’ is not trusted.
                                  ERROR: The certificate of ‘files.retropie.org.uk’ is not yet activated.
                                  The certificate has not yet been activated

                                  :(

                                  BuZzB 1 Reply Last reply Reply Quote 0
                                  • BuZzB
                                    BuZz administrators @LasagnaDevil
                                    last edited by BuZz

                                    @lasagnadevil Something is wrong with your system. you can try

                                    sudo update-ca-certificates
                                    

                                    but if that still doesn't help you might want to start from a fresh image.

                                    Also check your system date/time. eg via date

                                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                    1 Reply Last reply Reply Quote 1
                                    • L
                                      LasagnaDevil
                                      last edited by

                                      I've done a fresh install. Had the same issue twice. Wouldn't have come here to bother, otherwise.

                                      I've noticed the output of date command is wrong (googled a bit more, and your message also pointed me in the right direction), and after some googling I managed to force my Pi to use the servers for the timezone of the South American region where I am, editing the "ntp.conf" file. Still, it didn't update to the proper date. So, via Raspi-Config, I forced the Pi to use the proper localization. Still no proper sync.

                                      I ended up forcing things via sudo date -s "10 Aug 2017 12:18:00". Basically, a big f*ck you to any system sync of date and time. I don't care that much about those.

                                      And after typing that... BOOM! DosBox binaries show up in Retropie Setup script. Everything seems solved. Didn't even have to update the script.

                                      The puzzling thing is I've never had this problem before. Been using Linux for about ten years and Retropie since 3.4, and never ran into this. O.o

                                      Thanks a lot for your help! :D

                                      BuZzB 1 Reply Last reply Reply Quote 0
                                      • BuZzB
                                        BuZz administrators @LasagnaDevil
                                        last edited by

                                        @lasagnadevil Glad you have it sorted. Wonder if NTP is unable to connect to the timeservers for some reason - I have seen this before when someone's router/isp was blocking the port.

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        edmaul69E 1 Reply Last reply Reply Quote 0
                                        • L
                                          LasagnaDevil
                                          last edited by

                                          Welp, unless my ISP has changed its ruleset, I dunno. I've done this a billion times, never ran into this issue before.

                                          Weird. But now we know!

                                          Thanks again for all the help and patience!

                                          1 Reply Last reply Reply Quote 0
                                          • edmaul69E
                                            edmaul69 @BuZz
                                            last edited by

                                            @buzz iv had this issue just by not having the time set so the year would be 1969. Setting the correct time fixed it for me. I have a rtc now which solves the issue for me. I think i set it to set the internet time while booting as well, so if my rtc failed it would set the internet time.

                                            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.