![]() |
#1 |
Rookie
Join Date: Jul 2014
Posts: 18
![]() |
Install F@## up?
ok ive downloaded a version of angband and am confused.... this is my terminal
curs3@TH3CURS3-Satellite-A105:~/Downloads/angband-v3.5.0$ ./configure --with-out-install configure: WARNING: unrecognized options: --with-out-install checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for tput... /usr/bin/tput configure: touching .deps files Note: You have chosen to compile for installation, with data files in standard locations. For development, you may wish to consider using --with-no-install which will leave the game to run from the directory into which it was extracted and compiled. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for windres... no checking for rm... /bin/rm checking for mv... /bin/mv checking for cp... /bin/cp checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdint.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for mkdir... yes checking for setresgid... yes checking for setegid... yes checking for stat... yes checking if gcc supports -Wno-missing-field-initializers... yes checking if make supports SysV-style inclusion... yes checking for make silent include syntax... gnu checking for ncursesw5-config... /usr/bin/ncursesw5-config checking for ncurses - wide char support... no *** Could not run ncurses test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means ncursesw was incorrectly *** installed or that you have moved ncursesw since it was installed. In the *** latter case, you may want to edit the ncursesw5-config script: *** /usr/bin/ncursesw5-config checking for mvwaddnwstr... no checking for use_default_colors... no checking for can_change_color... no checking for X... no configure: creating ./config.status config.status: creating mk/buildsys.mk config.status: creating mk/extra.mk config.status: creating mk/sinclude.mk config.status: creating src/autoconf.h configure: WARNING: unrecognized options: --with-out-install Configuration: Install path: /usr/local binary path: /usr/local/games config path: /usr/local/etc/angband/ lib path: /usr/local/share/angband/ doc path: /usr/local/share/doc/angband/ var path: (not used) (with private save and score files in ~/.angband/Angband/) -- Frontends -- - Curses No; missing libraries - X11 No; missing libraries - SDL Disabled - Windows Disabled - Test No - Stats No - SDL sound Disabled curs3@TH3CURS3-Satellite-A105:~/Downloads/angband-v3.5.0$ make Entering directory src. Entering directory monster. Leaving directory monster. Entering directory object. Leaving directory object. Entering directory player. Leaving directory player. Successfully generated dependencies. Successfully compiled attack.c. Successfully compiled birth.c. Successfully compiled cave.c. Successfully compiled cmd-cave.c. Successfully compiled cmd-context.c. Successfully compiled cmd-know.c. Successfully compiled cmd-misc.c. Successfully compiled cmd-obj.c. Successfully compiled cmd-pickup.c. Successfully compiled cmd-process.c. Successfully compiled death.c. Successfully compiled debug.c. Successfully compiled dungeon.c. Successfully compiled effects.c. Successfully compiled files.c. Successfully compiled game-cmd.c. Successfully compiled game-event.c. Successfully compiled generate.c. Successfully compiled grafmode.c. Successfully compiled guid.c. Successfully compiled history.c. Successfully compiled init.c. Successfully compiled keymap.c. Successfully compiled load.c. Successfully compiled monster/mon-init.c. Successfully compiled monster/melee1.c. Successfully compiled monster/melee2.c. Successfully compiled monster/mon-list.c. Successfully compiled monster/mon-lore.c. Successfully compiled monster/mon-make.c. Successfully compiled monster/mon-msg.c. Successfully compiled monster/mon-power.c. Successfully compiled monster/mon-spell.c. Successfully compiled monster/mon-timed.c. Successfully compiled monster/mon-util.c. Successfully compiled object/chest.c. Successfully compiled object/identify.c. Successfully compiled object/obj-desc.c. Successfully compiled object/obj-flag.c. Successfully compiled object/obj-info.c. Successfully compiled object/obj-list.c. Successfully compiled object/obj-make.c. Successfully compiled object/obj-power.c. Successfully compiled object/obj-ui.c. Successfully compiled object/obj-util.c. Successfully compiled object/pval.c. Successfully compiled object/randart.c. Successfully compiled object/slays.c. Successfully compiled option.c. Successfully compiled parser.c. Successfully compiled randname.c. Successfully compiled pathfind.c. Successfully compiled prefs.c. Successfully compiled player/calcs.c. Successfully compiled player/class.c. Successfully compiled player/player.c. Successfully compiled player/race.c. Successfully compiled player/spell.c. Successfully compiled player/timed.c. Successfully compiled player/p-util.c. Successfully compiled quest.c. Successfully compiled score.c. Successfully compiled signals.c. Successfully compiled save.c. Successfully compiled savefile.c. Successfully compiled spells1.c. Successfully compiled spells2.c. Successfully compiled squelch.c. Successfully compiled store.c. Successfully compiled tables.c. Successfully compiled target.c. Successfully compiled trap.c. Successfully compiled ui.c. Successfully compiled ui-birth.c. Successfully compiled ui-event.c. Successfully compiled ui-knowledge.c. Successfully compiled ui-menu.c. Successfully compiled ui-options.c. Successfully compiled ui-spell.c. Successfully compiled util.c. Successfully compiled variable.c. Successfully compiled wiz-spoil.c. Successfully compiled wiz-stats.c. Successfully compiled wizard.c. Successfully compiled x-spell.c. Successfully compiled xtra2.c. Successfully compiled xtra3.c. Successfully compiled borg/borg1.c. Successfully compiled borg/borg2.c. Successfully compiled borg/borg3.c. Successfully compiled borg/borg4.c. Successfully compiled borg/borg5.c. Successfully compiled borg/borg6.c. Successfully compiled borg/borg7.c. Successfully compiled borg/borg8.c. Successfully compiled borg/borg9.c. Successfully compiled buildid.c. Successfully compiled z-bitflag.c. Successfully compiled z-file.c. Successfully compiled z-form.c. Successfully compiled z-msg.c. Successfully compiled z-quark.c. Successfully compiled z-queue.c. Successfully compiled z-rand.c. Successfully compiled z-set.c. Successfully compiled z-term.c. Successfully compiled z-type.c. Successfully compiled z-util.c. Successfully compiled z-virt.c. Successfully compiled z-textblock.c. LINK angband.o main.c:44:1: warning: ISO C forbids empty initializer braces [-Wpedantic] { ^ main.c:43:28: error: zero or negative size array ‘modules’ static const struct module modules[] = ^ Failed to compile main.c! make[3]: *** [main.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [subdirs] Error 2 make: *** [all] Error 2 curs3@TH3CURS3-Satellite-A105:~/Downloads/angband-v3.5.0$ so what am i doing wrong i have been at this for 5 days non-stop and cant figure it out. I am running out of Spiced Rum and Advil... please help Last edited by jozmon; July 25, 2014 at 15:12. |
![]() |
![]() |
![]() |
#2 |
Rookie
Join Date: Jul 2014
Posts: 2
![]() |
Your error message seems to be similar to this one:
http://angband.oook.cz/forum/showthread.php?t=6328 Maybe the suggested solution might work in your case too. |
![]() |
![]() |
![]() |
#3 | |||
Swordsman
Join Date: May 2009
Posts: 294
![]() |
You are missing a bunch of libraries.
Quote:
So the next step gets confused when it finds vital chunks of code missing. On linux I'd recommend turning SDL on, via the --enable-sdl option. Of course that will probably just mean that it will fail to configure because I'm guessing you don't have the SDL libraries either. Find a package in whatever package manager your system uses labelled something like libSDL-dev and make sure that is installed first. Then rerun the configure step and see if you get something better in the "-- Frontends --" section Also, you got the no install option wrong- Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#4 |
Rookie
Join Date: Jul 2014
Posts: 18
![]() |
would you know where to find the missing files?
|
![]() |
![]() |
![]() |
#5 |
Rookie
Join Date: Jul 2014
Posts: 18
![]() |
-- Frontends --
- Curses No; missing libraries - X11 Yes - SDL No; missing libraries - Windows Disabled - Test No - Stats No - SDL sound No; missing libraries idk how but i got x11 |
![]() |
![]() |
![]() |
#6 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
re 15:14
That's what I was talking about with the libSDL stuff (assuming you want to use SDL and not one of the other GUIs). And it varies from system to system, but there should be some tool for dealing with it- this is an OS thing, not an angband thing. I prefer Synaptic under Xubuntu, myself, but you may have something different. I have the following installed, but not sure whether they were all for angband or whether there was other stuff I was building: libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev less probable stuff (unless you want to turn sound on): libsdl-sound1.2-dev libsdl-mixer1.2-dev re 15:55 Well, that should at least compile then. Although you might want to fiddle with getting SDL working eventually because the X11 native port is a touch glacial. But at least you will have something happening, which is generally a big help after wrestling with the compiler for too long. |
![]() |
![]() |
![]() |
#7 |
Rookie
Join Date: Jul 2014
Posts: 18
![]() |
should i get anything for curses? stats? or test?
|
![]() |
![]() |
![]() |
#8 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
Well it's a question of what style of interface you want. You only need to get what you want to use running. (But it has to have something)
Curses runs directly in a terminal X11 uses low level X windows and is nice but really slow SDL uses virtual subterms within an SDL window. I recommend it because you get a reasonable GUI with a decent speed. Windows is only relevent to windows Test and Stats are running dev utilities rather than the actual game, so probably not relevent. If the system thinks it can compile with X11 then I would say go for it initially, just to have something up and running. You can always try to set up something more advanced later, but getting something - anything - to work is the first step. |
![]() |
![]() |
![]() |
#9 |
Rookie
Join Date: Jul 2014
Posts: 18
![]() |
have gotten the files you posted trying now here are my results
-- Frontends -- - Curses Yes - X11 Yes - SDL Yes - Windows Disabled - Test No - Stats No - SDL sound Yes running make now curs3@TH3CURS3-Satellite-A105:~/Downloads/angband-v3.5.0$ make Entering directory src. Entering directory monster. Leaving directory monster. Entering directory object. Leaving directory object. Entering directory player. Leaving directory player. Successfully generated dependencies. Successfully compiled main.c. Successfully compiled main-gcu.c. Successfully compiled main-x11.c. Successfully compiled main-sdl.c. Successfully compiled snd-sdl.c. LINK angband Leaving directory src. Entering directory lib. Entering directory apex. Leaving directory apex. Entering directory edit. Leaving directory edit. Entering directory file. Leaving directory file. Entering directory help. Leaving directory help. Entering directory pref. Leaving directory pref. Entering directory save. Leaving directory save. Entering directory user. Leaving directory user. Entering directory xtra. Entering directory font. Leaving directory font. Entering directory graf. Leaving directory graf. Entering directory icon. Leaving directory icon. Entering directory sound. Leaving directory sound. Leaving directory xtra. Entering directory info. Leaving directory info. Leaving directory lib. Entering directory doc. Leaving directory doc. am trying make install curs3@TH3CURS3-Satellite-A105:~/Downloads/angband-v3.5.0$ make install Entering directory src. Entering directory monster. Leaving directory monster. Entering directory object. Leaving directory object. Entering directory player. Leaving directory player. Successfully installed angband. Leaving directory src. Entering directory lib. Entering directory apex. Leaving directory apex. Entering directory edit. /usr/bin/install: ‘artifact.txt’ and ‘/home/curs3/Downloads/angband-v3.5.0/lib//edit/artifact.txt’ are the same file Failed to install artifact.txt! make[2]: *** [install] Error 1 make[1]: *** [install] Error 2 make: *** [install] Error 2 wonder if this is bad? successful install but artifact.txt??? |
![]() |
![]() |
![]() |
#10 |
Rookie
Join Date: Jul 2014
Posts: 18
![]() |
last question how do i open and play i have been awake 2.5 days working on this thru other sites and you are now my hero. got it open
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[3.4.1] Can't install on Mac OSX 10.5.8 | Guyinthecrowd | Vanilla | 12 | June 15, 2013 17:58 |
Mac OS 10.8.1 install | Indigo | Vanilla | 2 | August 27, 2012 02:49 |
Vanilla 3.2.0 mac install issue | Hariolor | Vanilla | 6 | January 11, 2011 01:48 |
Unangband Ubuntu install? | Whelk | Variants | 3 | July 26, 2010 06:49 |