Bug 17506 - x11-themes/gnome-themes-2.2.1 failed to compile
Bug#: 17506 Product:  Gentoo Linux Version: 1.4_rc2 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: lichte@gmail.com
Component: GNOME
URL: 
Summary: x11-themes/gnome-themes-2.2.1 failed to compile
Keywords:  
Status Whiteboard: 
Opened: 2003-03-14 08:38 0000
Description:   Opened: 2003-03-14 08:38 0000
I get the following error after typing emerge gnome:


checking for gtk+-2.0 >= 1.3.11
                  gdk-pixbuf-2.0 >= 1.3.11

                  gtk-thinice-engine-2
                  libgnomeui-2.0
                  libglade-2.0... Package libgnomeui-2.0 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found

configure: error: Library requirements (gtk+-2.0 >= 1.3.11
                  gdk-pixbuf-2.0 >= 1.3.11

                  gtk-thinice-engine-2
                  libgnomeui-2.0
                  libglade-2.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.

!!! ERROR: x11-themes/gnome-themes-2.2.1 failed.
!!! Function econf, Line 262, Exitcode 1
!!! econf failed

I have libglade installed on my system.  Here is the ouput of emerge -s libglade:

Searching...   
[ Results for search key : libglade ]
[ Applications found : 4 ]
 
*  gnome-base/libglade
      Latest version available: 2.0.1
      Latest version installed: 2.0.1
      Size of downloaded files: 258 kB
      Homepage:    http://www.gnome.org/
      Description: GLADE is a interface builder

It shows that libglade 2.0.1 in installed.  Please let me know if you need more info
about my system.

------- Comment #1 From Cletus Lichte 2003-03-14 08:41:55 0000 -------
Ok, I just saw that libgnomeui is the one not installed on my system.  However,
after
trying to emerge libgnomeui it has to install gnome-themes first!  So this
still won't work.

------- Comment #2 From Cletus Lichte 2003-03-14 09:10:25 0000 -------
I just checked both the ebuild files for both libgnomeui and gnome-themes and
they both have each other listed as dependencies!  Can I delete a line from one
of the ebuilds?

------- Comment #3 From foser (RETIRED) 2003-03-14 10:16:00 0000 -------
i think gnome-themes can do without, but it is a circular dep. I have removed
it from gnome-themes for now.

Thanks for the report.

------- Comment #4 From Cletus Lichte 2003-03-14 19:06:19 0000 -------
Ok, this didn't fix it.  The compile doesn't fail with emerge, it fails with
the configure
script.  gnome-themes has to have libgnomeui installed.  I checked the older
ebuilds for
libgnomeui and there is no requirement for gnome-themes in them, but in
libgnomeui-2.2.0.1 ebuild two theme dependencies have been added.  Are they
*really* needed?

------- Comment #5 From Catherine 2003-03-14 20:51:14 0000 -------
I have been having the same problem all day with this exact ebuild...very
annoying.  I overcame the problem by installing gnome-themes-2.2.  This has
allowed me to install libgnomeui. It is finally compiling and I will hopefully
get gdm installed by the nights end.  Hope that helps you.

Catherine

------- Comment #6 From Cletus Lichte 2003-03-14 22:03:17 0000 -------
I finally just commented out the theme statements in the libgnomeui ebuild and
built it.  It seems to be working just fine.

------- Comment #7 From foser (RETIRED) 2003-03-15 06:39:39 0000 -------
hmm maybe we should make libgnomeui pdepend on gnome-themes, cause they are
needed

------- Comment #8 From Alastair Tse (RETIRED) 2003-03-15 21:32:24 0000 -------
*** Bug 17538 has been marked as a duplicate of this bug. ***

------- Comment #9 From Alastair Tse (RETIRED) 2003-03-15 22:26:19 0000 -------
i'm leaning towards getting rid of gnome-themes from the libgnomeui's depend
because if we do it the other way round (removing libgnomeui from
gnome-themes), then gnome-themes will not compile.

i say make libgnomeui PDEPEND on gnome-themes. foser?

------- Comment #10 From foser (RETIRED) 2003-03-16 09:55:06 0000 -------
yep thats the idea and returning the libgnomeui dep to gnome-themes .. 

done in the tree now.