Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge kdelibs fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ct
n00b
n00b


Joined: 22 Jul 2002
Posts: 29

PostPosted: Tue Mar 18, 2003 6:04 pm    Post subject: emerge kdelibs fails Reply with quote

Emerge of kdelibs 3.1 -r2 fails in line 116 with libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/libstdc++.la'. There is no 3.2.1 directory but there is a 3.2.2 directory showing this file.

The flags in make.conf are:
Code:
CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"


As compiling takes several hours until it hits this point of error I would like to know what is the best solution for this problem? Is this ebuild still unstable or does it help to set a link?


Here is the complete error message:
Code:
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include/arts -I../../arts/kde/lib -I../.. -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include   -DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=k6-2 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kplayobjectcreator.lo `test -f 'kplayobjectcreator.cc' || echo './'`kplayobjectcreator.cc
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=k6-2 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT    -o libartskde.la.closure libartskde_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib  -no-undefined -version-info 2:0:1 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/libstdc++.la'
make[3]: *** [libartskde.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1-r2/work/kdelibs-3.1/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1-r2/work/kdelibs-3.1/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1-r2/work/kdelibs-3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1-r2 failed.
!!! Function kde_src_compile, Line 116, Exitcode 2
!!! died running emake, kde_src_compile:make


real    256m55.974s
user    242m36.436s
sys     12m7.114s
Back to top
View user's profile Send private message
ct
n00b
n00b


Joined: 22 Jul 2002
Posts: 29

PostPosted: Wed Mar 19, 2003 5:48 pm    Post subject: Reply with quote

The compilation is not finished yet. On a k6-2 it takes a considerable amount of time.

However, setting a link from the exisiting 3.2.2 directory to 3.2.1 made the compilation not stop after 4 hours. Therefore it seems to solve the above-mentioned problem.
Back to top
View user's profile Send private message
csnyder
n00b
n00b


Joined: 18 Jun 2002
Posts: 44
Location: Grand Rapids, MI

PostPosted: Wed Mar 19, 2003 5:51 pm    Post subject: Reply with quote

ct - thanks for figuring this out. I was watching this topic, hoping someone would respond. :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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