List Info

Thread: Build on OSX 10.4.4




Build on OSX 10.4.4
user name
2006-02-12 22:02:40
Hello,

dbmail_latest_2.0_branch

After running ./configure --with-mysql
gmake fails with:
/bin/sh ../libtool --tag=CC --mode=link gcc
-fomit-frame-pointer -g - 
O2 -W -Wall -Wpointer-arith -Wstrict-prototypes   -o
libauthdbmail.la  
-rpath /usr/local/lib/dbmail  authsql.lo -lcrypt 
-L/usr/local/mysql/ 
lib -lmysqlclient -lz -lm
gcc -dynamiclib $-flat_namespace $-undefined
$suppress - 
o .libs/libauthdbmail.0.0.0.dylib  .libs/authsql.o  -lcrypt
-L/usr/ 
local/mysql/lib -lmysqlclient -lz -lm  -install_name 
/usr/local/lib/ 
dbmail/libauthdbmail.0.dylib -Wl,-compatibility_version
-Wl,1 -Wl,- 
current_version -Wl,1.0
/usr/bin/libtool: can't locate file for: -lcrypt
/usr/bin/libtool: file: -lcrypt is not an object file (not
allowed in  
a library)


Changing auth/MakeFile to the following allows gmake to
complete:
#libauthdbmail_la_LIBADD = -lcrypt  -L/usr/local/mysql/lib -

lmysqlclient -lz -lm
libauthdbmail_la_LIBADD = -L/usr/local/mysql/lib
-lmysqlclient -lz -lm

after which "gmake install" renders what appears
to be a working  
dbmail, meaning I can start dbmail-pop3d and dbmail-imapd
and login  
and check mail. I don't yet have postfix working with
dbmail but I  
can copy emails to my imap folders. I have been struggling
with the  
OSX postfix install but I think that's a matter of Apple
not  
compiling postfix with mysql support but was wondering if my
 
alterations could be contributing to my lack of postfix
integration.  
I'm thinking not. I'm thinking if dbmail can communicate
with mysql  
auth is good.

Also, is there a way to pass something to configure to make
it aware  
that the crypt functions are in unistd.h? I'm kinda over my
head here  
so I'm basically repeating what others who were trying to
help  
(apple) have said.

One more thing, dbmail 2.1 doesn't seem to have the
configure script  
nor the buildtools dir. Am I missing something?

Thanks for any clues.


/brad
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
Build on OSX 10.4.4
user name
2006-02-13 07:57:56

Bradley Giesbrecht wrote:
> Hello,
> 
> dbmail_latest_2.0_branch
> 
> After running ./configure --with-mysql
> gmake fails with:
> /bin/sh ../libtool --tag=CC --mode=link gcc
-fomit-frame-pointer -g - O2
> -W -Wall -Wpointer-arith -Wstrict-prototypes   -o
libauthdbmail.la 
> -rpath /usr/local/lib/dbmail  authsql.lo -lcrypt 
-L/usr/local/mysql/
> lib -lmysqlclient -lz -lm
> gcc -dynamiclib $-flat_namespace $-undefined
$suppress - o
> .libs/libauthdbmail.0.0.0.dylib  .libs/authsql.o 
-lcrypt -L/usr/
> local/mysql/lib -lmysqlclient -lz -lm  -install_name 
/usr/local/lib/
> dbmail/libauthdbmail.0.dylib -Wl,-compatibility_version
-Wl,1 -Wl,-
> current_version -Wl,1.0
> /usr/bin/libtool: can't locate file for: -lcrypt
> /usr/bin/libtool: file: -lcrypt is not an object file
(not allowed in  a
> library)
> 
> 
> Changing auth/MakeFile to the following allows gmake to
complete:
> #libauthdbmail_la_LIBADD = -lcrypt 
-L/usr/local/mysql/lib -
> lmysqlclient -lz -lm
> libauthdbmail_la_LIBADD = -L/usr/local/mysql/lib
-lmysqlclient -lz -lm

Try rebuilding the Makefiles.in files and configure by
running
'autoreconf -i'.  But perhaps some freebsd user can
enlighten us here.
Also, try searching the list archives (use google); this
does sound
familiar.


> 
> after which "gmake install" renders what
appears to be a working 
> dbmail, meaning I can start dbmail-pop3d and
dbmail-imapd and login  and
> check mail. I don't yet have postfix working with
dbmail but I  can copy
> emails to my imap folders. I have been struggling with
the  OSX postfix
> install but I think that's a matter of Apple not 
compiling postfix with
> mysql support but was wondering if my  alterations
could be contributing
> to my lack of postfix integration.  I'm thinking not.
I'm thinking if
> dbmail can communicate with mysql  auth is good.

You don't need postfix-mysql to use dbmail, though it will
help a lot by
allowing postfix to determine validity of recipients.

> 
> Also, is there a way to pass something to configure to
make it aware 
> that the crypt functions are in unistd.h? I'm kinda
over my head here 
> so I'm basically repeating what others who were trying
to help  (apple)
> have said.

again, autoreconf -i may help.

> 
> One more thing, dbmail 2.1 doesn't seem to have the
configure script 
> nor the buildtools dir. Am I missing something?

Only releases and stable branches contain configure. Here,
autoreconf -i
will definitely help.


-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )