[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Re: compile nmh on Mac OS X breaks on slocal.c
From: |
Joel Reicher |
Subject: |
Re: [Nmh-workers] Re: compile nmh on Mac OS X breaks on slocal.c |
Date: |
Sun, 07 May 2006 00:14:52 +1000 |
> % locate 'ndbm.*'
> /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/ndbm.h
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ndbm.h
> /usr/include/ndbm.h
> % ./configure --with-ndbm=/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ --with-ndb
> mheader=/Developer/SDKs/MacOSX10.4u.sdk/usr/include/
> checking for dbm in /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ and /Develop
> er/SDKs/MacOSX10.4u.sdk/usr/lib/... no
> configure: error: could not find a working ndbm library/header combination
Try
env CPPFLAGS=-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include
LDFLAGS=-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib ./configure
Your ndbm header has the default name, so configure only needs to be able
to find the path. That might do the trick. Similarly with the lib,
assuming the path is correct and the name is libndbm.
You shouldn't need cvs nmh for this to work.
Cheers,
- Joel