A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=1033 
====================================================================== 
Reported By:                Lou
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   1033
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             10-Dec-13 17:48 CET
Last Modified:              11-Dec-13 09:14 CET
====================================================================== 
Summary:                    dbmail.h:42:22: fatal error: features.h: No such
file or directory
Description: 
MAKE is having trouble finding a file: features.h

....
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../src   -I/usr/lib/include  -g -O2 -D_REENTRANT -D_PTHREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_PTHREADS -I/usr/include/gmime-2.6
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/local/include/zdb -I/usr/include/zdb -I/usr/local/include/jemalloc
-I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT
sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c -o sortnull.lo sortnull.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src
-I/usr/lib/include -g -O2 -D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_PTHREADS
-I/usr/include/gmime-2.6 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/local/include/zdb -I/usr/include/zdb
-I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall
-Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF
..deps/sortnull.Tpo -c sortnull.c  -fPIC -DPIC -o .libs/sortnull.o
In file included from sortnull.c:28:0:
.../../src/dbmail.h:42:22: fatal error: features.h: No such file or
directory
compilation terminated.
make[3]: *** [sortnull.lo] Error 1
====================================================================== 

---------------------------------------------------------------------- 
 (0003620) paul (administrator) - 11-Dec-13 09:14
 http://www.dbmail.org/mantis/view.php?id=1033#c3620 
---------------------------------------------------------------------- 
Hi Lou,

apparently the conditional inclusion of features.h - which is not required
on solaris derivatives - needs to be updated.

The code involved is in src/dbmail.h.in at line 35:

#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__SUNPRO_C)

there an additional check needs to be added that is true for openindiana.
In the past the __SUNPRO_C boolean was true if you used the SUN compiler,
but since you're now on GCC, we need to find another check.

Checking some sources on hg.openindiana.org, I'd say


#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__sun) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
10-Dec-13 17:48  Lou            New Issue                                    
11-Dec-13 09:14  paul           Note Added: 0003620                          
======================================================================

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

Reply via email to