On Thursday 07 September 2006 13:50, William Balcerski wrote:
> > Sorry I did not notice the mistake before - you should use CPPFLAGS
> > instead of CFLAGS.
>
> Alright here is output from configure:
> checking gdbm.h usability... yes
> checking gdbm.h presence... yes
> checking for gdbm.h... yes
> checking ncurses.h usability... yes
> checking ncurses.h presence... yes
> checking for ncurses.h... yes
> checking for gdbm_open in -lgdbm... yes
>
> That's good.  Then I do make:
> touch null
> make depend
> cd ntserv;    make depend
> gcc -M -g -O2 -Wall  -DRSA   -I../include ./cluecheck.c ./coup.c ./data.c
> ./db.c  ./death.c ./detonate.c  ./enter.c  ./findslot.c  ./getentry.c
> ./getname.c  ./salt.c ./getship.c  ./input.c  ./interface.c  ./main.c
> ./orbit.c  ./phaser.c  ./plasma.c  ./redraw.c  ./reserved.c  ./sintab.c
> ./socket.c  ./genspkt.c  ./smessage.c  ./startrobot.c  ./timecheck.c
> ./torp.c  ./util.c  ./warning.c    ./ping.c ./getpath.c   ./features.c
> ./distress.c ./transwarp.c  ./gencmds.c ./ntscmds.c ./openmem.c
> ./feature.c ./queue.c ./slotmaint.c  ./wander2.c ./sysdefaults.c
> ./rsa_key.c > .depend
> db.c:14:18: gdbm.h: No such file or directory
>
> Not so good!  Any idea what's going wrong here?

Hmm, not sure..
I don't have the code handy at the moment but I am guessing the Makefile isn't 
getting the CFLAGS value generated by configure.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060907/d7066541/attachment.pgp