Hoping someone can help me get this compiled. It's one of my favorites. I'm looking to compile it on linux (Arch), but a win exe for WINE would work too, but I can't find one for 1.4.5.
When I do ./autogen.sh I get these warnings about deprecation. I assume it's still working though as it's warnings.
After this, I'm running ./configure --with-no-install --enable-sdl
This is the result. I'm not sure what deps I need for ncurses mode. I do have ncurses installed. SDL or ncurses would be fine either way.
Things look good until birth.o
Then I get a lot of this, and some errors. I omitted most of it, as it's lengthy, but it starts on birth.o.
When I do ./autogen.sh I get these warnings about deprecation. I assume it's still working though as it's warnings.
Code:
*info* running aclocal (-I m4) *info* running autoheader *info* running autoconf configure.ac:6: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead m4/buildsys.m4:179: BUILDSYS_TOUCH_DEPS is expanded from... configure.ac:6: the top level configure.ac:73: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:73: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:73: the top level configure.ac:196: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:196: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... acinclude.m4:325: AM_PATH_NCURSESW is expanded from... configure.ac:196: the top level configure.ac:196: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:196: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:325: AM_PATH_NCURSESW is expanded from... configure.ac:196: the top level configure.ac:225: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:225: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... acinclude.m4:156: AM_PATH_SDL is expanded from... configure.ac:225: the top level configure.ac:225: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:225: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:156: AM_PATH_SDL is expanded from... configure.ac:225: the top level
This is the result. I'm not sure what deps I need for ncurses mode. I do have ncurses installed. SDL or ncurses would be fine either way.
Code:
checking for tput... /usr/bin/tput configure: touching .deps files 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 race-free mkdir -p... /usr/bin/mkdir -p checking for windres... no checking for rm... /usr/bin/rm checking for mv... /usr/bin/mv checking for cp... /usr/bin/cp checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for fcntl.h... yes checking for stdint.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... 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 make supports SysV-style inclusion... yes checking for make silent include syntax... gnu 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. checking for mvwaddnwstr... no checking for use_default_colors... no checking for can_change_color... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.10... yes checking for IMG_LoadPNG_RW in -lSDL_image... yes checking for TTF_Init in -lSDL_ttf... yes checking for Mix_OpenAudio in -lSDL_mixer... 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 config.status: src/autoconf.h is unchanged Configuration: Install path: (not used) binary path: .. config path: /home/sasquatch/FAangband1.4.5/FAangband-oldmain/lib/ lib path: /home/sasquatch/FAangband1.4.5/FAangband-oldmain/lib/ var path: /home/sasquatch/FAangband1.4.5/FAangband-oldmain/lib/ -- Frontends -- - Curses No; missing libraries - X11 Yes - SDL Yes - Windows Disabled - Test No - Stats No - SDL sound No; missing libraries
Then I get a lot of this, and some errors. I omitted most of it, as it's lengthy, but it starts on birth.o.
Code:
/usr/bin/ld: z-file.o:/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src/z-file.c:54: multiple definition of `player_egid'; variable.o:/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src/variable.c:146: first defined here /usr/bin/ld: z-form.o:/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src/mapmode.h:192: multiple definition of `g_info'; attack.o:/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src/mapmode.h:192: first defined here /usr/bin/ld: z-term.o:/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src/mapmode.h:192: multiple definition of `g_info'; attack.o:/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src/mapmode.h:192: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:25: faangband.o] Error 1 make[3]: Leaving directory '/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src' make[2]: *** [../mk/buildsys.mk:112: all] Error 2 make[2]: Leaving directory '/home/sasquatch/FAangband1.4.5/FAangband-oldmain/src' make[1]: *** [mk/buildsys.mk:115: subdirs] Error 2 make[1]: Leaving directory '/home/sasquatch/FAangband1.4.5/FAangband-oldmain' make: *** [mk/buildsys.mk:110: all] Error 2
Comment