Calling all self-builders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    Calling all self-builders

    While thinking about a minor bug to do with directory creation, it occurred to me that a poll might usefully inform some more significant decisions about the build system. If you only ever play a pre-packaged Angband (i.e. downloaded from rephial.org or from your distro's repository), don't worry about it.

    Grateful for replies from anyone who consistently uses a non-standard build configuration and would like to explain it. While you're here, now's the time to bung in any "I wish the build system would let me specify X" comments too. You never know your luck.

    Since you can only pick one answer in this poll, please choose the one that applies most often. Feel free to explain your minority config in the thread.
    28
    I don't - I play a pre-built version
    0%
    11
    I use the defaults - I run ./configure with no options
    0%
    5
    I use --with-setgid=games for system-wide scores, but I don't change the default paths
    0%
    3
    I use --with-no-install or --prefix because I want it all in one place
    0%
    8
    I use specific paths (--with-configpath/libpath/varpath, --data[root]dir etc.)
    0%
    1
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by pav
    So where's the poll?
    Er, this forum software publishes the post before you finish creating the poll ...
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • konijn_
      Hellband maintainer
      • Jul 2007
      • 367

      #3
      Originally posted by Magnate
      While thinking about a minor bug to do with directory creation, it occurred to me that a poll might usefully inform some more significant decisions about the build system. If you only ever play a pre-packaged Angband (i.e. downloaded from rephial.org or from your distro's repository), don't worry about it.

      Grateful for replies from anyone who consistently uses a non-standard build configuration and would like to explain it. While you're here, now's the time to bung in any "I wish the build system would let me specify X" comments too. You never know your luck.

      Since you can only pick one answer in this poll, please choose the one that applies most often. Feel free to explain your minority config in the thread.
      Greetings,

      I use a specific makefile for cygwin, which currently seems not to work.
      At a later point I will try Eclipse and mingw as others have advised.

      T.
      * Are you ready for something else ? Hellband 0.8.8 is out! *

      Comment

      • Magnate
        Angband Devteam member
        • May 2007
        • 5110

        #4
        Originally posted by konijn_
        I use a specific makefile for cygwin, which currently seems not to work.
        At a later point I will try Eclipse and mingw as others have advised.
        Ah - well I've just installed cygwin, so I will try to patch src/Makefile so that it works. I *think* it might be as simple as
        Code:
        #ifdef CYGWIN
        CFLAGS += -I/usr/include/ncursesw
        #endif
        But maybe you meant Makefile.win? The problem I'm having with building for Windows is that it can't find wingdi.h, even though it's installed. What is your issue with cygwin?
        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

        Comment

        • redrobert
          Scout
          • Sep 2011
          • 29

          #5
          maybe i will tell a problem i had

          downloaded newest version of MINGW ... didn't work

          fix is easy though, just get an older version of MINGW

          Comment

          • SaThaRiel
            Adept
            • Nov 2009
            • 174

            #6
            Well, voted and sure you know my build options Besides...the vote for pre-packaged version is a bit "useless" here Maybe this point should be dropped...
            Proud candidate for the Angband Darwin Award!

            Comment

            • bron
              Knight
              • May 2008
              • 515

              #7
              I generally prefer not to install angband into the global/system directories since I don't want to clutter them up. It is also a problem if I want to have more than one different version installed simultaneously (say, the game I interrupted in order to play the comp, which wants a different version). So I find it desirable to have a self-contained sub-directory. In fact, this is something of a problem even with --no-install since the game seems to still want to put the savefile into ~/.angband/Angband/save/ and so I can't play two versions simultaneously. Perhaps there is a config option I'm missing to make the game use ./lib/save/ as the place for a savefile?

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Originally posted by bron
                I generally prefer not to install angband into the global/system directories since I don't want to clutter them up. It is also a problem if I want to have more than one different version installed simultaneously (say, the game I interrupted in order to play the comp, which wants a different version). So I find it desirable to have a self-contained sub-directory. In fact, this is something of a problem even with --no-install since the game seems to still want to put the savefile into ~/.angband/Angband/save/ and so I can't play two versions simultaneously. Perhaps there is a config option I'm missing to make the game use ./lib/save/ as the place for a savefile?
                No, you have hit on a bug - the --with-private-dirs option is turned on in the code even if it's not configured to be used - this is why the game still uses ~/.angband/Angband/save/ even when you use --with-no-install. I intend to fix this (ticket #1280, now brought forward to 3.4).

                @SaThaRiel - the option to say "I play pre-built" is there so that people who do can vote and then see the poll results.
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                • Timo Pietilä
                  Prophet
                  • Apr 2007
                  • 4096

                  #9
                  Originally posted by Magnate
                  While thinking about a minor bug to do with directory creation, it occurred to me that a poll might usefully inform some more significant decisions about the build system. If you only ever play a pre-packaged Angband (i.e. downloaded from rephial.org or from your distro's repository), don't worry about it.

                  Grateful for replies from anyone who consistently uses a non-standard build configuration and would like to explain it. While you're here, now's the time to bung in any "I wish the build system would let me specify X" comments too. You never know your luck.

                  Since you can only pick one answer in this poll, please choose the one that applies most often. Feel free to explain your minority config in the thread.
                  You need to include one option more "none of the above".

                  I do both, play prebuild versions and compile my own versions using cygwin which, if working properly, doesn't need any of the poll options. I don't use ./configure because I don't need to run anything like that. I don't even know what that does.

                  Comment

                  • Magnate
                    Angband Devteam member
                    • May 2007
                    • 5110

                    #10
                    Originally posted by Timo Pietilä
                    You need to include one option more "none of the above".

                    I do both, play prebuild versions and compile my own versions using cygwin which, if working properly, doesn't need any of the poll options. I don't use ./configure because I don't need to run anything like that. I don't even know what that does.
                    configure is for building on unices (including MacOS) - you are quite right that the poll does not provide an option for people building their own Windows version - sorry.
                    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                    Comment

                    • Azerath
                      Rookie
                      • Jun 2011
                      • 21

                      #11
                      Hi,

                      I simply build in VS 2010 with custom project definitions - so neither of them - don't care about switches :-)

                      Comment

                      • Magnate
                        Angband Devteam member
                        • May 2007
                        • 5110

                        #12
                        Originally posted by Azerath
                        Hi,

                        I simply build in VS 2010 with custom project definitions - so neither of them - don't care about switches :-)
                        I don't know much about building on Windows - is it possible to change where the lib/ subdirs are installed to? So, for instance, if you want lib/save and lib/user in C:\Documents & Settings\Yourname\ and lib/edit and lib/help in C:\Program Files\Angband\, how do you make that happen? Anyone?
                        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                        Comment

                        • Azerath
                          Rookie
                          • Jun 2011
                          • 21

                          #13
                          On OS friendly data storage:

                          In post-XP OSes, this has changed as "normally" run applications will not have "access" to program files. Additionally ther is one more complication step with 64 bit versions as program files is divided on 2 part 64 and 32 versions.

                          Try read this post:


                          The question is do you need such information as Angband is not normally installed application? If not, then relying on user's "unzip" action and storing locally in app subdirs would be OK.

                          On the other hand if you have plan to create "Program Files"-like installation, then above post would be nice start. Additionally you could look at so called "Windows 7 Client Software Logo" http://msdn.microsoft.com/en-us/windows/dd203105.aspx

                          I can help you with some Windows stuff if you need help.

                          Comment

                          • Magnate
                            Angband Devteam member
                            • May 2007
                            • 5110

                            #14
                            I was just curious, really. I assume that most Windows users leave the whole thing in the Angband-ver.x.y\ folder where it's unpacked. I was just wondering if anyone bothered doing a multi-user install in Windows - I guess not.
                            "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                            Comment

                            • Azerath
                              Rookie
                              • Jun 2011
                              • 21

                              #15
                              No need for such feature as "unzip to desktop" works like you mentioned :>

                              Additionally having central place for binaries and separate for user data will fail in multiuser environment when one of users would upgrade application.

                              How it is solved in *NIX OSes? Does binaries are separated from user data? What happend when upgrading binaries to newer version?

                              Comment

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