Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29708 - gconf-1.0.8 missing dep. or USE flag for gtk
Summary: gconf-1.0.8 missing dep. or USE flag for gtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 30694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-26 16:24 UTC by Marko Durkovic
Modified: 2003-10-12 10:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Durkovic 2003-09-26 16:24:06 UTC
If gconf-1.0.8 gets emerged prior to gtk-1.2, the /usr/lib/libgconf-gtk-1.* libraries are not installed.

I ran into a problems when emerging the following packages on a new system:
emerge gconf-1.0.8
emerge gtk+-1.2.10
emerge gnome-vfs-1.0.5

The gnome-vfs ebuild fails due to missing gconf-gtk libs.
Comment 1 foser (RETIRED) gentoo-dev 2003-09-27 04:32:42 UTC
please attach everything involved, these reports are way too vague. We need
that output you speak of and your emerge info at least.
Comment 2 Marko Durkovic 2003-09-27 11:52:08 UTC
Start from a clean gentoo1.4 stage3 install (gtk+-1.2.10-r10 is NOT installed):
emerge =gconf-1.0.8-r5

#snip
>>> Merging gnome-base/gconf-1.0.8-r5 to /
--- /etc/
>>> /etc/gconf/
>>> /etc/gconf/gconf.xml.defaults/
>>> /etc/gconf/schemas/
>>> /etc/gconf/schemas/desktop.schemas
>>> /etc/gconf/gconf.xml.mandatory/
>>> /etc/gconf/gconf.xml.mandatory/.keep1
>>> /etc/gconf/1/
>>> /etc/gconf/1/path
--- /usr/
--- /usr/lib/
>>> /usr/lib/libgconf-1.so.1.0.3
>>> /usr/lib/GConf/
>>> /usr/lib/GConf/1/
>>> /usr/lib/GConf/1/libgconfbackend-bdb.a
>>> /usr/lib/GConf/1/libgconfbackend-xml.a
>>> /usr/lib/GConf/1/libgconfbackend-bdb.so
>>> /usr/lib/GConf/1/libgconfbackend-xml.la
>>> /usr/lib/GConf/1/libgconfbackend-bdb.la
>>> /usr/lib/GConf/1/libgconfbackend-xml.so
>>> /usr/lib/libgconf-1.la
>>> /usr/lib/libgconf-1.a
>>> /usr/lib/libgconf-1.so -> libgconf-1.so.1.0.3
--- /usr/lib/pkgconfig/
>>> /usr/lib/pkgconfig/gconf.pc
>>> /usr/lib/pkgconfig/gconfgtk.pc
>>> /usr/lib/libgconf-1.so.1 -> libgconf-1.so.1.0.3
--- /usr/include/
>>> /usr/include/gconf/
>>> /usr/include/gconf/1/
>>> /usr/include/gconf/1/gconf/
>>> /usr/include/gconf/1/gconf/gconf-listeners.h
>>> /usr/include/gconf/1/gconf/gconf.h
>>> /usr/include/gconf/1/gconf/gconf-changeset.h
>>> /usr/include/gconf/1/gconf/gconf-engine.h
>>> /usr/include/gconf/1/gconf/gconf-glib-public.h
>>> /usr/include/gconf/1/gconf/gconf-error.h
>>> /usr/include/gconf/1/gconf/gconf-value.h
>>> /usr/include/gconf/1/gconf/gconf-schema.h
--- /usr/bin/
>>> /usr/bin/gconf-config-1
>>> /usr/bin/gconfd-1
>>> /usr/bin/gconftool-1
>>> /usr/bin/gconf-config -> gconf-config-1
>>> /usr/bin/gconftool -> gconftool-1
--- /usr/share/
>>> /usr/share/gconf/
>>> /usr/share/gconf/1/
--- /usr/share/locale/
#/snip


Start from a clean stage3 install:
emerge =gtk+-1.2.10-r10
emerge =gconf-1.0.8-r5

