GNOME Bugzilla – Bug 557335
build fails with --disable-schemas-install
Last modified: 2008-10-21 23:58:12 UTC
make[4]: entrant dans le répertoire « /opt/source/gnome-2/trunk/metacity/src » /bin/sh ../libtool --tag=CC --mode=link gcc -g -O -Wall -L/opt/gnome-trunk/lib -Wl,-O1 -o schema_bindings gcc -g -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -Wformat -Wformat-security -Werror=format-security -g -O -Wall -Wl,-O1 -o schema_bindings -L/opt/gnome-trunk/lib /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status The schema_bindings programme is only built when GCONF_SCHEMAS_INSTALL is defined. However since it creates the .schemas file which is also needed for the install-schemaDATA rule, it must be built always. Attached patch fixes the problem.
Created attachment 121074 [details] [review] patch
Oh dear. Thanks so much. Committed. http://svn.gnome.org/viewvc/metacity?rev=3969&view=rev