After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570208 - vte fails to build outside source tree
vte fails to build outside source tree
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.19.x
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks: 569778
 
 
Reported: 2009-02-02 13:29 UTC by Theppitak Karoonboonyanan
Modified: 2009-02-02 15:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Add -I CFLAGS (702 bytes, patch)
2009-02-02 13:31 UTC, Theppitak Karoonboonyanan
none Details | Review

Description Theppitak Karoonboonyanan 2009-02-02 13:29:29 UTC
When building vte outside source tree, the following error is found:

- In python/, vtemodule.c fails to build, due to vtetypebuiltins.h and vteversion.h:

---8<---
 gcc -DHAVE_CONFIG_H -I. -I/home/thep/vcs/gnome_svn/vte/python -I.. -I/home/gnome2/include/glib-2.0 -I/home/gnome2/lib64/glib-2.0/include -I/home/gnome2/include/pango-1.0 -I/home/gnome2/include/gtk-2.0 -I/home/gnome2/lib64/gtk-2.0/include -I/home/gnome2/include/atk-1.0 -I/home/gnome2/include/cairo -I/home/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.5 -I/usr/include/python2.5 -I/home/gnome2/include/pygtk-2.0 -I/home/gnome2/include/glib-2.0 -I/home/gnome2/lib64/glib-2.0/include -g -O2 -I/home/gnome2/include -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Waggregate-return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -fno-common -Wno-switch-enum -MT vtemodule_la-vtemodule.lo -MD -MP -MF .deps/vtemodule_la-vtemodule.Tpo -c /home/thep/vcs/gnome_svn/vte/python/vtemodule.c  -fPIC -DPIC -o .libs/vtemodule_la-vtemodule.o
In file included from /home/thep/vcs/gnome_svn/vte/python/vtemodule.c:27:
/home/thep/vcs/gnome_svn/vte/python/../src/vte.h:30:29: error: vtetypebuiltins.h: No such file or directory
/home/thep/vcs/gnome_svn/vte/python/../src/vte.h:31:24: error: vteversion.h: No such file or directory
make[2]: *** [vtemodule_la-vtemodule.lo] Error 1
make[2]: Leaving directory `/home/thep/build/gnome_svn/vte/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thep/build/gnome_svn/vte'
make: *** [all] Error 2
---8<---

Both files are generated under $(top_builddir) root. So, additional -I CFLAGS is required to reach them.
Comment 1 Theppitak Karoonboonyanan 2009-02-02 13:31:27 UTC
Created attachment 127759 [details] [review]
Add -I CFLAGS

This patch allows non-source-dir build in my machine.
Comment 2 Christian Persch 2009-02-02 15:09:17 UTC
Fixed in svn.