It doesnt compile with gmime 2.4x.
--- gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD -MP -MF ..deps/libdbmail_la-dbmail-message.Tpo -c dbmail-message.c -fPIC -DPIC -o ..libs/libdbmail_la-dbmail-message.o dbmail-message.c: In function 'find_boundary': dbmail-message.c:297: warning: implicit declaration of function 'g_mime_content_type_destroy' dbmail-message.c: In function 'store_mime_multipart': dbmail-message.c:456: warning: passing argument 1 of 'g_mime_content_type_get_parameter' discards qualifiers from pointer target type dbmail-message.c:460: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type dbmail-message.c:469: error: 'GMimePartFunc' undeclared (first use in this function) dbmail-message.c:469: error: (Each undeclared identifier is reported only once dbmail-message.c:469: error: for each function it appears in.) dbmail-message.c:469: error: expected ')' before 'store_mime_object' dbmail-message.c:469: error: too few arguments to function 'g_mime_multipart_foreach' dbmail-message.c:477: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type dbmail-message.c: In function 'store_mime_object': dbmail-message.c:520: warning: implicit declaration of function 'g_mime_header_set_raw' dbmail-message.c:527: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type dbmail-message.c:530: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type dbmail-message.c:533: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type dbmail-message.c: In function '_set_content_from_stream': dbmail-message.c:796: warning: implicit declaration of function 'g_mime_stream_filter_new_with_stream' dbmail-message.c:796: warning: assignment makes pointer from integer without a cast dbmail-message.c:798: error: 'GMIME_FILTER_CRLF_DECODE' undeclared (first use in this function) dbmail-message.c:798: error: 'GMIME_FILTER_CRLF_MODE_CRLF_DOTS' undeclared (first use in this function) dbmail-message.c: In function '_map_headers': dbmail-message.c:919: warning: implicit declaration of function 'g_mime_header_foreach' dbmail-message.c: In function 'dbmail_message_set_header': dbmail-message.c:999: warning: implicit declaration of function 'g_mime_message_set_header' dbmail-message.c: In function 'dbmail_message_get_header': dbmail-message.c:1005: warning: implicit declaration of function 'g_mime_message_get_header' dbmail-message.c:1005: warning: return makes pointer from integer without a cast dbmail-message.c: In function 'dbmail_message_get_header_addresses': dbmail-message.c:1031: warning: implicit declaration of function 'internet_address_parse_string' dbmail-message.c:1031: warning: assignment makes pointer from integer without a cast dbmail-message.c:1038: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:1039: error: 'InternetAddress' has no member named 'value' dbmail-message.c:1040: error: 'InternetAddressList' has no member named 'next' dbmail-message.c:1042: error: 'InternetAddressList' has no member named 'next' dbmail-message.c:1045: warning: implicit declaration of function 'internet_address_list_destroy' dbmail-message.c: In function 'insert_address_cache': dbmail-message.c:1675: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:1675: error: 'InternetAddressList' has no member named 'next' dbmail-message.c:1677: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:1683: error: 'InternetAddress' has no member named 'value' dbmail-message.c:1683: error: 'InternetAddress' has no member named 'value' dbmail-message.c: In function 'dm_message_get_addresslist': dbmail-message.c:1746: warning: assignment makes pointer from integer without a cast dbmail-message.c: In function 'dbmail_message_construct': dbmail-message.c:1913: error: 'GMimePartEncodingType' undeclared (first use in this function) dbmail-message.c:1913: error: expected ';' before 'encoding' dbmail-message.c:1926: error: 'encoding' undeclared (first use in this function) dbmail-message.c:1931: warning: implicit declaration of function 'g_mime_message_add_recipients_from_string' dbmail-message.c:1938: warning: assignment makes pointer from integer without a cast dbmail-message.c:1941: error: 'GMIME_PART_ENCODING_BASE64' undeclared (first use in this function) dbmail-message.c:1942: warning: implicit declaration of function 'g_mime_filter_basic_new_type' dbmail-message.c:1942: error: 'GMIME_FILTER_BASIC_BASE64_ENC' undeclared (first use in this function) dbmail-message.c:1942: warning: assignment makes pointer from integer without a cast dbmail-message.c:1944: error: 'GMIME_PART_ENCODING_QUOTEDPRINTABLE' undeclared (first use in this function) dbmail-message.c:1945: error: 'GMIME_FILTER_BASIC_QP_ENC' undeclared (first use in this function) dbmail-message.c:1945: warning: assignment makes pointer from integer without a cast dbmail-message.c:1973: warning: implicit declaration of function 'g_mime_part_set_content_header' dbmail-message.c: In function 'parse_and_escape': dbmail-message.c:2257: warning: assignment makes pointer from integer without a cast dbmail-message.c:2263: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:2264: error: 'InternetAddress' has no member named 'type' dbmail-message.c:2264: error: 'INTERNET_ADDRESS_NAME' undeclared (first use in this function) dbmail-message.c:2270: error: 'InternetAddress' has no member named 'value' make[3]: *** [libdbmail_la-dbmail-message.lo] Error 1 make[3]: Leaving directory `/usr/local/src/postfix/git/dbmail/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/postfix/git/dbmail/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/postfix/git/dbmail' make: *** [all] Error 2 flecha:/usr/local/src/postfix/git/dbmail# From: [email protected] [mailto:[email protected]] On Behalf Of Jorge Bastos Sent: sábado, 2 de Maio de 2009 23:52 To: 'DBMAIL Developers Mailinglist' Subject: Re: [Dbmail-dev] Last GIT and gmime 2.4x Ok, Going to the configure file and change: Gmime-2.0 To Gmime-2.4 Makes it work. But, how can you make this work for both situations? From: [email protected] [mailto:[email protected]] On Behalf Of Jorge Bastos Sent: sábado, 2 de Maio de 2009 23:44 To: 'DBMAIL Developers Mailinglist' Subject: [Dbmail-dev] Last GIT and gmime 2.4x Paul, Does the configure script have something blocking the gmime version to 2.0x? On debian sid, I have the gmime 2.4x, and configure fails, saying something about gmime-2.0, can you confirm me this? Details: flecha:/usr/local/src/postfix/git/dbmail# dpkg -l|grep -i gmime rc libgmime-2.0-2 2.2.18-1 MIME library rc libgmime-2.0-2a 2.2.22-4 MIME library ii libgmime-2.4-2 2.4.6-3 MIME message parser and creator library - ru ii libgmime-2.4-dev 2.4.6-3 MIME message parser and creator library - de rc libgmime2.1 2.1.19-1 MIME library, unstable version flecha:/usr/local/src/postfix/git/dbmail# (did, make clean, autoreconf I, configure wish-sieve) checking for pkg-config... /usr/bin/pkg-config checking GLib headers... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking Glib libraries... -lglib-2.0 checking for pkg-config... /usr/bin/pkg-config checking GMime headers... Package gmime-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gmime-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gmime-2.0' found no configure: error: Unable to locate gmime development files make: *** [config.status] Error 1 flecha:/usr/local/src/postfix/git/dbmail# theres the new gmime-2.4.pc file instead of gmime-2.0.pc jorge,
_______________________________________________ Dbmail-dev mailing list [email protected] http://mailman-new.icns.fastxs.net/cgi-bin/mailman/listinfo/dbmail-dev
