View previous topic :: View next topic |
Author |
Message |
olias2 Apprentice
Joined: 23 Aug 2003 Posts: 234 Location: CANADA
|
Posted: Thu Feb 12, 2004 2:01 am Post subject: Emerge KDE 3.2 Fails --> /usr/local/lib/libfam.la ??? |
|
|
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 |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
Posted: Thu Feb 12, 2004 2:07 am Post subject: |
|
|
Either there's something funky with your setup, or the ebuild's configure stage is broken. |
|
Back to top |
|
|
rodkeyrr n00b
Joined: 01 Sep 2002 Posts: 22 Location: Indiana, USA
|
Posted: Thu Feb 12, 2004 2:24 am Post subject: Broken FAM package |
|
|
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 |
|
|
olias2 Apprentice
Joined: 23 Aug 2003 Posts: 234 Location: CANADA
|
Posted: Thu Feb 12, 2004 2:33 am Post subject: |
|
|
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 |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
Posted: Thu Feb 12, 2004 3:08 am Post subject: |
|
|
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 |
|
|
rodkeyrr n00b
Joined: 01 Sep 2002 Posts: 22 Location: Indiana, USA
|
Posted: Fri Feb 13, 2004 2:53 am Post subject: should be ok |
|
|
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 |
|
|
olias2 Apprentice
Joined: 23 Aug 2003 Posts: 234 Location: CANADA
|
Posted: Fri Feb 13, 2004 11:04 pm Post subject: |
|
|
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 _________________ 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 |
|
|
brucebertrand Tux's lil' helper
Joined: 06 Feb 2004 Posts: 83 Location: D.C.
|
Posted: Sun Feb 15, 2004 8:05 pm Post subject: |
|
|
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 |
|
|
FranZ Apprentice
Joined: 15 Feb 2004 Posts: 212 Location: Enschede, Holland
|
Posted: Sun Feb 15, 2004 10:02 pm Post subject: |
|
|
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 |
|
|
|