GNOME Bugzilla – Bug 105756
nautilus 2.2.0.2 won't build without -O
Last modified: 2004-12-22 21:47:04 UTC
Nautilus 2.2.0.2 doesn't build unless -O is used. The reason is this line in src/nautilus-server-connect.c: setlocale (LC_ALL, ""); The problem is that <libintl.h> only includes <locale.h> when __OPTIMIZE__ is defined. I believe the correct solution to the problem is the following patch: --- nautilus-server-connect.c.old 2003-02-10 17:46:16.000000000 -0500 +++ nautilus-server-connect.c 2003-02-10 17:46:25.000000000 -0500 @@ -19,6 +19,7 @@ #include <config.h> #include <stdio.h> #include <string.h> +#include <locale.h> #include <glib.h> #include <gnome.h> #include <gconf/gconf-client.h> Thanks!
*** Bug 105425 has been marked as a duplicate of this bug. ***
fixed in cvs.
*** Bug 105924 has been marked as a duplicate of this bug. ***