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.
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
creating libdbmail.la
(cd .libs && rm -f libdbmail.la && ln -s ../libdbmail.la libdbmail.la)
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/sw/include/glib-2.0 -
I/sw/lib/glib-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/
include -I/opt/local/include/gmime-2.0 -W -Wall -Wpointer-arith -
Wstrict-prototypes -c main.c
/bin/sh ./libtool --mode=link gcc -g -O2 -I/sw/include/glib-2.0 -I/
sw/lib/glib-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/
include -I/opt/local/include/gmime-2.0 -W -Wall -Wpointer-arith -
Wstrict-prototypes -L/sw/lib -lglib-2.0 -lintl -liconv -L/sw/lib -L/
opt/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lglib-2.0 -lintl -
liconv -o dbmail-smtp main.o libdbmail.la
gcc -g -O2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/opt/local/include/
gmime-2.0 -W -Wall -Wpointer-arith -Wstrict-prototypes -o .libs/
dbmail-smtp main.o -L/sw/lib -L/opt/local/lib ./.libs/libdbmail.a /
Users/brad/Desktop/Sandbox/dbmail/dbmail-2.1.3.debug/mysql/.libs/
libsqldbmail.dylib -L/usr/local/mysql/lib -lcrypt -lmysqlclient -lm /
opt/local/lib/libgmime-2.0.dylib /usr/lib/libiconv.dylib -lz /sw/lib/
libgobject-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /
sw/lib/libiconv.dylib
/usr/bin/ld: multiple definitions of symbol _query
./.libs/libdbmail.a(dbmail-message.o) definition of _query in section
(__DATA,__common)
./.libs/libdbmail.a(db.o) definition of _query in section
(__DATA,__common)
/usr/bin/ld: can't locate file for: -lcrypt
collect2: ld returned 1 exit status
make[2]: *** [dbmail-smtp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
/brad
On Dec 11, 2005, at 1:27 AM, Paul J Stevens wrote:
Bradley Giesbrecht wrote:
Hello,
In order to get dbmail to compile on osx 10.4 I have to change
crypt.h
to unistd.h in configure at line 6053 for v2.1.3 and 6098 for
v2.0.7.
While running ./configure the check for crypt.h prints:
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
So is that fatal? I shouldn't be. It's exactly what I get on my
netbsd system.
I don't have a lot of experience with this type of thing but some
research suggests that on unix systems the cyrpt functionality is in
unistd.h and not crypt.h. Is this possibly different on linux?
crypt.h is included only if and when available.
Is changing the reference in configure from crypt.h to unistd.h a
good
way to solve my compile problem?
No.
Please show me more of the actual error/bailout.
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail