[3.4.1] Can't install on Mac OSX 10.5.8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guyinthecrowd
    Rookie
    • Dec 2012
    • 3

    [3.4.1] Can't install on Mac OSX 10.5.8

    I just recently purchased a used mac and discovered Angband, but unfortunately the laptop is using Leopard and the most recent version of Angband that works for me is 3.1.1.

    The report that comes up is:


    Process: angband [2619]
    Path: /Applications/Angband.app/Contents/MacOS/angband
    Identifier: org.rephial.angband
    Version: v3.4.1-dirty (1.0)
    Code Type: X86-64 (Native)
    Parent Process: launchd [97]

    Interval Since Last Report: 265 sec
    Crashes Since Last Report: 1
    Per-App Interval Since Last Report: 2 sec
    Per-App Crashes Since Last Report: 1

    Date/Time: 2012-12-07 11:48:46.406 -0800
    OS Version: Mac OS X 10.5.8 (9L31a)
    Report Version: 6
    Anonymous UUID: CF27FF3F-F17A-4039-8097-6ACB57280C8F

    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread: 0

    Dyld Error Message:
    Symbol not found: ___bzero
    Referenced from: /Applications/Angband.app/Contents/MacOS/angband
    Expected in: /usr/lib/libSystem.B.dylib




    Am I out of luck or should [3.4.1] work on Mac 10.5.8?
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #2
    Hm, that's odd.

    I just threw together a compilation made on my laptop (OSX 10.7.x); would you mind giving it a shot? It's possible the official download is slightly broken somehow.

    Comment

    • Guyinthecrowd
      Rookie
      • Dec 2012
      • 3

      #3
      Checked it out, got the same error message as before.


      Process: angband [2739]
      Path: /Applications/Angband.app/Contents/MacOS/angband
      Identifier: org.rephial.angband
      Version: v3.5-dev-31-gaa02fec (1.0)
      Code Type: X86-64 (Native)
      Parent Process: launchd [97]

      Interval Since Last Report: 2062 sec
      Crashes Since Last Report: 1
      Per-App Interval Since Last Report: 2 sec
      Per-App Crashes Since Last Report: 1

      Date/Time: 2012-12-07 12:23:08.827 -0800
      OS Version: Mac OS X 10.5.8 (9L31a)
      Report Version: 6
      Anonymous UUID: CF27FF3F-F17A-4039-8097-6ACB57280C8F

      Exception Type: EXC_BREAKPOINT (SIGTRAP)
      Exception Codes: 0x0000000000000002, 0x0000000000000000
      Crashed Thread: 0

      Dyld Error Message:
      Symbol not found: ___bzero
      Referenced from: /Applications/Angband.app/Contents/MacOS/angband
      Expected in: /usr/lib/libSystem.B.dylib

      Comment

      • debo
        Veteran
        • Oct 2011
        • 2402

        #4
        I've had this problem with my own projects before. You might just want to try building from source on 10.5, if that's something that doesn't terrify you too much

        I remember there was some kind of flag/hack that I was able to use to make my 10.6 builds work on 10.5, but clearly that's not going to help for versions that are already compiled
        Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.'

        Comment

        • myshkin
          Angband Devteam member
          • Apr 2007
          • 334

          #5
          Ack. I built another binary with altered link order; perhaps that will work. Please grab this disk image and see whether it works for you.

          Alternately, do you have Xcode installed? I expect that building from source locally would produce a working application without any problems.

          Comment

          • Guyinthecrowd
            Rookie
            • Dec 2012
            • 3

            #6
            I tried the new disk image and it didn't crash, but only a small white rectangle showed up for the program.

            I don't have Xcode installed and I don't really know what it is. Could you point me to somewhere where I could figure out/learn how to build from the source locally?

            Comment

            • myshkin
              Angband Devteam member
              • Apr 2007
              • 334

              #7
              Originally posted by Guyinthecrowd
              I tried the new disk image and it didn't crash, but only a small white rectangle showed up for the program.
              Very odd. I'm not sure what's going on there.

              Originally posted by Guyinthecrowd
              I don't have Xcode installed and I don't really know what it is. Could you point me to somewhere where I could figure out/learn how to build from the source locally?
              Xcode is Apple's suite of software development tools. Although we only need a small subset of them, the download is monolithic and large, unfortunately. I just wrote up a quick set of instructions. Let me know if you have any questions.

              Comment

              • Nick
                Vanilla maintainer
                • Apr 2007
                • 9637

                #8
                Looks like bzero (used in the cocoa port) is not available on 10.5 and earlier. Obvious options are:
                • Use something else to zero bytes in main-cocoa.m (like memset);
                • Do a carbon port compile, assuming that still works;
                • OP could upgrade to Snow Leopard
                One for the Dark Lord on his dark throne
                In the Land of Mordor where the Shadows lie.

                Comment

                • Derakon
                  Prophet
                  • Dec 2009
                  • 9022

                  #9
                  When I made my first response I was on my laptop, OSX 10.7, and couldn't do the Carbon makefile. Now I'm on my desktop, OSX 10.6, and it works here. So why don't you give this build a shot?

                  Comment

                  • ibrow1000
                    Rookie
                    • Jun 2013
                    • 1

                    #10
                    I just wanted to report that I am having the same problem, running mac OS 10.5.8. This is on an Intel mac, not an old PPC one. My error message is the same as Guyinthecrowd. Latest released version that worked direct from download was 3.1.2v2

                    Myshkin: I saw that you wrote up instructions for how to compile a version, but this is sort of frustrating for people like me (and Guyinthecrowd) that don't have XCode and don't want to mess with programming, we just want to download something that works... also, the 3.4.1 release page on rephial.org does state that it works for mac os 10.5+ (generally meaning we shouldn't need to do extra work on our end to get it working)

                    Derakon: I also tried your link. It did not work but had a different error message. Here it is if you are curious:

                    Process: angband [5876]
                    Path: /Users/iBrow/Desktop/Angband.app/Contents/MacOS/angband
                    Identifier: net.thangorodrim.Angband
                    Version: ??? (???)
                    Code Type: X86 (Native)
                    Parent Process: launchd [74]

                    Interval Since Last Report: 247 sec
                    Crashes Since Last Report: 1
                    Per-App Interval Since Last Report: 0 sec
                    Per-App Crashes Since Last Report: 6

                    Date/Time: 2013-06-15 10:54:20.802 -0400
                    OS Version: Mac OS X 10.5.8 (9L31a)
                    Report Version: 6
                    Anonymous UUID: 34BFFFEF-2832-49BE-934E-402E885D2C94

                    Exception Type: EXC_BREAKPOINT (SIGTRAP)
                    Exception Codes: 0x0000000000000002, 0x0000000000000000
                    Crashed Thread: 0

                    Dyld Error Message:
                    unknown required load command 0x80000022

                    Comment

                    • takkaria
                      Veteran
                      • Apr 2007
                      • 1951

                      #11
                      OK, so I removed the uses of bzero from the Cocoa port in the dev version. Can you try out the OS X port from http://rephial.org/nightlies when it's been auto built? You'll know because the 'latest build' will have a date in June instead of May. May take up to half an hour from this post.

                      EDIT: that's a lie, look like the OS X autobuilder machine isn't online at the moment, sorry.
                      takkaria whispers something about options. -more-

                      Comment

                      • DaviddesJ
                        Swordsman
                        • Mar 2008
                        • 254

                        #12
                        10.5 is really old now. There's a lot of current software that won't run on it. For example, Google Chrome only runs on 10.6. Your hardware very likely supports 10.6, all you would need to upgrade is to get your hands on the old upgrade disks. That would be my advice.

                        Comment

                        • DaviddesJ
                          Swordsman
                          • Mar 2008
                          • 254

                          #13
                          P.S. You can buy a previously owned 10.6 upgrade on eBay for $10-15. Lots of people upgraded and don't need the disks any more. Just check that your system meets the hardware requirements (but if it originally shipped with 10.5 you should be fine).

                          You will also get significant advantages in security when browsing the web, etc.

                          Comment

                          Working...
                          😀
                          😂
                          🥰
                          😘
                          🤢
                          😎
                          😞
                          😡
                          👍
                          👎