Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge gdm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Dec 21, 2007 6:33 pm    Post subject: Can't emerge gdm Reply with quote

Hi,

I'm new to gentoo but not new to linux.
I've installed my Gentoo 2007.0 via the gentoo livedvd
now i wanted to emerge gdm with emerge gdm
and i always get this problem when gentoo wants to emerge libglade 2.6.2:
Code:

make[2]: *** [test-libglade] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2'
make: *** [all] Error 2
 *
  * ERROR: gnome-base/libglade-2.6.2 failed.
   * Call stack:
    *               ebuild.sh, line   46:  Called src_compile
     *             environment, line 2499:  Called gnome2_src_compile
      *             environment, line 1894:  Called die
       * The specific snippet of code:
        *       emake || diefunc "$FUNCNAME" "$LINENO" "$?" "compile failure"
    *  The die message:
     *   compile failure
      *
       * If you need support, post the topmost build error, and the call stack if relevant.
        * A complete build log is located at '/var/tmp/portage/gnome-base/libglade-2.6.2/temp/build.log'.
         * The ebuild environment file is located at '/var/tmp/portage/gnome-base/libglade-2.6.2/temp/environment'.
          *


Can anybody help me with this problem, i get this kind of problem by anything i want to emerge/install, there are just a few apps where this don't happens ...
Back to top
View user's profile Send private message
Cosmin
Guru
Guru


Joined: 18 Dec 2003
Posts: 447
Location: Bucharest, Romania

PostPosted: Fri Dec 21, 2007 7:48 pm    Post subject: Reply with quote

Could you please post maybe the previous 10 lines? The lines before
Code:

make[2]: *** [test-libglade] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2'

That's what we need to give you an answer.

Cosmin
_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Dec 21, 2007 8:12 pm    Post subject: Reply with quote

sry next time i will do it right ;)



