nmh-workers
[Top] [All Lists]

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

2006-05-06 15:49:33
Joel Reicher <joel@panacea.null.org> writes:

env CPPFLAGS=-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include LDFLAGS=-L/Devel
oper/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

And what was the output of configure?!

assuming the path is correct and the name is libndbm.

That maybe the problem.

No, sorry. I wasn't careful when I wrote that. configure will
check a number of different names for the library, not just libndbm.

% 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

Although libdbm is not one of them, AFAICT.

You might have to set --with-ndbm=dbm to get configure to use that library
(if it's the correct one).

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

You need to reconfigure. gdbm does look like it's a better bet though,
and configure will get the names of the files right automatically.

Cheers,

        - Joel


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>