#snip
>>> Merging gnome-base/gconf-1.0.8-r5 to /
--- /etc/
--- /etc/gconf/
--- /etc/gconf/gconf.xml.defaults/
--- /etc/gconf/schemas/
>>> /etc/gconf/schemas/desktop.schemas
--- /etc/gconf/gconf.xml.mandatory/
>>> /etc/gconf/gconf.xml.mandatory/.keep1
--- /etc/gconf/1/
>>> /etc/gconf/1/path
--- /usr/
--- /usr/lib/
>>> /usr/lib/libgconf-1.so.1.0.3
>>> /usr/lib/GConf/
>>> /usr/lib/GConf/1/
>>> /usr/lib/GConf/1/libgconfbackend-bdb.a
>>> /usr/lib/GConf/1/libgconfbackend-xml.a
>>> /usr/lib/GConf/1/libgconfbackend-bdb.so
>>> /usr/lib/GConf/1/libgconfbackend-xml.la
>>> /usr/lib/GConf/1/libgconfbackend-bdb.la
>>> /usr/lib/GConf/1/libgconfbackend-xml.so
>>> /usr/lib/libgconf-gtk-1.so -> libgconf-gtk-1.so.1.0.0
>>> /usr/lib/libgconf-gtk-1.a
>>> /usr/lib/libgconf-1.la
>>> /usr/lib/libgconf-gtk-1.so.1 -> libgconf-gtk-1.so.1.0.0
>>> /usr/lib/libgconf-1.a
>>> /usr/lib/libgconf-gtk-1.la
>>> /usr/lib/libgconf-1.so -> libgconf-1.so.1.0.3
>>> /usr/lib/libgconf-gtk-1.so.1.0.0
--- /usr/lib/pkgconfig/
>>> /usr/lib/pkgconfig/gconf.pc
>>> /usr/lib/pkgconfig/gconfgtk.pc
>>> /usr/lib/libgconf-1.so.1 -> libgconf-1.so.1.0.3
--- /usr/include/
>>> /usr/include/gconf/
>>> /usr/include/gconf/1/
>>> /usr/include/gconf/1/gconf/
>>> /usr/include/gconf/1/gconf/gconf-listeners.h
>>> /usr/include/gconf/1/gconf/gconf.h
>>> /usr/include/gconf/1/gconf/gconf-changeset.h
>>> /usr/include/gconf/1/gconf/gconf-engine.h
>>> /usr/include/gconf/1/gconf/gconf-glib-public.h
>>> /usr/include/gconf/1/gconf/gconf-error.h
>>> /usr/include/gconf/1/gconf/gconf-value.h
>>> /usr/include/gconf/1/gconf/gconf-schema.h
--- /usr/bin/
>>> /usr/bin/gconf-config-1
>>> /usr/bin/gconfd-1
>>> /usr/bin/gconftool-1
>>> /usr/bin/gconf-config -> gconf-config-1
>>> /usr/bin/gconftool -> gconftool-1
--- /usr/share/
>>> /usr/share/gconf/
>>> /usr/share/gconf/1/
--- /usr/share/locale/
#/snip

Notice the difference with the /usr/lib/libgconf-gtk-1.* files. Many gnome1
related packages fail to compile and complain about missing gconf-gtk-1 libs.
So we should make sure that gtk1 gets installed before gconf1 (at least if
the gtk useflag is set).
Remerging gconf1 (after gtk1 is installed) solved all my problems, of course.
Comment 3 foser (RETIRED) gentoo-dev 2003-09-27 12:04:46 UTC
thats not good enough, i knew what you meant. But i need to see broken output,
i tried it myself, but at least gnome-vfs didn't break for me as you said
it would.
Comment 4 Marko Durkovic 2003-09-27 14:57:55 UTC
This is the error I get when emerging gnome-vfs-1.0.5-r3:

>>> emerge (1 of 1) gnome-base/gnome-vfs-1.0.5-r3 to /
>>> md5 ;-) gnome-vfs-1.0.5.tar.gz
>>> Unpacking source...
>>> Unpacking gnome-vfs-1.0.5.tar.gz to /var/tmp/portage/gnome-vfs-1.0.5-r3/work
 * Applying gnome-vfs-1.0.5-codeset.patch...                            
            [ ok ]
 * Applying gnome-vfs-1.0.5-proxy.patch...                              
            [ ok ]
 * Applying gnome-vfs-1.0.5-fix-segfault.patch...                       
            [ ok ]
