| View previous topic :: View next topic |
| Author |
Message |
alastairII n00b

Joined: 02 Jul 2004 Posts: 67 Location: Berkeley, CA
|
Posted: Sun Mar 12, 2006 9:09 pm Post subject: [solved]Unmerged gnome-vfs, now confronted with circular dep |
|
|
So in trying to get GNOME off my system and being slightly incompetent, I unmerged gnome-vfs. I didn't realize that this was actually required for one of my packages. Now, when I do emerge -uaD (or -ua) world, or emerge gmome-vfs, it tries to emerge something which complains about the lack of gnome-vfs, and errors out. The complaints are of the form
| Code: | checking GAIL_CFLAGS... -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libart-2.0 -I/usr/include/freetype2
checking GAIL_LIBS... -lgailutil -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtk+-2.0 >= 2.2.0 libgnomeui-2.0 >= 1.112.1 libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >= 2.2.1 libglade-2.0 >= 2.0.0... Package gnome-vfs-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-vfs-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gnome-vfs-2.0', required by 'libgnome', not found
configure: error: Library requirements (gtk+-2.0 >= 2.2.0 libgnomeui-2.0 >= 1.112.1 libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >= 2.2.1 libglade-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. |
Any help with getting my system in a non-circular state is welcome.
Last edited by alastairII on Thu Mar 16, 2006 8:29 am; edited 1 time in total |
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
alastairII n00b

Joined: 02 Jul 2004 Posts: 67 Location: Berkeley, CA
|
Posted: Sun Mar 12, 2006 10:28 pm Post subject: |
|
|
| No, it isn't. It never gets to gnome-vfs, because it always barfs on a dependency of gnome-vfs, gtk-html. |
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
alastairII n00b

Joined: 02 Jul 2004 Posts: 67 Location: Berkeley, CA
|
Posted: Mon Mar 13, 2006 12:01 am Post subject: |
|
|
| Code: | localhost elliot # emerge -pvt gnome-vfs
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] gnome-base/gnome-vfs-2.12.2 -debug +doc -gnutls +hal -howl +ipv6 -samba +ssl 1,521 kB
[ebuild N ] sys-apps/pmount-0.9.6 +crypt 368 kB
[ebuild U ] sys-apps/hal-0.5.5.1-r3 [0.4.8] +acpi -debug +doc -pam_console +pcmcia (-selinux) 0 kB
[ebuild U ] sys-apps/dbus-0.60-r4 [0.23.4-r1] +X -debug +doc -gcj +gtk +mono +python +qt (-selinux) +xml2 1,635 kB
[ebuild N ] dev-util/mono-tools-1.1.10 247 kB
[ebuild N ] dev-dotnet/gtkhtml-sharp-1.0.10 0 kB
[ebuild N ] gnome-extra/gtkhtml-3.2.5 -debug 0 kB
Total size of downloads: 3,773 kB |
|
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
chtephan Apprentice


Joined: 03 Feb 2004 Posts: 266 Location: Offenburg, Germany
|
Posted: Tue Mar 14, 2006 8:31 am Post subject: |
|
|
| Also worth a try: Use emerge --oneshot to emerge packages without resolving their dependencies. This sometimes helps to get out of circular dependency problems. Most of the time configure will recognize that something's missing and proceed anyway. Don't forget to re-emerge afterwards with the correct dependencies. |
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Tue Mar 14, 2006 9:21 am Post subject: |
|
|
Uh, I think you meant emerge --nodeps. It can work, but I'd tend to recommend command-line USE flags instead; you don't need to remember as much because emerge --newuse will correct them after the circular dependencies are in place. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
| Back to top |
|
 |
alastairII n00b

Joined: 02 Jul 2004 Posts: 67 Location: Berkeley, CA
|
Posted: Thu Mar 16, 2006 6:29 am Post subject: |
|
|
The USE="-doc" worked to emerge gnome-vfs, but now when I try to emerge -uD world (with the doc flag back on) I get the following error trying to emerge gtk-html-sharp (which emerge -uD world seems to think is necessary):
| Code: | cp ./gtkhtml-api.raw gtkhtml-api.xml
chmod u+w gtkhtml-api.xml
gapi-fixup --api=gtkhtml-api.xml --metadata=./Gtk.metadata
rm -f generated/* && \
gapi-codegen --generate gtkhtml-api.xml \
--include //usr/share/gapi/pango-api.xml //usr/share/gapi/atk-api.xml //usr/share/gapi/gdk-api.xml //usr/share/gapi/gdk-symbols.xml //usr/share/gapi/gtk-api.xml //usr/share/gapi/gtk-symbols.xml //usr/share/gapi/art-api.xml //usr/share/gapi/gnome-api.xml --outdir=generated --customdir=. --assembly-name=gtkhtml-sharp \
&& touch generated-stamp
Unhandled Exception: System.IO.FileNotFoundException: Could not find file "//usr/share/gapi/gnome-api.xml". : //usr/share/gapi/gnome-api.xml
in <0x002b4> System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous)
in <0x0001f> System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share)
in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x00023> System.IO.File:OpenRead (System.String path)
in <0x0003d> GtkSharp.Generation.Parser:Load (System.String filename)
in <0x0003f> GtkSharp.Generation.Parser:Parse (System.String filename)
in <0x0028f> GtkSharp.Generation.CodeGenerator:Main (System.String[] args)
make: *** [generated-stamp] Error 1 |
It seems to have something to do with something to do with gnome missing, but I don't know what it is. |
|
| Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
alastairII n00b

Joined: 02 Jul 2004 Posts: 67 Location: Berkeley, CA
|
Posted: Thu Mar 16, 2006 8:29 am Post subject: |
|
|
| Yup, that fixed it. Thanks! |
|
| Back to top |
|
 |
Redson Tux's lil' helper


Joined: 15 Apr 2003 Posts: 137
|
Posted: Tue Apr 18, 2006 1:52 am Post subject: |
|
|
| ecatmur wrote: | Uh, guessed it might be this.
Try USE="-doc" emerge gnome-vfs.
The problem is that currently mono packages use mono-tools to generate docs, which has all sorts of gtk# dependencies. The plan is to move to monodoc 1.1.x for generating docs; see https://bugs.gentoo.org/show_bug.cgi?id=123232 |
Bless thee. It worked for me too. I had the same circullar dependency from a clean install. If you're ever on the central coast of California I pay in beer. _________________ Redson
http://watchred.com/ |
|
| Back to top |
|
 |
|