I'm a Linux noob, need help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Angelus
    Rookie
    • Jun 2011
    • 19

    #31
    Quite frankly, the easiest way to run angband on Linux (at least on Ubuntu) is to simply use Wine. Just download the windows version, whether the latest stable release or the most recent nightly, and tell it to run using Wine. About as simple as it get, and I haven't had any problems with it. I've done it on multiple versions of Ubuntu, and I think Mint too.

    Comment

    • Therem Harth
      Knight
      • Jan 2008
      • 926

      #32
      @Angelus:

      Nooo don't do that! Unless you want horrible performance and weird bugs. Wine is great for what it is, but should be avoided if other options exist. It's is a very, very imperfect imitation of a Windows userspace, and things go wrong with it all the time.

      @jozmon:
      - The option you want is --with-no-install, verbatim.
      - You need at least the libx11-dev package, it has headers that are needed to compile graphical applications.
      - If you haven't already, you should install the build-essential package, which pulls in the essential things needed to compile software written in C or C++.

      Happy compiling!

      Comment

      • Malak Darkhunter
        Knight
        • May 2007
        • 730

        #33
        Angband is actually really simple, the newer dev version was different for some reason however..but for basic 3.5.0 I did a simple,

        ./configure
        make
        sudo make install

        and compiled itself in the src folder, and that is usually the way I like it.

        to access your hidden angband files, click on the Home directory, type CNTRL-H and then you will see a folder named .angband, inside this folder will be your save files, score files, and also the location of whatever screenshots you take.

        this is true for Ubuntu 14.04, I hope this helps out any Linux noobs like myself who started out with Linux with almost no knowledge about it.

        Comment

        • Therem Harth
          Knight
          • Jan 2008
          • 926

          #34
          Spoke too soon, I'm actually seeing issues compiling Oangband (1.1.0u) on 14.04. Stuff about missing X11 headers when those are definitely installed. My suspicion is that the Ubuntu devs broke something with the location of the headers (that has actually happened before). The weird thing is it only happens on linking, not on compiling object files.

          In any case complaints about missing headers when the headers are installed are absolutely not normal. I'll see what I can find about this.

          Edit: also I'm getting waaaay too many compiler warnings. It looks to me as though something in Ubuntu 14.04 is not standard, which does not surprise me at all (but is still really vexing).

          Edit: Please ignore the above. The issue was that the necessary linker flags (-lX11, etc.) were not getting passed to make for some reason, probably because the configure script was ancient.
          Last edited by Therem Harth; July 28, 2014, 02:39.

          Comment

          • Malak Darkhunter
            Knight
            • May 2007
            • 730

            #35
            Originally posted by Therem Harth
            Spoke too soon, I'm actually seeing issues compiling Oangband (1.1.0u) on 14.04. Stuff about missing X11 headers when those are definitely installed. My suspicion is that the Ubuntu devs broke something with the location of the headers (that has actually happened before). The weird thing is it only happens on linking, not on compiling object files.

            In any case complaints about missing headers when the headers are installed are absolutely not normal. I'll see what I can find about this.

            Edit: also I'm getting waaaay too many compiler warnings. It looks to me as though something in Ubuntu 14.04 is not standard, which does not surprise me at all (but is still really vexing).

            Edit: Please ignore the above. The issue was that the necessary linker flags (-lX11, etc.) were not getting passed to make for some reason, probably because the configure script was ancient.
            I had the same problem trying to compile oangband 1.1.0u...I was only able to compile pre-1.1.0 releases...what exactly did you do to make it work?

            Comment

            • Therem Harth
              Knight
              • Jan 2008
              • 926

              #36
              A cheesy workaround:

              ./configure
              make
              cd src
              make -f Makefile.std

              since Makefile.std passes the correct ld flags.

              Comment

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