LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Gentoo - Error in emerging kdelibs-3.2.1 (https://www.linuxquestions.org/questions/linux-distributions-5/gentoo-error-in-emerging-kdelibs-3-2-1-a-168829/)

Rounan 04-11-2004 02:07 PM

Gentoo - Error in emerging kdelibs-3.2.1
 
Here's one for you gentoo users - also posted in this thread in the Gentoo forum.

In building a fresh gentoo system, I'm unable to merge the latest KDE. It's the first thing I've attempted to merge after "emerge system" and kernel configuration.

It craps out during emerge kdelibs-3.2.1 with the following:
------------------------------------
Many, MANY errors to the effect of:
In function 'jpeg_mem_term':
: multiple definition of 'jpeg_mem_term'
./.libs/libkbzipfilter_dummy.a(jmemnobs.o)(.text+0x55): first defined here

There are dozens of those, all having something to do with jpeg handling.

The final error messages are:
collect2: ld returned 1 exit status
make[2]: *** [kio_ghelp.la] Error 1
make[2]: Leaving directory '/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1/kdoctools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1
make: *** [all] Error 2

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

Only strange things about my system:
I'm using udev as per the Gentoo udev guide

I'm compiling with distcc - Ran into problems merging the package directly preceding kdelibs (giflib - something to do with image processing, so it's likely connected) with distcc, so I disabled distcc to build that one, and it merged just fine.
Now, kdelibs won't merge with or without distcc, with or without the USE="-java" option, with or without optimizations (I use -O3 -march=pentium4 -pipe -fomit-frame-pointer -fprefetch-loop-arrays, so they're conservative anyway).

I've read the thread on these forums about compiling KDE and followed the directions there about the -java use flag - they also mention a -sandbox flag, but I'm not using sandbox in any case.

The system:
P4 512MB RAM
Kernel 2.6.3-gentoo (emerge gentoo-dev-sources)
GCC 3.3.2

My make.conf, for reference:

CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
USE="x86 oss apm alsa arts avi -berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gpm -gtk -gtk2 icq imap imlib jpeg kde -gnome libg++ libwww mad mikmod motif msn mpeg ncurses nls oggvorbis opengl pam pda pdflib png python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype usb X xml2 xmms xv zlib"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
FEATURES="distcc ccache"
-------------------------------------------
(as mentioned, I've also tried without distcc, no change)

Any help would be much appreciated!
--Rounan

qwijibow 08-18-2004 11:19 AM

maybe this problem if fixed by now... emerge sync !

darin3200 08-18-2004 11:31 AM

Quote:

Originally posted by qwijibow
maybe this problem if fixed by now... emerge sync !
I had the same problem which was fixed after I ran an emerge sync. You could try taking out CFLAGS and USE flags, it might compile although you will lose some optimization.

Mikhail_16 08-19-2004 10:20 PM

considering that kdelibs are now into version 3.2.3 (and thats UNMASKED; masked is in 3.3). i declare the problems fixed.

ps. that's not to mention that resolution qwijibow's reply is about 2 months late :D

screendisease 11-04-2004 08:00 PM

YOURE LIBTOOL IS BROKEN CLEAN OUT AND REMERGE LIBTOOL THAN REBUUILD JPEG THEN KDE

crashmeister 11-05-2004 04:02 AM

How do you end up with that version anyway?

kde-base/kdelibs
Latest version available: 3.3.0

dawizman 11-05-2004 10:53 AM

Quote:

Originally posted by crashmeister
How do you end up with that version anyway?

kde-base/kdelibs
Latest version available: 3.3.0

May have something to do with the thred being 6 months old. :O


All times are GMT -5. The time now is 07:32 PM.