The following issue has been CLOSED 
====================================================================== 
http://dbmail.org/mantis/view.php?id=871 
====================================================================== 
Reported By:                smb
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   871
Category:                   installation scripts
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     closed
target:                      
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             05-Jan-11 16:40 CET
Last Modified:              29-Jan-11 15:55 CET
====================================================================== 
Summary:                    ./configure --with-pgsql mhash problem with
dbmail-3.0.0 rc1
Description: 
i want install dbmail-3.0.0-rc1 but when i execute ./configure --with-pgsql
under source folder system show me follow error:
checking mhash.h usability... no
checking mhash.h presence... no
checking for mhash.h... no
configure: error: Could not find MHASH library.

but i install mhash(0.9.9.9) port in freebsd and mhash header file exist
in /usr/local/include/mhash.h

i attach config.log 
====================================================================== 

---------------------------------------------------------------------- 
 (0003153) paul (administrator) - 29-Jan-11 15:54
 http://dbmail.org/mantis/view.php?id=871#c3153 
---------------------------------------------------------------------- 

Reading the config.log I see:

configure:5759: gcc -c -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -D_REENTRANT
-I/usr/local/include/gmime-2.4 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    conftest.c >&5
In file included from conftest.c:56:
/usr/include/mhash.h:6:30: error: mutils/mincludes.h: No such file or
directory
/usr/include/mhash.h:7:28: error: mutils/mglobal.h: No such file or
directory
/usr/include/mhash.h:8:27: error: mutils/mtypes.h: No such file or
directory
/usr/include/mhash.h:9:27: error: mutils/mutils.h: No such file or
directory
/usr/include/mhash.h:10:26: error: mutils/mhash.h: No such file or
directory
configure:5765: $? = 1


So clearly the mhash installation is either incomplete, or gcc can't find
the required headers. Try playing with CFLAGS, like:

env CFLAGS="/usr/include" ./configure --with-sieve

setting CFLAGS to something sensible for the mhash headers.

Please note that --with-pgsql is a bogus argument for 3.0 since the
database support is entirely determined by your libzdb installation.

 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
05-Jan-11 16:40  smb            New Issue                                    
05-Jan-11 16:40  smb            File Added: config.log                       
29-Jan-11 15:54  paul           Note Added: 0003153                          
29-Jan-11 15:55  paul           Severity                 major => feature    
29-Jan-11 15:55  paul           Status                   new => closed       
29-Jan-11 15:55  paul           Resolution               open => no change
required
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to