configure.in:196: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:197: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:198: warning: AC_TRY_RUN called without default to allow cross
compiling
>>> Source unpacked.
 * Working directory: /var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5...
 * Applying libtool-test.patch...
 * Applying libtool-relink.patch...
 * Applying libtool-tmp.patch...
 * Applying libtool-sed.patch...
 * Applying libtool-portage.patch...
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for perl... /usr/bin/perl
checking whether to enable maintainer-specific portions of Makefiles... no
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -mcpu=i686 -pipe ) works... yes
checking whether the C compiler (gcc -O3 -mcpu=i686 -pipe ) is a cross-compiler...
no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for mawk... no
checking for gawk... gawk
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ld used by GCC... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files...
-r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pkg-config... /usr/bin/pkg-config
checking for gnome-mime-data-2.0... yes
checking MIME_DATABASE_CFLAGS...
checking MIME_DATABASE_LIBS...
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.6... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler...
checking for pthread_create in -lpthread... yes
checking for sem_wait in -lrt... yes
checking size_t in <sys/types.h>... yes
checking off_t in <sys/types.h>... yes
checking for ranlib... (cached) ranlib
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
sed: can't read ./intl/po2tbl.sed.in: No such file or directory
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for getdtablesize... yes
checking for open64... yes
checking for lseek64... yes
checking for statvfs... yes
checking for getdelim... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for sys/resource.h... yes
checking for sys/vfs.h... yes
checking for sys/mount.h... yes
checking for sys/statvfs.h... yes
checking for oaf-config... /usr/bin/oaf-config
checking for oaf >= 0.3.0... 0.6.10
checking for xml-config... /usr/bin/xml-config
checking for gconf-config... /usr/bin/gconf-config
checking for GCONF - version >= 0.9... yes
checking for t_accept in -lnsl... no
checking for socket in -lsocket... no
checking for socket... yes
checking for gethostbyname... yes
checking for bzCompressInit in -lbz2... no
checking struct linger is available... yes
checking for cdda_interface.h... no
checking for cdda_paranoia.h... no
checking for OpenSSL includes...
checking for openssl/ssl.h... yes
checking for openssl/x509.h... yes
checking for OpenSSL libraries... yes
checking for gtkdoc-mkdb... false
checking for db2html... false
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... (cached) yes
checking for setlocale... (cached) yes
checking whether make is GNU Make... yes
checking for iconv_open... yes
checking for EILSEQ... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gnome-vfs.spec
creating libgnomevfs/gnome-vfs-file-size.h
creating idl/Makefile
creating libgnomevfs-pthread/Makefile
creating libgnomevfs/libcharset/Makefile
creating libgnomevfs/Makefile
creating modules/Makefile
creating modules/extfs/Makefile
creating modules/extfs/ar
creating modules/extfs/cpio
creating modules/extfs/deb
creating modules/extfs/lha
creating modules/extfs/rar
creating modules/extfs/zip
creating modules/extfs/zoo
creating devel-docs/Makefile
creating devel-docs/gnome-vfs-tutorial/Makefile
creating po/Makefile.in
creating test/Makefile
creating test/vfs-run
creating doc/Makefile
creating config.h
linking ./intl/libgettext.h to intl/libintl.h
<= gnome-vfs configuration summary :

Enable profiler         : NO


GNOME platform          : 1.x

