[Coldstuff] Errors upon making Genesis.

Michael Henry coldstuff@cold.org
Sun, 3 Feb 2002 11:04:52 -0700


Michael Henry wrote:
> If you notice in the make file, the second option is -lgdbm:
>   LIBS=-lintl -lgdbm -lsocket -lm -lnsl

Oy, stupid me for trying to help before my first cup of coffee.


>From the configure file:
-----------------------------------------------------
if eval "test \"`echo '$ac_cv_header_ndbm_h'`\" = yes"; then
    cat >> confdefs.h <<\EOF
#define DBM_H_FILE <ndbm.h>
EOF
elif eval "test \"`echo '$ac_cv_header_db1_ndbm_h'`\" = yes"; then
    echo "** working around odd placement of ndbm.h file"
    cat >> confdefs.h <<\EOF
#define DBM_H_FILE <db1/ndbm.h>
EOF
elif eval "test \"`echo '$ac_cv_header_gdbm_ndbm_h'`\" = yes"; then
    echo "** working around odd placement of ndbm.h file"
    cat >> confdefs.h <<\EOF
#define DBM_H_FILE <gdbm-ndbm.h>
EOF
else
-------------------------------------------------------
The same troubleshooting should apply. However.  Library paths are
a common problem with linking failures.

You should probably get GDBM anyway.  Its tiny and more functional than ndbm :-)

sorry for lack of brains this morning.

Mike - "derMike"