Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24066

Summary: Kdepim ebuild misses a dependancy
Product: Gentoo Linux Reporter: Gavrila <gavrilao>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Here it is

Description Gavrila 2003-07-07 11:36:21 UTC
emerging kdepim 3.1.2 results in a failure since configure looks for, but
doesn't find, c++ STL. Please correct the ebuild. 

Reproducible: Always
Steps to Reproduce:
1.Emerge kdepim without having c++ STL installed
2.
3.

Actual Results:  
Emerge fails with 'configure' complaining about missing STL libraries

Expected Results:  
Emerged Kdepim successfully

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 2000+
GENTOO_MIRRORS="http://212.219.56.152/sites/www.ibiblio.org/gentoo/
http://212.219.56.131/sites/www.ibiblio.org/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml alsa gdbm berkdb slang readline arts bonobo svga tcltk java guile X sdl
gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl
mozilla cdr acpi dga dvd evo fbcon gb gnomedb gtk2 mbox mozaccess mozcalendar
mozinterfaceinfo mozp3p mozsvg mozxmlterm pic threads tiff usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -m3dnow "
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -m3dnow "
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 11:40:09 UTC
Haven't seen this bug before.  Please look in "config.log" and see what's happening and post 
the relevant portions of it. 
 
The "configure" script comes with the kdepim package, so this is most certainly just some 
kind of misconfiguration issue. 
Comment 2 Gavrila 2003-07-07 11:44:09 UTC
This is where it fails:


checking if STL implementation is SGI like... no
checking if STL implementation is HP like... no
configure: error: "no known STL type found - did you forget to install libstdc++-devel ?"

!!! ERROR: kde-base/kdepim-3.1.2-r1 failed.
!!! Function kde_src_compile, Line 118, Exitcode 1
!!! died running ./configure, kde_src_compile:configure

Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 12:00:01 UTC
But that doesn't tell us specifically what happened that caused it to fail. 
 
If you go into /var/tmp/portage/kdepim-3.1.2/work and look for config.log, that will have 
the log of what happened to cause this failure. 
 
You may need to activate the "keepwork" flag in your make.conf file in order to keep portage 
from automatically erasing these files. 
Comment 4 Gavrila 2003-07-07 12:07:38 UTC
last lines from config.log:

#ifdef __cplusplus
#include <stdlib.h>

configure: exit 1
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 12:13:54 UTC
Not really enough lines to show what's going on.  If you want, go ahead and attach the whole 
config.log as an attachment to the bug report. 
 
The 'configure' script is really almost 100% standard between kde packages; thus if it found 
the STL for you on one of the other kde packages (kdebase, kdelibs, etc) then I don't 
understand why it's not working here.   
Comment 6 Gavrila 2003-07-07 12:41:29 UTC
Created attachment 14247 [details]
Here it is

Hope this will help
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 19:39:19 UTC
Duplicate, but different kde packages. 
 
We'll look into this.  In the mean time, you can remove the "-pedantic" compile flag from the 
sources and it should work okay. 

*** This bug has been marked as a duplicate of 22656 ***