Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge KDE 3.2 Fails --> /usr/local/lib/libfam.la ???
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
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Thu Feb 12, 2004 2:01 am    Post subject: Emerge KDE 3.2 Fails --> /usr/local/lib/libfam.la ??? Reply with quote

Why is kdebase looking in '/usr/local/lib/' for 'libfam.la' and not '/usr/lib' ? Here's the error...
Code:
grep: /usr/local/lib/libfam.la: No such file or directory
/bin/sed: can't read /usr/local/lib/libfam.la: No such file or directory
libtool: link: `/usr/local/lib/libfam.la' is not a valid libtool archive
make[3]: *** [kded_favicons.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/libkonq/favicons'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


thanks, oli
_________________
A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he.
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Thu Feb 12, 2004 2:07 am    Post subject: Reply with quote

Either there's something funky with your setup, or the ebuild's configure stage is broken.
Back to top
View user's profile Send private message
rodkeyrr
n00b
n00b


Joined: 01 Sep 2002
Posts: 22
Location: Indiana, USA

PostPosted: Thu Feb 12, 2004 2:24 am    Post subject: Broken FAM package Reply with quote

It appears that there are some problems with the current fam-2.7.0 build. More information on the fam problem in this thread: https://forums.gentoo.org/viewtopic.php?t=113225

I had problems installing fam, but managed to solve it with that thread's help. Once I got past that problem, I ran into the problem that you described. I fixed it easily enough by doing:
Code:
ln -sf /usr/lib/libfam.so /usr/local/lib/libfam.so
ln -sf /usr/lib/libfam.la /usr/local/lib/libfam.la


Then you should be able to just continue your KDE upgrade.

Hope that helps!
Back to top
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Thu Feb 12, 2004 2:33 am    Post subject: Reply with quote

Thanks for the quick responces...

Target, can you elaborate on the funky/broken thing?

Rodkeyrr, I tried the syslink thing and the compile went but with lots of errors like this...
Code:
libtool: link warning: '/usr/local/lib/libfam.la' seems to be moved.
libtool: link warning: '/usr/local/lib/libfam.la' seems to be moved.
libtool: link warning: '/usr/local/lib/libfam.la' seems to be moved.
libtool: link warning: '/usr/local/lib/libfam.la' seems to be moved.


thanks again, oli
_________________
A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he.
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Thu Feb 12, 2004 3:08 am    Post subject: Reply with quote

It looks like configure from kdebase got its libdir changed from /usr/lib to /usr/local/lib, so it's looking in the wrong spot for the file.

The problem could be in the kde_src_compile function itself, the call to it, or the leadup before the call. I'm not familiar enough with this set of ebuilds to know for sure. kdebase's src_compile function changes drastically with every ebuild, and the myconf vars went from being modified globally to locally in 3.2.0.

Maybe it's skipping over myconf in kde_src_compile's switch or not setting it properly. Something is definitely screwing with PREFIX (or at least libdir) in your case. I haven't tried emerging kde yet myself, so I don't know if it's a widespread problem.
Back to top
View user's profile Send private message
rodkeyrr
n00b
n00b


Joined: 01 Sep 2002
Posts: 22
Location: Indiana, USA

PostPosted: Fri Feb 13, 2004 2:53 am    Post subject: should be ok Reply with quote

olias, I got the same messages, but everything appeared to work ok when I did it. Additionally, I upgraded another machine today and the problem never appeared, so maybe the fix is in emerge now.
Back to top
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Fri Feb 13, 2004 11:04 pm    Post subject: Reply with quote

Thanks Target. It looks like this is a fairly isolated problem and doesn't affect newer installs.

Thanks rodkeyrr. I took your advise and did the symlink thing. I'm now using KDE 3.2 and so far so good.

oli :D
_________________
A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he.
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Sun Feb 15, 2004 8:05 pm    Post subject: Reply with quote

olias2 wrote:
Thanks Target. It looks like this is a fairly isolated problem and doesn't affect newer installs.



I've had the same problem on a very fresh install (though I did manage to emerge KDE 3.1.5 before 3.2 was available)

The symlink solution seems to have worked for me.


Last edited by brucebertrand on Sun Feb 15, 2004 10:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
FranZ
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 212
Location: Enschede, Holland

PostPosted: Sun Feb 15, 2004 10:02 pm    Post subject: Reply with quote

I tried every solution given on this forum (everywhere). none of them worked. I still end up getting:
Code:

collect2: ld returned 1 exit status
make[2]: *** [kio_help.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kdoctools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Error 2

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


Also (I am somewhat new to this) I'd like to know whether the following is normal in compiling kdelibs:
Code:

/usr/lib/libjpeg.a(jmemnobs.o)(.text+0x80): In function `jpeg_mem_term':
: multiple definition of `jpeg_mem_term'

This message is given for a whole lot of functions, all involving jpeg.
Anyone who also came to this problem and had a solution or knows something that might lead to the solution?
Thanks in advance for the trouble.
_________________
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

Ask Smart Questions
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