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 557335 - build fails with --disable-schemas-install
build fails with --disable-schemas-install
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal major
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2008-10-21 23:26 UTC by Christian Persch
Modified: 2008-10-21 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (602 bytes, patch)
2008-10-21 23:31 UTC, Christian Persch
committed Details | Review

Description Christian Persch 2008-10-21 23:26:19 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.
Comment 1 Christian Persch 2008-10-21 23:31:31 UTC
Created attachment 121074 [details] [review]
patch
Comment 2 Thomas Thurman 2008-10-21 23:58:12 UTC
Oh dear.  Thanks so much.  Committed.

http://svn.gnome.org/viewvc/metacity?rev=3969&view=rev