Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.5.7 not compiling. [SOLVED]
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
Sparrowmelody
n00b
n00b


Joined: 21 Nov 2005
Posts: 32
Location: Spain

PostPosted: Tue Aug 14, 2007 6:26 pm    Post subject: KDE 3.5.7 not compiling. [SOLVED] Reply with quote

I am trying to update KDE to 3.5.7.
After removing the blocks caused by individual packages I had installed (konqueror and
dependences), I started to install kdebase, but it fails with the following error:

Code:

make[4]: Entering directory `/var/tmp/portage/kde-base/kdebase-3.5.7-r3/work/kdebase-3.5.7/kioslave/media/mediamanager'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE    -o libhalbackend.la  -avoid-version -L/usr/kde/3.5/lib -L/usr/qt/3/lib     -no-undefined halbackend.lo -L/usr/lib -lhal -lhal-storage -L/usr/lib -ldbus-1 -L/usr/lib -ldbus-qt-1
libtool: link: cannot find the library `' (libnsl.la: /-lstdc++)
make[4]: *** [libhalbackend.la] Error 1


The output of emerge --info
Code:

Portage 2.1.3.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2/vanilla,  glibc-2.5-r4, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 13 Aug 2007 01:47:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 2.0.33-r1
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/libtool:   1.4.3-r4, 1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cjk cli cpudetection cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo exscalibar fam ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv imlib ipv6 isdnlog jpeg kerberos kqemu ldap live mad matroska midi mikmod mmx mmxext mp3 mpeg mplayer msn mudflap ncurses noamazon nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real reflection rtc ruby sdl session spell spl sqlite sse sse2 ssl svg tabs tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode usb v4l2 vim-syntax vorbis win32codecs x264 x86 xanim xml xml2 xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I updated gcc and glibc recently, to 4.1.2 and 2.5 respectively, and I fixed all runtime
errors related, and everything works fine, but that package doesn't want to compile. Every
other kioslave compiles fine from the same sources...I am quite puzzled about this, and
lacking time to find a proper solution myself (summer season is very busy and I work every
day, so I can't sit down with a cup of coffee and read through the gentoo forums until
finding a solution).
I've tried using commands like "ld -lstdc++" "gcc -lstdc++" and "g++ -lstdc++" and those
return no errors.
Since the error is related to a hal-related kioslave, I am thinking I might disable it as
a last resort, but I'd personally love to have it enabled for convenience and time-saving
since I work a lot with USB storage and dvd backups.
Can anyone help me with this?


Last edited by Sparrowmelody on Wed Aug 15, 2007 4:01 am; edited 1 time in total
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Aug 14, 2007 7:12 pm    Post subject: Reply with quote

Hi sparrowmelody,
Your problem is probably due to expat.
https://forums.gentoo.org/viewtopic-t-575655-highlight-.html
Read this post.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Sparrowmelody
n00b
n00b


Joined: 21 Nov 2005
Posts: 32
Location: Spain

PostPosted: Tue Aug 14, 2007 7:29 pm    Post subject: Reply with quote

That opens a new line of research. I hope I don't have to recompile too much stuff (I only have gprs modem, very slow!)
Thanks for your reply!
Back to top
View user's profile Send private message
Sparrowmelody
n00b
n00b


Joined: 21 Nov 2005
Posts: 32
Location: Spain

PostPosted: Wed Aug 15, 2007 2:25 am    Post subject: Reply with quote

Agh...expat wasn't the source of my trouble.
I am out of clues at the time...any other suggestion?
EDIT:
Seems like removing the "hal" USE flag was the key for this to compile. Shame I cannot enable it...I'll wait
until KDE 4, hopefully it will work by then.
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