CFLAGS                  : -O3 -mcpu=i686 -pipe
LDFLAGS                 :

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5'
Making all in libgnomevfs
make[2]: Entering directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs'
Making all in libcharset
make[3]: Entering directory
`/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs/libcharset'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DLIBDIR=\"/usr/lib\"    -O3 -mcpu=i686 -pipe -c localcharset.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDIR=\"/usr/lib\" -O3 -mcpu=i686
-pipe -c localcharset.c  -fPIC -DPIC -o .libs/localcharset.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDIR=\"/usr/lib\" -O3 -mcpu=i686
-pipe -c localcharset.c -o localcharset.o >/dev/null 2>&1
mv -f .libs/localcharset.lo localcharset.lo
/bin/sh ../../libtool --mode=link gcc  -O3 -mcpu=i686 -pipe  -o libcharset.la
  localcharset.lo  -lrt
rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.*
ar cru .libs/libcharset.al localcharset.lo
ranlib .libs/libcharset.al
creating libcharset.la
(cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)
make[3]: Leaving directory
`/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs/libcharset'
make[3]: Entering directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\"
           -DGNOME_VFS_DATADIR=\"/usr/share\"              -DGNOME_VFS_PREFIX=\"/usr\"-I..
                                   -I../intl                            
  -I..      -I../intl                                -I../libgnomevfs   
                    -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
                                      -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0                     -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0                   -I/usr/include/gnome-xml     
                           -I/usr/include/gconf/1 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0                        
   -Wall -Wunused                             -I/usr/include            
             -D_GNU_SOURCE                                      -D_REENTRANT
                                   -D_POSIX_PTHREAD_SEMANTICS           
     -DLIBDIR=\"/usr/lib\"                           -DSYSCONFDIR=\"/etc\"
                     -DG_LOG_DOMAIN=\"GnomeVFS\"                     -D_LARGEFILE64_SOURCE
                             -D_FILE_OFFSET_BITS=64                     
  -O3 -mcpu=i686 -pipe -c fnmatch.c
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\"
           -DGNOME_VFS_DATADIR=\"/usr/share\"              -DGNOME_VFS_PREFIX=\"/usr\"-I..
                                   -I../intl                            
  -I..      -I../intl                                -I../libgnomevfs   
                    -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
                                      -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0                     -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0                   -I/usr/include/gnome-xml     
                           -I/usr/include/gconf/1 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0                        
   -Wall -Wunused                             -I/usr/include            
             -D_GNU_SOURCE                                      -D_REENTRANT
                                   -D_POSIX_PTHREAD_SEMANTICS           
     -DLIBDIR=\"/usr/lib\"                           -DSYSCONFDIR=\"/etc\"
                     -DG_LOG_DOMAIN=\"GnomeVFS\"                     -D_LARGEFILE64_SOURCE
                             -D_FILE_OFFSET_BITS=64                     
  -O3 -mcpu=i686 -pipe -c gnome-vfs-application-registry.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\"
-DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml
-I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-Wall -Wunused -I/usr/include -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -mcpu=i686 -pipe -c gnome-vfs-application-registry.c
 -fPIC -DPIC -o .libs/gnome-vfs-application-registry.lo
rm -f .libs/fnmatch.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\"
-DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml
-I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-Wall -Wunused -I/usr/include -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -mcpu=i686 -pipe -c fnmatch.c  -fPIC -DPIC -o
.libs/fnmatch.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\"
-DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml
-I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-Wall -Wunused -I/usr/include -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -mcpu=i686 -pipe -c fnmatch.c -o fnmatch.o >/dev/null
2>&1
mv -f .libs/fnmatch.lo fnmatch.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\"
           -DGNOME_VFS_DATADIR=\"/usr/share\"              -DGNOME_VFS_PREFIX=\"/usr\"-I..
                                   -I../intl                            
  -I..      -I../intl                                -I../libgnomevfs   
                    -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
                                      -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0                     -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0                   -I/usr/include/gnome-xml     
                           -I/usr/include/gconf/1 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0                        
   -Wall -Wunused                             -I/usr/include            
             -D_GNU_SOURCE                                      -D_REENTRANT
                                   -D_POSIX_PTHREAD_SEMANTICS           
     -DLIBDIR=\"/usr/lib\"                           -DSYSCONFDIR=\"/etc\"
                     -DG_LOG_DOMAIN=\"GnomeVFS\"                     -D_LARGEFILE64_SOURCE
                             -D_FILE_OFFSET_BITS=64                     
  -O3 -mcpu=i686 -pipe -c gnome-vfs-async-ops.c
In file included from gnome-vfs-mime-private.h:26,
                 from gnome-vfs-application-registry.c:32:
../libgnomevfs/gnome-vfs-mime-monitor.h:28:27: gtk/gtkobject.h: No such file
or directory
In file included from gnome-vfs-mime-private.h:26,
                 from gnome-vfs-application-registry.c:32:
