Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdelibs-3.1.1a compilation error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
LimeFrog
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 187
Location: Skövde, Sweden

PostPosted: Wed Apr 16, 2003 4:36 pm    Post subject: kdelibs-3.1.1a compilation error Reply with quote

Code:
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'
make[3]: *** [libartskde.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1.1a/work/kdelibs-3.1.1/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1.1a/work/kdelibs-3.1.1/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.1a/work/kdelibs-3.1.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1.1a failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make


I get this everytime i try to update world. Why do it want the i586 library when i use i686 (might be a silly question, i'm not that 1337 at linux yet)? And does anyone know how i can solve this problem?
_________________
I don't believe in God, but I'm afraid of him!
Back to top
View user's profile Send private message
alphatronics
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 88
Location: Boston

PostPosted: Wed Apr 23, 2003 3:30 am    Post subject: Reply with quote

I'm getting the same error, except with different programs: ksetiwatch and ksetispy (this error occurs both when I try an ebuild and when I try downloading and compiling a tar.gz):

Quote:
mkdir .libs
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'
make[2]: *** [ksetispy] Error 1
make[2]: Leaving directory `/var/tmp/portage/ksetispy-0.5.2/work/ksetispy-0.5.2/ksetispy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ksetispy-0.5.2/work/ksetispy-0.5.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-sci/ksetispy-0.5.2 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make


Quote:
# locate libstdc++.la
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.la
Back to top
View user's profile Send private message
alphatronics
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 88
Location: Boston

PostPosted: Wed Apr 23, 2003 3:44 am    Post subject: Reply with quote

(from here:)
Quote:
I think you have a wrong gcc profile. Check if you have the i686-pc-linux-gnu-3.2.2 profile


My attempt:
Quote:
# gcc-config --list-profiles
[1] i686-pc-linux-gnu-3.2.2
#


--

(from the same thread as above:)
Quote:
Turns out it was my CHOST in make.conf that was off


My attempt:
Quote:
CHOST="i686-pc-linux-gnu-3.2.2"
Back to top
View user's profile Send private message
alphatronics
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 88
Location: Boston

PostPosted: Wed Apr 23, 2003 3:58 am    Post subject: Reply with quote

I attempted the steps mentioned here:

# gcc-config i686-pc-linux-gnu-3.2.2
# export LD_LIBRARY_PATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2"
# source /etc/profile
# env-update

You'll hear (see?) the results in the morning.
Back to top
View user's profile Send private message
alphatronics
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 88
Location: Boston

PostPosted: Wed Apr 23, 2003 3:20 pm    Post subject: Reply with quote

That didn't do it either, however, this did:

# ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu /usr/lib/gcc-lib/i586-pc-linux-gnu
Back to top
View user's profile Send private message
boemba
n00b
n00b


Joined: 09 Apr 2003
Posts: 54
Location: Dendermonde

PostPosted: Thu Apr 24, 2003 3:36 pm    Post subject: Reply with quote

alphatronics wrote:
That didn't do it either, however, this did:

# ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu /usr/lib/gcc-lib/i586-pc-linux-gnu

That didn't do it with me. Are there any other possibillities to get this to work?

Thx anyway

With friendly greetz
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