Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23743 - kdevelop-3.0_alpha4-r1 doesn't configure
Summary: kdevelop-3.0_alpha4-r1 doesn't configure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 02:03 UTC by Manfred Stienstra
Modified: 2006-02-10 13:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed acinclude (acinclude.m4,336.58 KB, text/plain)
2003-06-30 02:26 UTC, Manfred Stienstra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Stienstra 2003-06-30 02:03:46 UTC
When I try to merge kdevelop-3.0_alpha4-r1, I get an error that kdelibs isn't
installed, but it is.

configure: error: you need to install kdelibs first.

!!! ERROR: dev-util/kdevelop-3.0_alpha4-r1 failed.
!!! Function kde_src_compile, Line 118, Exitcode 1
!!! died running ./configure, kde_src_compile:configure


Reproducible: Always
Steps to Reproduce:
1. emerge kdevelop
2.
3.

Actual Results:  
dwerg@tail] dwerg) sudo emerge kdevelop
Password:
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/kdevelop-3.0_alpha4-r1 to /
>>> md5 src_uri ;-) kdevelop-3.0a4a.tar.bz2
>>> Unpacking source...
>>> Unpacking kdevelop-3.0a4a.tar.bz2 to
/var/tmp/portage/kdevelop-3.0_alpha4-r1/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
not using lib directory suffix
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... 
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking if gcc static flag  works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/qt/3/bin/moc
checking for uic... /usr/qt/3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/kde/3.1/lib, headers /usr/kde/3.1/include
checking if UIC has KDE plugins available... no
configure: error: you need to install kdelibs first.

!!! ERROR: dev-util/kdevelop-3.0_alpha4-r1 failed.
!!! Function kde_src_compile, Line 118, Exitcode 1
!!! died running ./configure, kde_src_compile:configure



dwerg@tail] dwerg) emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Celeron (Coppermine)
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://www.ibiblio.org/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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/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=""
USE="x86 3dnow apm kde mmx xv zlib berkdb arts tcltk X gpm pam qt motif cdr
apache2 -esd -gnome -nls python -perl -postgres dvd aalib mpeg sse cups dga gtk
gtk2 opengl bonobo -evo gtkhtml imlib ncurses readline sdl svga gif jpeg png
tiff avi quicktime alsa -mikmod -nas -oss xmms oggvorbis flash encode ipv6 ssl
crypt imap -ldap tcpd mozsvg mozilla moznomail moznocompose moznoirc mozxmlterm
spell truetype xml xml2 pdflib -tetex -guile -java -ruby -slang libwww libg++
mysql -odbc gd gdbm -samba -mad radeon"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS=""
AUTOCLEAN="yes"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


dwerg@tail] dwerg) emerge -vp kdelibs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild    U ] kde-base/arts-1.1.2 [1.1.1] +alsa +oggvorbis -artswrappersuid 
[ebuild    U ] kde-base/kdelibs-3.1.2 [3.1.1a] +alsa +cups +ipv6 +ssl
Comment 1 Manfred Stienstra 2003-06-30 02:24:32 UTC
I think the problem lies in the configure test:

if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
    kde_cv_uic_plugins=yes
fi

They're grepping 'klineedit' from actest.cpp. But the source of uic declares this as: KLineEdit

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>NewConnectionDialog</class>
<widget class="QDialog">
   <widget class="KLineEdit">
        <property name="name">
           <cstring>testInput</cstring>
        </property>
   </widget>
</widget>
</UI>

I think this should be changed to:

if test -f actest.cpp && grep KLineEdit actest.cpp > /dev/null; then
    kde_cv_uic_plugins=yes
fi

I've included a new acinclude.m4 which works for me...
Comment 2 Manfred Stienstra 2003-06-30 02:26:05 UTC
Created attachment 14031 [details]
Fixed acinclude
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-06-30 06:27:54 UTC
Please see: http://developer.kde.org/documentation/other/developer-faq.html#q72 
and: http://bugs.kde.org/show_bug.cgi?id=56747 
 
If you think your fix is a good solution to this problem, I encourage you to subimt it to the 
kde folks for inclusion back into the main kde site.  This seems to be a problem for a lot of 
people (I'm the one who wrote the FAQ entry because I have encountered this a lot). 
Comment 4 Manfred Stienstra 2003-06-30 06:57:51 UTC
I've added an entry to bugs.kde.org.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-07-20 07:12:49 UTC
Since this is a kde issue, and a rather common one at that, I'm going to leave this up to kde 
main devs to figure out how they want to resolve this. 
Comment 6 Blu3 2004-01-05 10:10:02 UTC
Can we do -something- about this?  :)

I realize this is a kde issue at the start, but honestly, it's us, the end users that are waiting for it to work.
Comment 7 Jesse Zbikowski 2006-02-10 13:00:33 UTC
(In reply to comment #1)
> if test -f actest.cpp && grep KLineEdit actest.cpp > /dev/null; then

I tried this and it got me past ./configure, but during actual build it fails:

koDocumentInfoAboutWidget.cc:39: error: invalid use of undefined type 'struct KLineEdit'

Has this issue been resolved?