error installing nautilus 2.10
nautilus-program-choosing.c: In function `nautilus_launch_desktop_file':
nautilus-program-choosing.c:858: error: `Time' undeclared (first use in this function) nautilus-program-choosing.c:858: error: (Each undeclared identifier is reported only once nautilus-program-choosing.c:858: error: for each function it appears in.) nautilus-program-choosing.c:858: error: syntax error before "timestamp" nautilus-program-choosing.c:949: error: `timestamp' undeclared (first use in this function) make[2]: *** [nautilus-program-choosing.lo] Error 1 make[2]: Leaving directory `/cachemultiusuario/gnome/nautilus-2.10.0/libnautilus-private' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cachemultiusuario/gnome/nautilus-2.10.0' make: *** [all] Error 2 help me |
post a little farther up, where the real error is occurring ( probably about 10-15 lines up).
|
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../cut-n-paste-code -pthread -DORBIT2=1 -I/usr/local/include/eel-2 -I/usr/local/include/gconf/2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/gail-1.0 -I/usr/local/include/libglade-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/librsvg-2 -I/usr/local/include -I/usr/local/include/gnome-desktop-2.0 -I/usr/include/libxml2 -I/usr/include/orbit-2.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DDATADIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DNAUTILUS_DATADIR=\"/usr/local/share/nautilus\" -DNAUTILUS_EXTENSIONDIR=\"/usr/local/lib/nautilus/extensions-1.0\" -g -O2 -MT nautilus-program-choosing.lo -MD -MP -MF .deps/nautilus-program-choosing.Tpo -c nautilus-program-choosing.c -fPIC -DPIC -o .libs/nautilus-program-choosing.o
nautilus-program-choosing.c: In function `nautilus_launch_desktop_file': nautilus-program-choosing.c:858: error: `Time' undeclared (first use in this function) nautilus-program-choosing.c:858: error: (Each undeclared identifier is reported only once nautilus-program-choosing.c:858: error: for each function it appears in.) nautilus-program-choosing.c:858: error: syntax error before "timestamp" nautilus-program-choosing.c:949: error: `timestamp' undeclared (first use in this function) make[2]: *** [nautilus-program-choosing.lo] Error 1 make[2]: Leaving directory `/cachemultiusuario/gnome/nautilus-2.10.0/libnautilus-private' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cachemultiusuario/gnome/nautilus-2.10.0' make: *** [all] Error 2 [root@pc-47-218-104-200 nautilus-2.10.0]# before i execute ./configure without errors |
I'm getting exactly the same problem. Had a look around the file at the line that is causing the error and there are other lines the same in that file which apparently don't cause errors - so I'm stuck also. Any programmers among us?
|
in nautilus-program-choosing.c , have a variable Time undeclarate but i don't know how declarate it , i send a mail to author of nautilus-program-choosing.c if any one know how to report this error please Reply
|
I figured out the solution...well it worked for me at least!
You need the startup-notification package, which is part of gnome and can be found here: http://ftp.gnome.org/pub/GNOME/deskt...on-0.8.tar.bz2 ...the nautilus-program-choosing.c file doesn't visibly link to it that I could see, but there is a comment below the timestamp function that mentions startup notification. Get that package, compile it and see if that fixes the problem. The gnome developers should really have a check in the nautilus configure script to see if that library is installed. |
Thank you very much, you are a genius
|
All times are GMT -5. The time now is 11:10 AM. |