nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] Re: compile nmh on Mac OS X breaks on slocal.c


From: Matthias Teege
Subject: [Nmh-workers] Re: compile nmh on Mac OS X breaks on slocal.c
Date: Sun, 07 May 2006 00:01:22 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (darwin)

Joel Reicher <address@hidden> writes:

> env CPPFLAGS=-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include 
> LDFLAGS=-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib ./configure

% setenv LDFLAGS -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib
% setenv CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/usr/include  
% ./configure
% make

slocal.c:1595: warning: implicit declaration of function 'dbm_store'
slocal.c:1595: error: 'DBM_INSERT' undeclared (first use in this function)
slocal.c:1600: warning: implicit declaration of function 'dbm_close'
make[1]: *** [slocal.o] Error 1
make: *** [all-recursive] Error 1

> assuming the path is correct and the name is libndbm.

That maybe the problem.

% find /Developer/SDKs/MacOSX10.4u.sdk/ -name '*dbm*'
/Developer/SDKs/MacOSX10.4u.sdk//usr/include/ndbm.h
/Developer/SDKs/MacOSX10.4u.sdk//usr/lib/libdbm.dylib

I've also tryed

% find /opt/local -name '*gdbm*'
/opt/local/include/gdbm.h
/opt/local/lib/libgdbm.3.0.0.dylib
/opt/local/lib/libgdbm.3.dylib
/opt/local/lib/libgdbm.a
/opt/local/lib/libgdbm.dylib
/opt/local/lib/libgdbm.la

% setenv CPPFLAGS -I/opt/local/include
% setenv LDFLAGS -L/opt/local/lib
% make
slocal.c:1563: error: 'key' undeclared (first use in this function)
slocal.c:1568: warning: implicit declaration of function 'dbm_open'
slocal.c:1586: error: 'value' undeclared (first use in this function)
slocal.c:1586: warning: implicit declaration of function 'dbm_fetch'
slocal.c:1595: warning: implicit declaration of function 'dbm_store'
slocal.c:1595: error: 'DBM_INSERT' undeclared (first use in this function)
slocal.c:1600: warning: implicit declaration of function 'dbm_close'
make[1]: *** [slocal.o] Error 1make: *** [all-recursive] Error 1

> You shouldn't need cvs nmh for this to work.

Yes, but looks like I need an new OS :-)

Thanks
Matthias





reply via email to

[Prev in Thread] Current Thread [Next in Thread]