Hi. I tried to emerge kwlaninfo, but it fails with the following error: " checking for KDE paths... defaults checking for dcopidl... /usr/kde/3.5/bin/dcopidl checking for dcopidl2cpp... /usr/kde/3.5/bin/dcopidl2cpp checking for mcopidl... not found configure: error: The important program mcopidl was not found! Please check whether you installed aRts correctly. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/kwlaninfo-0.9.4/work/kwlaninfo-0.9.4/config.log !!! ERROR: net-wireless/kwlaninfo-0.9.4 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile ebuild.sh, line 1236: Called kde_src_compile kde.eclass, line 111: Called kde_src_compile 'all' kde.eclass, line 228: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 211: Called econf '--with-x' '--enable-mitshm' '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--without-arts' '--with-extra-includes=/usr/kde/3.5/include' '--with-extra-libs=/usr/kde/3.5/lib' ebuild.sh, line 527: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. " emerge --info: " Portage 2.1_pre7-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo i686) ================================================================= System uname: 2.6.16-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apache2 apm avi berkdb bitmap-fonts cdr cdrw cli crypt ctype cups dba dri dvd eds emboss encode expat fastbuild fbcon foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk2 hal imlib ipv6 jpeg kde libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis wifi xml xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_i810 video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY "
Created attachment 83215 [details] The config worklog
Created attachment 83216 [details] The config worklog
Sorry for posting the configlog twice.
I just changed the ebuild - please sync and retry and see if it works for you.
It fails with the exact same error. The inly difference is that '--without-arts' is specified twice. From what I can find on the forums, 'mcopidl' is a part of arts. So there is definitly a dependency error.
Yep, it looks like kwlaninfo doesn't allow you to build unless you have arts installed. This is a huge design error on their part, I suppose.
(In reply to comment #6) > Yep, it looks like kwlaninfo doesn't allow you to build unless you have arts > installed. This is a huge design error on their part, I suppose. I can confirm that it is a configure problem. If you run make -f Makefile.cvs you will get some warnings about head -2 is deprecated, which suggests that kwlaninfo uses old autotool or configuration files. I replaced the configure script with a slightly modified one from another KDE program, but after finishing without problems the make files were buggy (haven't trace these problems). I sent an email with my findings to the author last week, but no response so far.
Ahh, just realized the date was 2005 and not 2006, so yes, it's just the old autotools. I *think* that if you replace the admin dir with a more recent snapshot, and do a "make -f Makefile.cvs" to rebuild configure, that should make things much happier.
> I *think* that if you replace the admin dir with a more recent snapshot, and do > a "make -f Makefile.cvs" to rebuild configure, that should make things much > happier. I can confirm that kwlaninfo configures, builds and runs with the admin directory taken from kdelibs-3.5.2. One way to make kwlaninfo built is to make it depending on kdesdk (or appropiate split ebuild) and copy admin from /usr/kde/3.5/share/apps/kapptemplate/admin into kwlaninfo's directory. Maybe dependencies to some autotools have to be added, too. This is just a theory and is not tested yet. Maybe an upstream bugfix would be best...
*** Bug 134347 has been marked as a duplicate of this bug. ***
Why has this bug still not been fixed?
Created attachment 105370 [details] kwlaninfo-0.9.4.ebuild Ebuild with arts patch (plus desktop file patch). Arts is needed at all - I believe it's standard kdevelop project configure script (and it's broken as usual) Funny thing - I can't see applet in kde applet discovery dialog :/ Plz, test it. Cheers, Przemek
Created attachment 105372 [details, diff] kwlaninfo-arts_must_die.patch kill arts dependency / tests
Created attachment 105373 [details, diff] kwlaninfo-desktop.patch missing Type in desktop file (plus polish Comment translation)
Don't patch the tests out. Just update the damn admin directory.
Created attachment 105376 [details, diff] kwlaninfo-arts_must_die.patch (broken) Diego - my knowlegde about autotools is still very limited... I dump everything from patch, what wasn't in admin directory, but now - it fails with previous error. If you could tell me, what do I have to patch, I'll correct the patch ASAP. I attached broken patch (for files in admin dir). Cheers, Przemek
add mirror://gentoo/kde-admindir-3.5.5.tar.bz2 to SRC_URI, make sure you're using kde_src_unpack to unpack the sources, and you'll see it magically working, without need for any patch.
(In reply to comment #17) > add mirror://gentoo/kde-admindir-3.5.5.tar.bz2 to SRC_URI, make sure you're > using kde_src_unpack to unpack the sources, and you'll see it magically > working, without need for any patch. Thx, works like a charm. Fixed in CVS. Cheers, Przemek