[sylpheed-jp:11130] sylpheed のビルド中意図しない ヘッダファイルがインクルードされてコ ンパイルが失敗する
"KISHIMOTO, Makoto" <[email protected]> Wed, 17 Aug 2011 14:07:05 +0900
| Newsgroups | gmane.mail.sylpheed.general.japanese,gmane.org.user-groups.freebsd.japan |
|---|---|
| Message-ID | <[email protected]> |
FreeBSD (Heimdal (Kerberos 5 )
) ports sylpheed-3.1.1
if cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Sylpheed\" -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/gpgme -I/usr/local/include -I/usr/local/include -I../libsylph -DLOCALEDIR=\""/usr/local/share/locale"\" -DMANUALDIR=\""/usr/local/share/doc/sylpheed/manual"\" -DFAQDIR=\""/usr/local/share/doc/sylpheed/faq"\" -DPLUGINDIR=\""/usr/local/lib/sylpheed/plugins"\" -DTARGET_ALIAS=\""amd64-portbld-freebsd8.2"\" -DSYSCONFDIR=\""/usr/local/etc"\" -I/usr/local/in
clude -O2 -pipe -fno-strict-aliasing -I/usr/local/include \
-D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtkspell-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -D_REENTRANT -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -D_REENTRANT -I/usr/local/include/glib-2.0 -MT ldif.o -MD -MP -MF ".deps/ldif.Tpo" \
-c -o ldif.o `test -f 'ldif.c' || echo './'`ldif.c; \
then mv -f ".deps/ldif.Tpo" ".deps/ldif.Po"; \
else rm -f ".deps/ldif.Tpo"; exit 1; \
fi
ldif.c: In function 'ldif_conv_base64':
ldif.c:638: error: too many arguments to function 'base64_decode'
gmake[4]: *** [ldif.o] Error 1
gmake[4]: Leaving directory `/export/ports/mail/sylpheed3/work/sylpheed-3.1.1/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/ports/mail/sylpheed3/work/sylpheed-3.1.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/ports/mail/sylpheed3/work/sylpheed-3.1.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/ports/mail/sylpheed3/work/sylpheed-3.1.1'
gmake: *** [all] Error 2
*** Error code 1
Stop in /export/ports/mail/sylpheed3.
*** Error code 1
Stop in /export/ports/mail/sylpheed3.
Heimdal
/usr/local/include/base64.h
/usr/local/include/base64.h
()
$ cat files/patch-src-Makefile.in
--- src/Makefile.in.ORG 2011-08-17 13:13:09.000000000 +0900
+++ src/Makefile.in 2011-08-17 13:13:29.000000000 +0900
@@ -345,11 +345,11 @@
INCLUDES = \
-DG_LOG_DOMAIN=\"Sylpheed\" \
+ -I$(top_srcdir)/libsylph \
$(GTK_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) \
$(GPGME_CFLAGS) \
- -I$(includedir) \
- -I$(top_srcdir)/libsylph
+ -I$(includedir)
@NATIVE_WIN32_FALSE@SYLPHEED_RES =
() Makefile
Fedora
/usr/local /usr
/usr/include//.h
1