Running poschengband on osx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ggoDeye
    Rookie
    • Nov 2012
    • 10

    Running poschengband on osx

    Is there a binary anywhere? I'm trying to install using the Linux instructions and have success at generating a binary, but I get this:

    Code:
    $ ./src/poschengband -- -n4
    ./src/poschengband: Unable to prepare any 'display module'!
  • ggoDeye
    Rookie
    • Nov 2012
    • 10

    #2
    I do get this when running
    Code:
    ./configure
    Code:
    checking for ncursesw5-config... no
    checking for ncurses - wide char support... no
    *** The ncursesw5-config script installed by ncursesw could not be found
    *** If ncursesw was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the NCURSES_CONFIG environment variable to the
    *** full path to ncursesw5-config.
    I've read that I can point to ncurses instead of ncursesw, and I have tried, but no change in this message.
    On macOS, I don't seem to have either a libtinfo or a libncursesw. What is the correct build approach here?
    Last edited by ggoDeye; October 17, 2018, 18:28.

    Comment

    • ggoDeye
      Rookie
      • Nov 2012
      • 10

      #3
      I got it working by removing the number of windows flag.

      Code:
      ./src/poschengband

      Comment

      • Valkenar
        Rookie
        • Mar 2009
        • 10

        #4
        I just posted this in the main thread, but here's what I did to get it to work in frogcomposband:

        brew install ncurses
        mkdir bin
        ln -s /usr/bin/ncurses5.4-config bin/ncursesw5-config
        ./configure --with-no-install --with-ncurses-exec-prefix=`pwd`
        make
        src/frogcomposband

        It's still a little screwy, though. The arrow keys (macbook) don't work right, and if I don't run as root it seems to crash trying to write the save file.

        Comment

        • Valkenar
          Rookie
          • Mar 2009
          • 10

          #5
          Here's another thing: I'm on a macbook and these macros made my direction keys work:

          Code:
          A:.4
          P:\e[1;2D
          
          A:.8
          P:\e[1;2A
          
          A:.6
          P:\e[1;2C
          
          A:.2
          P:\e[1;2B
          
          A:4
          P:\e[D
          
          A:8
          P:\e[A
          
          A:6
          P:\e[C
          
          A:2
          P:\e[B
          You can put that in a file and load it (press @ then select "load a user pref file")

          Comment

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