Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Variants (http://angband.oook.cz/forum/forumdisplay.php?f=4)
-   -   [Announce] FrogComposband 7.1.salmiak released (http://angband.oook.cz/forum/showthread.php?t=10152)

backwardsEric January 9, 2022 17:31

For compiling on a Mac, try

Code:

./configure --with-no-install NCURSES_CONFIG=/usr/bin/ncurses5.4-config
. That worked with Angband on a system with macOS 11.6.2 and Xcode 13.2.1 installed. That path in /usr/bin is where the ncurses configuration tool is. This also worked for Angband:

Code:

./configure --with-no-install --with-ncurses-prefix=/usr LIBS=-lncurses

Pete Mack January 10, 2022 03:52

He does not always have an object drop. But he always drops the gold he steals.

Sideways January 10, 2022 04:46

Quote:

Originally Posted by Pete Mack (Post 156923)
He does not always have an object drop. But he always drops the gold he steals.

That's (modern) Vanilla. Thieves in FrogComposband drop any stolen objects, but not stolen gold (although thieves do drop extra gold at the same rate as droppers of good and excellent objects).

HugoVirtuoso January 10, 2022 04:51

In Frogcomposband, I notice that enemies, especially thieves, don't pick up money from the ground. What's up with that? :D

Sideways January 10, 2022 14:05

That's a good point; I could make thieves drop stolen gold, but also pick up floor gold. Although it would change the money balance a bit, and make the Thieves' Hideout quest less of a warning about giving all your money away.

lea2501 January 11, 2022 03:08

How can i compile Frogcomposband in OpenBSD 7.0 -current? i tried the following with no success:

Code:

$ ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install
$ gmake clean
$ gmake

But i get this output:
Code:

gmake[1]: Entering directory '/home/lea/src/frogcomposband'
Entering directory src
gmake[2]: Entering directory '/home/lea/src/frogcomposband/src'
gmake[3]: Entering directory '/home/lea/src/frogcomposband/src'
gmake[3]: Leaving directory '/home/lea/src/frogcomposband/src'
gmake[3]: Entering directory '/home/lea/src/frogcomposband/src'
Generating dependencies...
gmake[4]: Entering directory '/home/lea/src/frogcomposband/src'
In file included from monk.c:1:
In file included from ./angband.h:19:
In file included from ./h-basic.h:66:
./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
#  include <sys/timeb.h>
          ^~~~~~~~~~~~~
1 error generated.
In file included from monspell.c:1:
In file included from ./angband.h:19:
In file included from ./h-basic.h:66:
./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
#  include <sys/timeb.h>
          ^~~~~~~~~~~~~


backwardsEric January 11, 2022 03:46

Quote:

Originally Posted by lea2501 (Post 156958)
How can i compile Frogcomposband in OpenBSD 7.0 -current? i tried the following with no success:

Code:

$ ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install
$ gmake clean
$ gmake


A quick way is to tell it you're using an SGI (looks like the only effect of that is to skip the problematic header file):

Code:

./configure --prefix $HOME/.frogcomposband --without-x --with-no-install CFLAGS=-DSGI
gmake


lea2501 January 11, 2022 11:35

Quote:

Originally Posted by backwardsEric (Post 156959)
A quick way is to tell it you're using an SGI (looks like the only effect of that is to skip the problematic header file):

Code:

./configure --prefix $HOME/.frogcomposband --without-x --with-no-install CFLAGS=-DSGI
gmake


Sadly i have the same exact error

Code:

Generating dependencies...
gmake[4]: Entering directory '/home/lea/src/frogcomposband/src'
In file included from ninja.c:1:
In file included from ./angband.h:19:
In file included from ./h-basic.h:66:
./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
#  include <sys/timeb.h>
          ^~~~~~~~~~~~~


backwardsEric January 11, 2022 16:27

Quote:

Originally Posted by lea2501 (Post 156968)
Sadly i have the same exact error

Code:

Generating dependencies...
gmake[4]: Entering directory '/home/lea/src/frogcomposband/src'
In file included from ninja.c:1:
In file included from ./angband.h:19:
In file included from ./h-basic.h:66:
./h-system.h:43:12: fatal error: 'sys/timeb.h' file not found
#  include <sys/timeb.h>
          ^~~~~~~~~~~~~


Hmm, setting SGI should have excluded that; it worked on OpenBSD 6.9. Commenting out line 43 of h-system.h should do the trick; replace it with

Code:

/* # include <sys/timeb.h> */

lea2501 January 11, 2022 18:01

Quote:

Originally Posted by backwardsEric (Post 156974)
Hmm, setting SGI should have excluded that; it worked on OpenBSD 6.9. Commenting out line 43 of h-system.h should do the trick; replace it with

Code:

/* # include <sys/timeb.h> */

Thanks! i managed to compiled it with this:
Code:

$ ./configure --prefix $HOME/.frogcomposband --without-x --with-no-install CFLAGS="-DSGI -DULTRIX"
$ gmake

because i saw this in the "src/h-system.h" file:
Code:

# if !defined(SGI) && !defined(ULTRIX)
    # include <sys/timeb.h>
# endif

and it compiled! but it doesn't work
Code:

v ~/src/frogcomposband [master]
lea@openbsd > ./src/frogcomposband -uUser -mgcu -- -n1
./src/frogcomposband: Unable to prepare any 'display module'!
x ~/src/frogcomposband [master]
lea@openbsd > ./src/frogcomposband -uUser
./src/frogcomposband: Unable to prepare any 'display module'!
x ~/src/frogcomposband [master]
lea@openbsd > ./src/frogcomposband
./src/frogcomposband: Unable to prepare any 'display module'!



All times are GMT +1. The time now is 21:23.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.