Re: [Nautilus-list] Compile failure Nautilus 1.0.5



You can fix the libconv dependency with that patch :

===cut here===
--- nautilus/configure.in.orig	Fri Oct 19 04:09:54 2001
+++ nautilus/configure.in	Fri Oct 19 04:10:31 2001
@@ -684,7 +684,7 @@

 dnl Flags for libraries that Nautilus depends on
 NAUTILUS_DEPENDENCY_CFLAGS="`$GNOME_CONFIG --cflags bonobo bonobox bonobox_print gnomecanvaspixbuf xml vfs eel`"
-NAUTILUS_DEPENDENCY_LIBS="`$GNOME_CONFIG --libs bonobo bonobox bonobox_print gnomecanvaspixbuf xml vfs eel`"
+NAUTILUS_DEPENDENCY_LIBS="`$GNOME_CONFIG --libs bonobo bonobox bonobox_print gnomecanvaspixbuf xml vfs eel` -liconv"
 AC_SUBST(NAUTILUS_DEPENDENCY_CFLAGS)
 AC_SUBST(NAUTILUS_DEPENDENCY_LIBS)
===cut here===

and then autogen.sh again. This is the brute force approch. The other way would be to rebuild all your environment without libiconv.
But I guess you'll use the patch B-)



Paul McGarry wrote:

Hi there,

When I try to configure and compile Nautilus on my
system I get the following error:
======
nautilus-desktop-file-loader.c: In function `validated_strdup':
nautilus-desktop-file-loader.c:1043: `CODESET' undeclared (first use in
this function)
nautilus-desktop-file-loader.c:1043: (Each undeclared identifier is
reported only once
nautilus-desktop-file-loader.c:1043: for each function it appears in.)
nautilus-desktop-file-loader.c:1060: warning: passing arg 2 of
`libiconv' from incompatible pointer type
make[2]: *** [nautilus-desktop-file-loader.lo] Error 1
======

CODESET seems to be defined in my /usr/include/langinfo.h,
but only in the case:
======
#ifdef __USE_XOPEN CODESET = _NL_CTYPE_CODESET_NAME, #endif ======

Whacking a "#define __USE_XOPEN"
before the "#include <langinfo>"
in nautilus-desktop-file-loader.c
gets me past that but ultimatly I die later on with:
======
../libnautilus-private/.libs/libnautilus-private.so: undefined reference
to `libiconv_open'
../libnautilus-private/.libs/libnautilus-private.so: undefined reference
to `libiconv_close'
../libnautilus-private/.libs/libnautilus-private.so: undefined reference
to `libiconv
======

Any ideas?





--
 		   Remi Cohen-Scali
<Remi Cohen-Scali com> 		<rcoscali rcsnet net>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]