/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module nautilus.

Error - #warning "Constructor not supported on this compiler, linking in resources will not work"

This happens due to a recent change with the resources compiler in GLib.

nautilus-resources.c is a generated file and recent changes in GLib means that the file needs to be regenerated. Erase nautilus/src/nautilus-resources.[ch] and try to build again.

Error - Nautilus build dies with undefined reference to g_intern_static_string

System: Suse 10.0

Stage: Execution

On Suse 10.0, the nautilus build dies with message:

 undefined reference to g_intern_static_string

Cause: This is because nautilus picks up libbeagle as installed in the system's /opt/gnome/lib, and that pulls in /opt/gnome/lib/libglib.

Solution: You need to pass --disable-beagle to nautilus's configure. You can do this by adding the following to your .jhbuildrc:

 module_autogenargs['nautilus'] = autogenargs + '--disable-beagle'


cannot create regular file `/usr/local/lib/libnautilus-extension.so.1.1.0': Permission denied

System: Ubuntu 7.10 - Gnome 2.21

Stage: Install

/home/nazgul/bin/install-check .libs/libnautilus-extension.so.1.1.0 /usr/local/lib/libnautilus-extension.so.1.1.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libnautilus-extension.so.1.1.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Fehler 1

Cause: Attempt to install libnautilus-extension.so to /usr/local/lib/ but $prefix was set somewhere else

Solution:

?

Error - GtkIconSize isn't defined

System details: 26th March, 2008 - GNOME 2.24 - Ubuntu Gutsy Gibbon 7.10

Stage: Compile

Message:

nautilus-icon-info.h:82: error: expected ')' before 'size'

Cause: This line has the next content:

gint  nautilus_get_icon_size_for_stock_size          (GtkIconSize        size);

The problem is that GtkIconSize isn't defined here.

Solution: Add the next line at the beginning of checkout/nautilus/libnautilus-private/nautilus-icon-info.h, near to other includes:

#include <gtk/gtkenums.h>

Library GtkEnums defines GtkIconSize.


CategoryJhbuildIssues

Projects/Jhbuild/Issues/nautilus (last edited 2013-11-25 16:29:21 by WilliamJonMcCann)