Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE4_AUTOMOC_EXECUTABLE-NOTFOUND kde4 compilation problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dofik
n00b
n00b


Joined: 13 Dec 2004
Posts: 9
Location: Poland Lublin

PostPosted: Mon Jan 28, 2008 9:43 am    Post subject: KDE4_AUTOMOC_EXECUTABLE-NOTFOUND kde4 compilation problem Reply with quote

Helo
I tried to compile kde-meta 4.0 from portage.
I did
Code:
 autounmask kde-base/kde-meta-4.0.0

then
Code:
emerge -D kde-meta

only one package compile fine - first one kdelibs.
Any other has problem with finding kde4automoc - it is present in /usr/kde/4.0/bin
Quote:

-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/libkdeedu-4.0.0/work/libkdeedu_build
[ 2%] [ 4%] [ 6%] Generating kdeeduui_automoc.cpp
/bin/sh: KDE4_AUTOMOC_EXECUTABLE-NOTFOUND: command not found

I have found a solution - but I dont like it ;)
Solution :
go to work dir /var/tmp/portage/kde-base/<package-name>-4.0.0/work/<package_name>_build and edit
CMakeCache.txt
edit line
Quote:
KDE4_AUTOMOC_EXECUTABLE:FILEPATH=KDE4_AUTOMOC_EXECUTABLE-NOTFOUND

to
Quote:
KDE4_AUTOMOC_EXECUTABLE:FILEPATH=/usr/kde/4.0/bin/kde4automoc

then
Code:
ebuild /usr/portage/kde-base ... package.ebuild compile install qmerge

and its working ... bu I have about 200 packages I want to compile

please help ?
Quote:
ortage 2.1.4 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.7-r1, 2.6.23-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Sun, 27 Jan 2008 10:00:02 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python: 2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -Os -pipe -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -Os -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.lublin.pl/pub/linux/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LINGUAS="pl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 apm arts avahi avi berkdb bzip2 cairo cpudetection cracklib crypt cups curl dbus dri dvd dvdr dvdread emacs encode esd fbcon ffmpeg flac flite foomaticdb fortran ftp gdbm gif glitz gphoto2 gpm gpphoto gpphoto2 gtk gtk2 hal hardened htmlhandbook iconv ieee1394 imlib ipv6 java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libwww livecd lm_sensors logitech-mouse macos mad midi mmx motif mp3 mpeg mudflap ncurses networkmanager nls nptl nptlonly nsplugin ogg openexr opengl openmp oss pam pango pcre pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime rdesktop readline samba sasl scanner sdl session slang slp sndfile sony sony_dscf1 sony_dscf55 spell sse sse2 ssl svg tcpd tga theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb utempter vga vnc vorbis wmf xcb xcomposite xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse usbmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv nvidia svga"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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