Unangband Compile instructions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Napsterbater
    Adept
    • Jun 2009
    • 177

    Unangband Compile instructions

    Would love to play Unangband again, but I can't compile it. Using Ubuntu 10.04 Lucid Lynx. Autoconf generates this error:


    Code:
    configure.in:9: error: possibly undefined macro: AM_CONFIG_HEADER
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.in:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
    configure.in:21: error: possibly undefined macro: AM_CONDITIONAL
    Trying to configure with the generated file gave me this:

    Code:
    ./configure: line 2149: syntax error near unexpected token `src/autoconf.h'
    ./configure: line 2149: `AM_CONFIG_HEADER(src/autoconf.h)'
    This thread, it needs more rage. -- Napstopher Walken
  • andrewdoull
    Unangband maintainer
    • Apr 2007
    • 872

    #2
    My understanding for linux is that you should just be making from the makefile.std and not worrying about autoconf.
    The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
    In UnAngband, the level dives you.
    ASCII Dreams: http://roguelikedeveloper.blogspot.com
    Unangband: http://unangband.blogspot.com

    Comment

    • SaThaRiel
      Adept
      • Nov 2009
      • 174

      #3
      Yeah, thats correct. Just copy the Makefile.std to Makefile (or use -f with make) and youre done.
      If you want to have a system install, you will need to fix this in the config.h - usually unangband is compiled for user installations (DEFAULT_PATH = ./lib).
      Proud candidate for the Angband Darwin Award!

      Comment

      • Napsterbater
        Adept
        • Jun 2009
        • 177

        #4
        How do I install? "make -f Makefile.std install" tells me there's no targets.

        Also where are the settings for the options put? I changed some of the display settings, now the game crashes every time I start it up. I need to blow the options out and try again.
        This thread, it needs more rage. -- Napstopher Walken

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9637

          #5
          Originally posted by Napsterbater
          How do I install? "make -f Makefile.std install" tells me there's no targets.
          Leave the 'install' off.

          Also where are the settings for the options put? I changed some of the display settings, now the game crashes every time I start it up. I need to blow the options out and try again.
          Probably in the lib/user directory, possibly in x11-settings.prf or some such name.
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • Napsterbater
            Adept
            • Jun 2009
            • 177

            #6
            Originally posted by Nick
            Leave the 'install' off.
            That just gives me "make: Nothing to be done for `default'." I already built it, now I want to install it.
            This thread, it needs more rage. -- Napstopher Walken

            Comment

            • SaThaRiel
              Adept
              • Nov 2009
              • 174

              #7
              Thats it, there is no make install for unangband.
              The binary unangband is in the "main-folder" unangband-064-src - if you want, you can copy it and the lib folder to another location (e.g. ~/games/unangband).
              Proud candidate for the Angband Darwin Award!

              Comment

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