i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -I/usr/include/libxml2 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DGLADE_LIBDIR=\"/usr/lib\" -DGLADE_PREFIX=\"/usr\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=i386 -O2 -mtune=i686 -pipe -Wall -std=c9x -MT glade-parser.lo -MD -MP -MF .deps/glade-parser.Tpo -c glade-parser.c -o glade-parser.o >/dev/null 2>&1
i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -I/usr/include/libxml2 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DGLADE_LIBDIR=\"/usr/lib\" -DGLADE_PREFIX=\"/usr\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=i386 -O2 -mtune=i686 -pipe -Wall -std=c9x -MT glade-gtk.lo -MD -MP -MF .deps/glade-gtk.Tpo -c glade-gtk.c -o glade-gtk.o >/dev/null 2>&1
mv -f .deps/glade-parser.Tpo .deps/glade-parser.Plo
mv -f .deps/glade-gtk.Tpo .deps/glade-gtk.Plo
/bin/sh ../libtool --tag=CC --mode=link i486-pc-linux-gnu-gcc -march=i386 -O2 -mtune=i686 -pipe -Wall -std=c9x -version-info 0:7:0 -export-symbols-regex "^[^_].*" -no-undefined -o libglade-2.0.la -rpath /usr/lib glade-init.lo glade-xml.lo glade-parser.lo glade-gtk.lo -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
generating symbol list for `libglade-2.0.la'
/usr/bin/nm -B .libs/glade-init.o .libs/glade-xml.o .libs/glade-parser.o .libs/glade-gtk.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libglade-2.0.exp
/bin/grep -E -e "^[^_].*" ".libs/libglade-2.0.exp" > ".libs/libglade-2.0.expT"
mv -f ".libs/libglade-2.0.expT" ".libs/libglade-2.0.exp"
echo "{ global:" > .libs/libglade-2.0.ver
cat .libs/libglade-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libglade-2.0.ver
echo "local: *; };" >> .libs/libglade-2.0.ver
i486-pc-linux-gnu-gcc -shared .libs/glade-init.o .libs/glade-xml.o .libs/glade-parser.o .libs/glade-gtk.o /usr/lib/libxml2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -march=i386 -mtune=i686 -Wl,-soname -Wl,libglade-2.0.so.0 -Wl,-version-script -Wl,.libs/libglade-2.0.ver -o .libs/libglade-2.0.so.0.0.7
(cd .libs && rm -f libglade-2.0.so.0 && ln -s libglade-2.0.so.0.0.7 libglade-2.0.so.0)
(cd .libs && rm -f libglade-2.0.so && ln -s libglade-2.0.so.0.0.7 libglade-2.0.so)
i486-pc-linux-gnu-ar cru .libs/libglade-2.0.a glade-init.o glade-xml.o glade-parser.o glade-gtk.o
i486-pc-linux-gnu-ranlib .libs/libglade-2.0.a
creating libglade-2.0.la
(cd .libs && rm -f libglade-2.0.la && ln -s ../libglade-2.0.la libglade-2.0.la)
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2/glade'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2/doc'
Making all in tests
make[2]: Entering directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2/tests'
make[2]: Entering directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2'
i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=i386 -O2 -mtune=i686 -pipe -Wall -std=c9x -MT test-libglade.o -MD -MP -MF .deps/test-libglade.Tpo -c -o test-libglade.o test-libglade.c
mv -f .deps/test-libglade.Tpo .deps/test-libglade.Po
/bin/sh ./libtool --tag=CC --mode=link i486-pc-linux-gnu-gcc -march=i386 -O2 -mtune=i686 -pipe -Wall -std=c9x -o test-libglade test-libglade.o glade/libglade-2.0.la -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
mkdir .libs
i486-pc-linux-gnu-gcc -march=i386 -O2 -mtune=i686 -pipe -Wall -std=c9x -o .libs/test-libglade test-libglade.o glade/.libs/libglade-2.0.so /usr/lib/libxml2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../../i486-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try using -rpath or -rpath-link)
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserCreate'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetErrorCode'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetUserData'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetDoctypeDeclHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParseBuffer'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetCurrentLineNumber'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ErrorString'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserFree'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetElementHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetBuffer'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetCharacterDataHandler'
collect2: ld returned 1 exit status
make[2]: *** [test-libglade] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.2/work/libglade-2.6.2'
make: *** [all] Error 2
*
* ERROR: gnome-base/libglade-2.6.2 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 2499: Called gnome2_src_compile
* environment, line 1894: Called die
* The specific snippet of code:
* emake || diefunc "$FUNCNAME" "$LINENO" "$?" "compile failure"
* The die message:
* compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/libglade-2.6.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libglade-2.6.2/temp/environment'.
*
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Dec 21, 2007 9:39 pm    Post subject: Reply with quote

I think i've got the problem the libexpat.so.0 was the file that i've needed ...
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 697
Location: The Village

PostPosted: Fri Dec 21, 2007 10:24 pm    Post subject: Reply with quote

blasphemer wrote:
I think i've got the problem the libexpat.so.0 was the file that i've needed ...
Yes, the expat upgrade will break alot of things that still look for this old library. the new lib is libexpat.so.1
Code:
revdep-rebuild -X --library libexpat.so.0
You can use revdep-rebuild (app-portage/gentoolkit) to rebuild things that are still linked to the old lib. Sometimes, if you have alot of packages to rebuild, it won't always emerge them in the right order and could fail. You'll just need to look in the error message and find out what it's trying to use that is still broken and emerge it.
Code:
emerge --oneshot broken_package

But first run
Code:
emerge -p --resume
to get a list of packages that still need to be rebuilt so you can finish emergeing them. "revdep-rebuild --library' will just rebuild anything linked against the lib even if it's not broken, witch is ok if you don't want to mess with the above, it will just take a bit longer.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Dec 21, 2007 10:48 pm    Post subject: Reply with quote

there is just one more problem

where do i get revdep-rebuild, because the command isn't there ...?! when i type revdep-rebuild nothing happens gentoo just says me:

revdep-rebuild: command not found
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 697
Location: The Village

PostPosted: Fri Dec 21, 2007 11:06 pm    Post subject: Reply with quote

ohh
emerge gentoolkit
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum