after adding doc to my use flags and re-emerging kdelibs I still get the following when I emerge kdevelop. You have no kdelibs documentation generated by Doxygen installed. You should install Doxygen from www.doxygen.org, reconfigure and rebuild the kdelibs sources. You should 'make apidox' and 'make install' in your kdelibs build dir, and then rerun this configure script. I find this in the kdelibs ebuild. under src_compile() kde_src_compile use doc && make apidox under src_install() kde_src_install use doc && make DESTDIR=${D} install-apidox So I don't understand why the kdelibs documentation isn't ready for kdevelop. Oh and yes it has doxygen installed. I also installed graphviz and that removed the message about graphviz in kdevelop. Reproducible: Always Steps to Reproduce: 1.add doc to use flags. 2.emerge kdelibs 3.emerge kdevelop Actual Results: I get the above warning in kdevelop Expected Results: It should have installed the kdelibs documentation for kdevelop and others to use. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 13:45:29)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d aalib acpi adns alsa amd apache2 apm arts artswrappersuid authdaemond avi berkdb bitmap-fonts blender-game bonobo bootspla c cdparanoia cdr cdrom cjk clamav codecs crypt cups curl dga directfb divx4linux dmx dnd doc dv dvd dvdread eds emboss emoticon encode erandom esd fam fbcon ffmpeg fftw flac fmod foomaticdb foreign-package foreign-sysvinit fortran freetds freetype fs gb gd gdbm gif gimpprint glade glut gnome gnomedb gpm graphviz gsl gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib imlib2 innodb ipv6 ithreads jabber java javascript jikes joystick jpeg junit jython kde kerberos lcms ldap libclamav libg++ libgda libwww lzo mad maildir mailwrapper mbox mcal md5sum memlimit mikmod mmx mmx2 motif mozcalendar mozdomi mozilla mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn music mysql mysqli native ncurses net nls nntp nptl nvidia oav offensive ogg oggvorbis openal opengl opens oscar oss pam pdf pdflib pear-db perl php png ppds prelude pthreads python qt quicktime readline regexp ruby samba sasl scanner sdl slang slp snmp soap sockets socks5 softmmu speedo speex spell spl sqlite ssl svg svga tcltk tcpd tetex threads tiff tools transcode truetype truetype-fonts type1 type1-fonts unicode unsafe usb vhosts videos virus-scan vorbis wifi wmf wxwin wxwindows xine xinetd xml xml2 xmms xpm xscreensaver xsl xv xvid yahoo zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Works fine here. Does the documentation get installed in /usr/kde/3.3/share/doc/HTML/en/kdelibs-apidocs/?
Yes I get /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidoc/ So the next question is why is kdevelop complaining that it wasn't done correctly. At this point I am beginning to think that this is a kdevelop not a kdelibs bug. Did you not get that error msg when it finished the configure of kdevelop or is for some odd reason kdevelop still looking in the 3.3 directory instead of the 3.4 and if so where is the variable thats causing this. Cause I don't have kdelibs-apidocs in the 3.3 branch of the /usr/kde directory.
Okay after a little more detective work this is what I find. 1) KDEDIR = /usr/kde/3.4 -- So it is using the correct directory. 2) from config.status s,@DOXYGEN@,/usr/bin/doxygen,;t t s,@DOXYGEN_PROJECT_NAME@,KDevelop,;t t s,@DOXYGEN_PROJECT_NUMBER@,Version 3.2.0,;t t s,@KDE_HAS_DOXYGEN@,no,;t t -- So it thinkst that KDE doesn't have doxygen. 3) /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs exits. So is this a kdelibs problem, a kdevelop problem or a kde problem.. Should I recompile kde? I ask this because I had kde compiled. then I added the doc use variable and recompiled just kdelibs.
You may want to look at /var/tmp/portage/kdevelop-3.2.0/work/kdevelop-3.2.0/config.log after configure has finished. It should have --with-kdelibsdoxy-dir=/usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs on the command line at the beginning, and there should be something like configure:33106: checking for kdelibs documentation generated by Doxygen configure:33137: /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs/kdecore/html/classKApplication.html taking that configure:33143: result: /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs later on (this is what I get).
From config.log --with-kdelibsdoxy-dir=/usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs configure:33061: checking for Qt documentation configure: 33088: /usr/qt/3/html/classes.html configure: 33088: /usr/qt/3/doc/html/classes.html configure: 33088: /usr/qt/3/doc/classes.html configure: 33088: /usr/doc/qt-doc/html/classes.html configure: 33088: /usr/local/qt/html/classes.html configure: 33088: /usr/local/lib/qt/html/classes.html configure: 33088: /usr/lib/qt/doc/html/classes.html configure: 33088: /usr/X11/lib/qt/html/classes.html configure: 33088: /usr/X11/lib/qt/doc/html/classes.html configure: 33088: /usr/X11R6/share/doc/qt/html/classes.html configure: 33088: /usr/share/doc/packages/qt/html/classes.html configure:33094: result: NO configure:33106: checking for kdelibs documentation generated by Doxygen configure: 33137: /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs/kdecore/html/classKApplication.html configure: 33137: /usr/share/doc/HTML/default/kdelibs-apidocs/kdecore/html/classKApplication.html configure: 33137: /usr/share/doc/HTML/en/kdelibs-apidocs/kdecore/html/classKApplication.html configure:33143: result: NO configure:33155: checking for kdelibs documentation configure: 33190: /usr/doc/kdelibs-doc/html/kdecore/index.html configure: 33190: /usr/share/doc/HTML/default/kdelibs/kdecore/index.html configure: 33190: /usr/share/doc/HTML/en/kdelibs/kdecore/index.html configure:33196: result: NO In /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs I get the following from ls common and from /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs/common ls gives me. 1.png docheadergears.png kde_logo.png 10.png doctop1.png kde_logo_bg.png 2.png doctop1a.png kmenu.png 3.png doctop1b.png lgpl-license 4.png doctop2.png lgpl-license.html 5.png doxygen.css mainfooter.html 6.png fdl-license mainheader.html 7.png fdl-license.html qpl-license.html 8.png footer.html shadow.png 9.png gpl-license top-left.png appheader.html gpl-license.html top-middle.png artistic-license.html grad.png top-right-konqueror.png bottom-left.png header.html web-docbottom.png bottom-middle.png headerbg.png web-doctop.png bottom-right.png kde-common.css x11-license.html bottom1.png kde-default.css xml.dcl bottom2.png kde-localised.css.template bsd-license.html kde-web.css I am going to rebuild qt and kde then try again.
Update. Rebuild of qt fixed the missing qt documentation files. While rebuilding kdeblibs each time it went into an apidocs folder i got results like below. mkdir -p -- ../apidocs/arts Error: Unexpected tag `class' found mkdir -p -- ../apidocs/khtml Error: Unexpected tag `class' found multiple duplicate Error: Unexpected tag `class' found lines removed. there were about 30 or so each time. I also get multiples of this error message. Error: libgd was not built with FreeType font support So after rebuilding QT and kdelibs I have the following from the config.log. configure: 33088: /usr/qt/3/html/classes.html configure: 33088: /usr/qt/3/doc/html/classes.html taking that configure:33094: result: /usr/qt/3/doc/html configure:33106: checking for kdelibs documentation generated by Doxygen configure: 33137: /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs/kdecore/html/classKApplication.html taking that configure:33143: result: /usr/kde/3.4/share/doc/HTML/en/kdelibs-apidocs configure:33155: checking for kdelibs documentation configure: 33190: /usr/doc/kdelibs-doc/html/kdecore/index.html configure: 33190: /usr/share/doc/HTML/default/kdelibs/kdecore/index.html configure: 33190: /usr/share/doc/HTML/en/kdelibs/kdecore/index.html configure:33196: result: NO Despite the error msgs I saw in the make of kdelibs (apidocs) and only having the doxygen documentation but not the kdelibs documentation kdevelop did install. I guess the problem was in not rebuilding qt after I changed the use flags the first time. I will report any other problems if they occur. Thanks for pointing me to the parts of the config.log file you did. Trent.
Same is true for the opengl use flag and lots of other ebuild/use flag combinations in the tree. The problem is that Portage doesn't support such dependencies yet (Portage 2.1 will).
I just committed a check for the in kde.eclass - let's hope it works!