Here is a snip from a email conversation I'm having with Terry Lambert at apple.
quote
The "most correct" way is to get to the point that you can just run configure, and it kicks out the right Makefiles. You might be able to put in an Mac OS X/Darwin configuration data file that either it shouldn't try to use -lcrypt, or that the name of the library containing crypt is libc (-lc) or libSystem (-lSystem), and it can basically ignore it, like it does for libnsl (the System V nameserver library) or libtli (the System V Transport Layer Independence library - their version of sockets), etc..
close quote


/brad

On Dec 11, 2005, at 1:00 PM, Paul J Stevens wrote:

Bradley Giesbrecht wrote:
Paul, thanks for the reply.

Since I'm new to compile trouble shooting I have a question that may be
stupid. Isn't the crypt.h included in configure regardless of the
result of the check? It doesn't seem to be wrapped in an if or for
statement. It looks to me like it is always included.

The check by configure is only that, a check. If crypt.h is missing or
non-functional it is not included by any of the source code. Still,
cryptographics as provided by the crypt.h is required, but as you concluded,
provided by other files. No problem there.


Here is the last bit of output. Not sure what you meant by bail so if
this is not what you were looking for please give me a li

/usr/bin/ld: can't locate file for: -lcrypt

So that's what I was looking for. You don't have libcrypt on your system. And I
haven't a clue how to fix that for osx.

Just a quick check tells me that on netbsd it's provided by the i386-linux package meant for cross compiling. But since bsd is not my native platform I'm quite oblivious as to what provides native crypt.h-a-like services on bsd.

However, libcrypt is not required by dbmail perse. It's requirement is generally
determined by the sql  backend driver like mysql or postgresql.


mysql_config --libs

on linux:

-L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm

on netbsd:

-Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/mysql - lmysqlclient
-lz -lcrypt -lm   -lssl -lcrypto



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to