Re: [Evolution] evolution svn head broken



Hello Bharath!

I think this was caused by your recent commit of the templates.c file. I
suspect that it only occurs when compiling out-of-tree because '#include
"Evolution-Mail.h"' in mail-component.h works when compiling in-tree.

The include line in mail-component.h looks like the root cause of the
problem, not the missing -I in the templates directory. Including
"mail/Evolution-Mail.h" instead fixes the problem for me, patch
attached.

I also ran into it when compiling the stable branch. Please commit in
both branches if you agree with the solution.

Bye, Patrick

On Fri, 2008-10-17 at 08:39 -0400, Reid Thompson wrote:
Making all in templates
make[4]: Entering directory `/media/disk-1/home/evo-src/obj/evolution/plugins/templates'
make  all-am
make[5]: Entering directory `/media/disk-1/home/evo-src/obj/evolution/plugins/templates'
../../doltcompile ccache gcc -DHAVE_CONFIG_H -I. -I../../../../evolution/plugins/templates -I../.. 
-I../../../../evolution -I../.. -I../../composer -pthread -DORBIT2=1 
-I/opt/evo/include/evolution-data-server-2.26 -I/opt/evo/include/glib-2.0 -I/opt/evo/lib/glib-2.0/include 
-I/opt/evo/include/libsoup-2.4 -I/opt/evo/include/libgtkhtml-3.14 -I/opt/evo/include/libgtkhtml-3.14/editor 
-I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 
-I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 
-I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/enchant -I/usr/include/nss 
-I/usr/include/nspr     -DEVOLUTION_GLADEDIR=\""/opt/evo/share/evolution/2.26/glade"\" 
-DEVOLUTION_PLUGINDIR="\"/opt/evo/lib/evolution/2.26/plugins\""  -ggdb -O2 -march=prescott  -ggdb -Wall 
-Wmissing-prototypes  -Wno-sign-compare -MT templates.lo -MD -MP -MF .deps/templates.Tpo -c -o templates.lo 
../../../../evolution/plugins/templates/templates.c
In file included from ../../../../evolution/plugins/templates/templates.c:40:
../../../../evolution/mail/mail-component.h:30:28: error: Evolution-Mail.h: No such file or directory
In file included from ../../../../evolution/plugins/templates/templates.c:40:
../../../../evolution/mail/mail-component.h:62: error: expected specifier-qualifier-list before 
âPOA_GNOME_Evolution_MailComponent__epvâ
make[5]: *** [templates.lo] Error 1
make[5]: Leaving directory `/media/disk-1/home/evo-src/obj/evolution/plugins/templates'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/media/disk-1/home/evo-src/obj/evolution/plugins/templates'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/media/disk-1/home/evo-src/obj/evolution/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/disk-1/home/evo-src/obj/evolution'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/disk-1/home/evo-src/obj/evolution'
make: *** [.stamp/evolution.build] Error 2
add file removal here
mv: cannot stat `/usr/lib/*1900*': No such file or directory

_______________________________________________
Evolution-list mailing list
Evolution-list gnome org
http://mail.gnome.org/mailman/listinfo/evolution-list
-- 
Bye, Patrick Ohly
--  
Patrick Ohly gmx de
http://www.estamos.de/

Attachment: mail-include.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]