../libgnomevfs/gnome-vfs-mime-monitor.h:31: parse error before "GtkObject"
../libgnomevfs/gnome-vfs-mime-monitor.h:31: warning: no semicolon at end
of struct or union
../libgnomevfs/gnome-vfs-mime-monitor.h:32: warning: type defaults to `int'
in declaration of `GnomeVFSMIMEMonitor'
../libgnomevfs/gnome-vfs-mime-monitor.h:32: warning: data definition has
no type or storage class
../libgnomevfs/gnome-vfs-mime-monitor.h:43: parse error before '*' token
../libgnomevfs/gnome-vfs-mime-monitor.h:43: warning: type defaults to `int'
in declaration of `gnome_vfs_mime_monitor_get'
../libgnomevfs/gnome-vfs-mime-monitor.h:43: warning: data definition has
no type or storage class
In file included from gnome-vfs-application-registry.c:32:
gnome-vfs-mime-private.h:33: parse error before '*' token
rm -f .libs/gnome-vfs-async-ops.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\"
-DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml
-I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-Wall -Wunused -I/usr/include -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -mcpu=i686 -pipe -c gnome-vfs-async-ops.c  -fPIC
-DPIC -o .libs/gnome-vfs-async-ops.lo
make[3]: *** [gnome-vfs-application-registry.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\"
-DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml
-I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-Wall -Wunused -I/usr/include -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -mcpu=i686 -pipe -c gnome-vfs-async-ops.c -o gnome-vfs-async-ops.o
>/dev/null 2>&1
mv -f .libs/gnome-vfs-async-ops.lo gnome-vfs-async-ops.lo
make[3]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gnome-vfs-1.0.5-r3 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)


After adding "-I /usr/include/gtk-1.2" to my CFLAGS the error changes to
the following:

#snip
gcc -shared  fnmatch.lo gnome-vfs-application-registry.lo gnome-vfs-async-ops.lo
gnome-vfs-backend.lo gnome-vfs-cancellable-ops.lo gnome-vfs-cancellation.lo
gnome-vfs-configuration.lo gnome-vfs-context.lo gnome-vfs-directory-filter.lo
gnome-vfs-directory.lo gnome-vfs-file-info.lo gnome-vfs-find-directory.lo
gnome-vfs-handle.lo gnome-vfs-i18n.lo gnome-vfs-inet-connection.lo gnome-vfs-init.lo
gnome-vfs-iobuf.lo gnome-vfs-messages.lo gnome-vfs-method.lo gnome-vfs-mime-handlers.lo
gnome-vfs-mime-info.lo gnome-vfs-mime-magic.lo gnome-vfs-mime-monitor.lo
gnome-vfs-mime-sniff-buffer.lo gnome-vfs-mime.lo gnome-vfs-module-callback-module-api.lo
gnome-vfs-module-callback-private.lo gnome-vfs-module-callback.lo gnome-vfs-module-shared.lo
gnome-vfs-module.lo gnome-vfs-ops.lo gnome-vfs-parse-ls.lo gnome-vfs-private-utils.lo
gnome-vfs-private.lo gnome-vfs-process.lo gnome-vfs-regexp-filter.lo gnome-vfs-result.lo
gnome-vfs-seekable.lo gnome-vfs-shellpattern-filter.lo gnome-vfs-socket-buffer.lo
gnome-vfs-socket.lo gnome-vfs-ssl.lo gnome-vfs-transform.lo gnome-vfs-uri.lo
gnome-vfs-utils.lo gnome-vfs-xfer.lo -Wl,--whole-archive libcharset/.libs/libcharset.al
-Wl,--no-whole-archive  libcharset/.libs/libcharset.al -L/usr/lib /usr/lib/libgmodule.so
/usr/lib/libgthread.so -lpthread -ldl -lm -lm /usr/lib/libxml.so -lz -lgconf-gtk-1
/usr/lib/libgconf-1.so /usr/lib/liboaf.so /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so
/usr/lib/libIIOP.so /usr/lib/libORBitutil.so /usr/lib/libglib.so -lm -lssl
-lcrypto -ldl -lrt   -Wl,-soname -Wl,libgnomevfs.so.0 -o .libs/libgnomevfs.so.0.0.0
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/../../../../i586-pc-linux-gnu/bin/ld:
cannot find -lgconf-gtk-1
collect2: ld returned 1 exit status
make[3]: *** [libgnomevfs.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5/libgnomevfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r3/work/gnome-vfs-1.0.5'
make: *** [all-recursive-am] Error 2
#/snip
Comment 5 foser (RETIRED) gentoo-dev 2003-09-27 15:41:19 UTC
well, it looks like it should be possible to build gnomevfs without gtk gconf
support. But is too much of an artificial case in such an old lib, so i guess
we should add a gtk dep to gconf-1 .
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-10-12 02:35:09 UTC
*** Bug 30694 has been marked as a duplicate of this bug. ***
Comment 7 foser (RETIRED) gentoo-dev 2003-10-12 10:10:58 UTC
added gtk+-1 dep for gconf-1.0 ebuilds, that should take care of this.

thanks for the report & help.