Re: [Nautilus-list] CVS compile



thanks for the help guys.  I did the adding #undef before the jpeg
include to fix the compile, but how are you going to change this in CVS
so nautilus compiles on debian?  or are you just going to leave it up to
the debian packagers?

unfortunately that isn't the end of the compile worries.  nautilus seems
to be trying to use functions in the branched gnome-vfs for GNOME 2.  is
there a nautilus branch for GNOME 1 (I couldn't seem to find it)?

the error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libnautilus
-I../cut-n-paste-code -I/usr/include -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml
-I/usr/lib/vfs/include -D_REENTRANT -I/usr/include/eel-1
-I/usr/include/gconf/1 -I/usr/X11R6/include -I/usr/include/librsvg-1
-I/usr/include/freetype2 -DDATADIR=\"/usr/share\"
-DNAUTILUS_DATADIR=\"/usr/share/nautilus\" -Wno-sign-compare
-Wsign-promo -Wall -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -Werror -g -O2 -Wp,-MD,.deps/nautilus-authn-manager.pp -c
nautilus-authn-manager.c  -fPIC -DPIC -o .libs/nautilus-authn-manager.o
nautilus-authn-manager.c:42: libgnomevfs/gnome-vfs-app-context.h: No
such file or directory
nautilus-authn-manager.c:43: libgnomevfs/gnome-vfs-standard-callbacks.h:
No such file or directory
make[2]: *** [nautilus-authn-manager.lo] Error 1
make[2]: Leaving directory
`/mnt/hda5/home/psych/compile/nautilus/libnautilus-private'

thanks again.

cheers,
chris


On 09 Aug 2001 17:20:07 -0700, Ramiro Estrugo wrote:
> Sounds like autoconf abuse on behalf of a system library, jpeg in this
> case.
> 
> You can either #undef HAVE_STDLIB_H before including the jpeg headers or
> configure Nautilus with --disable-more-warnings to make the warning non
> fatal.
> 
> -re
> 
> Chris Heywood wrote:
> > 
> > hey guys,
> > 
> > was trying to compile CVS nautilus (haven't for a while) and came across
> > an error with HAVE_STDLIB_H being redefined..  any help would be
> > appreciated =)
> > 
> > machine is a debian sid box.  librsvg, eel from CVS (1-0 branch).
> > 
> > the error:
> > 
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libnautilus
> > -I../cut-n-paste-code -I/usr/include -DNEED_GNOMESUPPORT_H
> > -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
> > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml
> > -I/usr/lib/vfs/include -D_REENTRANT -I/usr/include/eel-1
> > -I/usr/include/gconf/1 -I/usr/X11R6/include -I/usr/include/librsvg-1
> > -I/usr/include/freetype2 -DDATADIR=\"/usr/share\"
> > -DNAUTILUS_DATADIR=\"/usr/share/nautilus\" -Wno-sign-compare
> > -Wsign-promo -Wall -Wchar-subscripts -Wmissing-declarations
> > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
> > -Wsign-compare -Werror -g -O2 -Wp,-MD,.deps/nautilus-thumbnails-jpeg.pp
> > -c nautilus-thumbnails-jpeg.c  -fPIC -DPIC -o
> > .libs/nautilus-thumbnails-jpeg.o
> > In file included from /usr/include/jpeglib.h:24,
> >                  from nautilus-thumbnails-jpeg.c:35:
> > /usr/include/jconfig.h:12: warning: `HAVE_STDLIB_H' redefined
> > ../config.h:126: warning: this is the location of the previous
> > definition
> > make[2]: *** [nautilus-thumbnails-jpeg.lo] Error 1
> > make[2]: Leaving directory
> > `/mnt/hda5/home/psych/compile/nautilus/libnautilus-private'
> > 
> > todo with the newer thumbnailing code if libjpeg is installed I assume
> > or something?
> > 
> > thanks for any help.
> > 
> > cheers,
> > chris
> > 
> > _______________________________________________
> > Nautilus-list mailing list
> > Nautilus-list lists eazel com
> > http://lists.eazel.com/mailman/listinfo/nautilus-list
> 
> _______________________________________________
> Nautilus-list mailing list
> Nautilus-list lists eazel com
> http://lists.eazel.com/mailman/listinfo/nautilus-list






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