• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 5.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.
  • L
    LasagnaDevil
    last edited by 8 Aug 2017, 01:30

    Hey there!

    So, I've tried RPIX to emulate DOS. Since it's not as compatible as DOSBOX, I've tried now and again to install DOSBOX and failed. The installer worked fine until a month or two ago.

    It's worth noting there are now no binaries for this, and thus one can only resort to the source... Which is available for download but the script will not register it.

    I can also install DOSBOX via sudo apt-get, but then it won't be integrated to EmulationStation nor the rest of the system.

    Anyone else getting this? Any ideas on how to solve it?

    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

    E 1 Reply Last reply 8 Aug 2017, 16:40 Reply Quote 0
    • B
      BuZz administrators
      last edited by 8 Aug 2017, 07:40

      Looks like a lack of internet/connectivity issue

      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 8 Aug 2017, 12:00

        Thanks for the reply! It doesn't happen with any other package, though. I can normally install everything else. I don't think it's a connectivity issue. :/

        I even redownloaded and reburned the Retropie Image into another SD, and had the very same problem.

        Is there any way I download the source tar file, put it in the SD via SSH, and point the installer to that?

        B 1 Reply Last reply 8 Aug 2017, 15:13 Reply Quote 0
        • C
          cesarabandeira
          last edited by 8 Aug 2017, 12:05

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

          B 1 Reply Last reply 8 Aug 2017, 15:14 Reply Quote 0
          • R
            RetroFreak89
            last edited by 8 Aug 2017, 13:23

            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

            E 1 Reply Last reply 8 Aug 2017, 16:48 Reply Quote 0
            • B
              BuZz administrators @LasagnaDevil
              last edited by 8 Aug 2017, 15:13

              @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
              • B
                BuZz administrators @cesarabandeira
                last edited by 8 Aug 2017, 15:14

                @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 8 Aug 2017, 16:29

                  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

                  B 1 Reply Last reply 8 Aug 2017, 16:33 Reply Quote 0
                  • B
                    BuZz administrators @LasagnaDevil
                    last edited by 8 Aug 2017, 16:33

                    @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
                    • B
                      BuZz administrators
                      last edited by BuZz 8 Aug 2017, 17:36 8 Aug 2017, 16:35

                      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 9 Aug 2017, 18:49 Reply Quote 1
                      • E
                        edmaul69 @LasagnaDevil
                        last edited by edmaul69 8 Aug 2017, 17:40 8 Aug 2017, 16:40

                        Deleted

                        B 1 Reply Last reply 8 Aug 2017, 16:41 Reply Quote 0
                        • B
                          BuZz administrators @edmaul69
                          last edited by 8 Aug 2017, 16:41

                          @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

                          E 1 Reply Last reply 8 Aug 2017, 16:42 Reply Quote 1
                          • E
                            edmaul69 @BuZz
                            last edited by 8 Aug 2017, 16:42

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

                            B 1 Reply Last reply 8 Aug 2017, 16:44 Reply Quote 0
                            • B
                              BuZz administrators @edmaul69
                              last edited by 8 Aug 2017, 16:44

                              @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
                              • E
                                edmaul69 @RetroFreak89
                                last edited by 8 Aug 2017, 16:48

                                @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 9 Aug 2017, 18:49

                                  @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

                                  B 1 Reply Last reply 9 Aug 2017, 19:00 Reply Quote 0
                                  • B
                                    BuZz administrators @LasagnaDevil
                                    last edited by 9 Aug 2017, 19:00

                                    @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 10 Aug 2017, 10:47 Reply Quote 1
                                    • L
                                      LasagnaDevil @BuZz
                                      last edited by LasagnaDevil 8 Oct 2017, 11:48 10 Aug 2017, 10:47

                                      @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

                                      :(

                                      B 1 Reply Last reply 10 Aug 2017, 14:19 Reply Quote 0
                                      • B
                                        BuZz administrators @LasagnaDevil
                                        last edited by BuZz 8 Oct 2017, 15:20 10 Aug 2017, 14:19

                                        @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 10 Aug 2017, 16:13

                                          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

                                          B 1 Reply Last reply 10 Aug 2017, 16:15 Reply Quote 0
                                          20 out of 23
                                          • First post
                                            20/23
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received