Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 5th, 2004, 03:53 PM
killerboy killerboy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 killerboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
problem with courier-imap

I've been trying to install courier-imap for a week
on redhat 9 ,qmail+sql+vpopmail+courier-imap
i ran /configure with the following options

--prefix=/usr/local/courier-imap \
--disable-root-check \
--without-authpam \
--without-authldap \
--without-authpwd \
--without-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authcustom \
--without-authcram \
--with-authdaemon \
--with-authvchkpw \

after i run make it gives the folowing errors


gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..
-o authvchkpw modauthvchkpw.o libauthmod.a
libauth.a ../numlib/libnumlib.a ../md5/libmd5.a
../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail
-L/usr/local/mysql/lib -lmysqlclient -lz -lm -lcrypt
-lm -lcrypt
/usr/bin/ld: cannot find -lmysqlclient

I also tried using

CPPFLAGS="-I/usr/local/mysql/include" \
LDFLAGS="-L/usr/local/mysql/lib -lmysqlclient -lz"

but still no luck...please help!!!!

Reply With Quote
  #2  
Old October 12th, 2004, 08:15 AM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
On your configure command, you need to add one more...

--enable-libdir=/usr/lib/mysql/

Try running it without the CPPFLAGS or LDFLAGS... I dont think you need them.

Here's my full configure command... you may want to consider some of these...

./configure \
--enable-roaming-users=y \
--enable-logging=y \
--enable-ip-alias-domains=y \
--enable-auth-module=mysql \
--enable-clear-passwd=n \
--enable-libdir=/usr/lib/mysql/ \
--enable-tcpserver-path=/home/vpopmail/etc/ \
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--enable-qmail-ext \
--enable-logging=e \
--enable-tcprules-prog=/usr/local/bin/tcprules \
--enable-rebuild-tcpserver-file \
--enable-mysql-limits \
--enable-domainquotas

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > problem with courier-imap


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT