Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh emerge KDE,keyboard dies:ksysguard err SOLVED
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
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sun Sep 27, 2009 3:55 am    Post subject: Fresh emerge KDE,keyboard dies:ksysguard err SOLVED Reply with quote

Hello all,

I"m getting closer to a working system I think. I've unmerged the monolithic KDE.
Starting over with emerge kdebase-meta.

I blows up on something called ksysguard, with not much in the way of helpful error messages...

Code:
checking if ksysguardd can be compiled... yes
checking sensors/sensors.h usability... yes
checking sensors/sensors.h presence... yes
checking for sensors/sensors.h... yes
checking for sensors_init in -lsensors... no
configure: error: --with-sensors was given, but test for lm_sensors failed

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/kde-base/ksysguard-3.5.10/work/ksysguard-3.5.10/config.log
 *
 * ERROR: kde-base/ksysguard-3.5.10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4498:  Called kde-meta_src_compile
 *             environment, line 3103:  Called kde_src_compile
 *             environment, line 3283:  Called kde_src_compile 'all'
 *             environment, line 3295:  Called kde_src_configure 'all'
 *             environment, line 3435:  Called kde_src_configure 'myconf' 'configure'
 *             environment, line 3427:  Called econf '--enable-dnssd' '--with-sensors' '--without-java' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--without-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man' '--infodir=/usr/kde/3.5/share/info' '--datadir=/usr/kde/3.5/share' '--sysconfdir=/usr/kde/3.5/etc'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/ksysguard-3.5.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/ksysguard-3.5.10/temp/environment'.
 *

>>> Failed to emerge kde-base/ksysguard-3.5.10, Log file:

>>>  '/var/tmp/portage/kde-base/ksysguard-3.5.10/temp/build.log'

 * Messages for package kde-base/ksysguard-3.5.10:

 *
 * ERROR: kde-base/ksysguard-3.5.10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4498:  Called kde-meta_src_compile
 *             environment, line 3103:  Called kde_src_compile
 *             environment, line 3283:  Called kde_src_compile 'all'
 *             environment, line 3295:  Called kde_src_configure 'all'
 *             environment, line 3435:  Called kde_src_configure 'myconf' 'configure'
 *             environment, line 3427:  Called econf '--enable-dnssd' '--with-sensors' '--without-java' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--without-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man' '--infodir=/usr/kde/3.5/share/info' '--datadir=/usr/kde/3.5/share' '--sysconfdir=/usr/kde/3.5/etc'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/ksysguard-3.5.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/ksysguard-3.5.10/temp/environment'.
 *


I've searched the forums for ksysguard and lmsensors...but, not seeing much here to go on.

Any suggestions or links?

Thanks in advance,

cayenne :roll:
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........


Last edited by cayenne on Fri Oct 02, 2009 11:45 pm; edited 4 times in total
Back to top
View user's profile Send private message
Munin
n00b
n00b


Joined: 30 Jun 2007
Posts: 41
Location: Germany

PostPosted: Sun Sep 27, 2009 9:25 am    Post subject: Reply with quote

try emerging lm_sensors (I hope you built your kernel with sensors support)
or simply disable the lmsensors use-flag
_________________
Laptop: Asus F3JM | Core2Duo T5600 | 2048MB DDR2 RAM | GeForce Go 7600 | TuxOnIce 2.6.31
Desktop: custom | Core2Quad Q9650 | 4096MB DDR2 RAM | GeForce GTX285 | TuxOnIce 2.6.32
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sun Sep 27, 2009 11:09 pm    Post subject: almost there... Reply with quote

Ok...I've re-emerged the world....emerged non-monolithic KDE....
did the revdep-rebuild successfully....I've carefully done the etc-update.

I rebooted, and the KDE loging comes up...but, for some reason...my keyboard isn't working??
It worked when I rebooted it..so, not the connection...

So close...any ideas what happened? I've never had a keyboard problem with gentoo before...

I'm so close to a working system, but, can't logon, since keyboard is not working...any suggestions?

I can log on by ssh'ing into the box from another computer.

This is my mythtv box (hence not updating it in ages)....I've not seen tv in 2 weeks...wanting to get it going..

Thanks so much for all the help so far...I've learned a lot...just need some help on troubleshooting this one last detail.
The keyboard on the box not responding (even the num lock doesn't light)

Thanks

cayenne 8O
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Sep 27, 2009 11:19 pm    Post subject: Reply with quote

what does the following commands return?
    eselect rc show
    grep EVDEV /usr/src/linux/.config
    emerge --info
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Mon Sep 28, 2009 3:01 am    Post subject: here they are.. Reply with quote

Mike Hunt wrote:
what does the following commands return?
    eselect rc show
    grep EVDEV /usr/src/linux/.config
    emerge --info


Code:
eselect rc show
Status of init scripts in runlevel "default"
  dnsmasq                   [started]
  hald                      [started]
  local                     [started]
  metalog                   [started]
  mysql                     [started]
  mythbackend               [started]
  net.eth1                  [started]
  netmount                  [started]
  sshd                      [started]
  vixie-cron                [started]
  xdm                       [started]


Code:
grep EVDEV /usr/src/linux/.config
CONFIG_INPUT_EVDEV=y


Code:
emerge --info 
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.22-gentoo-r5-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 25 Sep 2009 00:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7, 2.1.8-r1
dev-lang/python:     2.4.6, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.pair.com/ ftp://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acc acl acpi aim alsa apache2 audiofile bash-completion berkdb bluetooth bzip2 cdparanoia cdr cli cracklib crypt cups curl dga dio directfb dri dvb dvd dvdr dvdread emacs encode exif ffmpeg firefox flac flash foomaticdb fortran ftp gd gdbm gif gphoto2 gpm gtk gtk2 hal iconv icq ieee1394 imagemagick innodb ipv6 isdnlog ivtv jabber jack jpeg kde ladcca ladspa libwww lirc mad maildir ming mmx mng modules mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly oci8 ogg openal opengl openmp osc oscar oss pam pcre pdf perl png portaudio posix pppd python qt3 qt4 quicktime readline reflection samba session snmp spl ssl svga sysfs tcl tcpd tidy tiff tk tokenizer truetype unicode usb v4l vcd vorbis wifi win32codecs x86 xine xml xorg xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Thanks for the reply.

What does the eselect command show there?
Also, what are we looking for with the EVDEV check? I"ve not seen that before...

Again, thanks in advance for any help or suggestions.

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Sep 28, 2009 3:26 am    Post subject: Re: here they are.. Reply with quote

cayenne wrote:
What does the eselect command show there?
Also, what are we looking for with the EVDEV check? I"ve not seen that before...

eselect rc shows started system services, daemons and servers. Here we see that dbus is missing in rc and in your USE flags

look at eselect profile list
consider setting a desktop profile because it would set most of the USE flags needed to run a desktop.


EVDEV is the kernel Event interface needed for mouse, keyboard, and so on...

edit your make.conf
Code:
INPUT_DEVICES="evdev"



what does gcc-config -l return?
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Tue Sep 29, 2009 12:04 am    Post subject: Re: here they are.. Reply with quote

Mike Hunt wrote:
cayenne wrote:
What does the eselect command show there?
Also, what are we looking for with the EVDEV check? I"ve not seen that before...

eselect rc shows started system services, daemons and servers. Here we see that dbus is missing in rc and in your USE flags

look at eselect profile list
consider setting a desktop profile because it would set most of the USE flags needed to run a desktop.


EVDEV is the kernel Event interface needed for mouse, keyboard, and so on...

edit your make.conf
Code:
INPUT_DEVICES="evdev"



what does gcc-config -l return?

Wow..this is all new to me for Gentoo...they must have really been changing things the past year or so??

I don't remember every doing anything in make.conf with evdev...just usually put in (as I have) INPUT_DEVICES="mouse keyboard".

I wonder if I have to redo a kernel now just to have this EVDEV?

With the dbus...I just need to do a rc-update add dbus default? I checked and it is already emerged.
Hmm...I don't recall having to out that in the USE flags in my make.conf file.

Not sure what dbus does?

The desktop profile you mention...it puts in USE flags too, or does it take the place of setting up USE flags in make.conf?



Code:
gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2 *
 [2] i686-pc-linux-gnu-4.3.2



Code:
eselect profile list
Available profile symlink targets:
  [1]   default/linux/x86/2008.0 *
  [2]   default/linux/x86/2008.0/desktop
  [3]   default/linux/x86/2008.0/developer
  [4]   default/linux/x86/2008.0/server
  [5]   default/linux/x86/10.0
  [6]   default/linux/x86/10.0/desktop
  [7]   default/linux/x86/10.0/developer
  [8]   default/linux/x86/10.0/server
  [9]   hardened/linux/x86/10.0
  [10]  selinux/2007.0/x86
  [11]  selinux/2007.0/x86/hardened
  [12]  selinux/v2refpolicy/x86
  [13]  selinux/v2refpolicy/x86/desktop
  [14]  selinux/v2refpolicy/x86/developer
  [15]  selinux/v2refpolicy/x86/hardened
  [16]  selinux/v2refpolicy/x86/server


You're saying I need to choose #2?

I'll start to research how to set a profile...

Again, thank you for all the help so far...I"m learning some new stuff here.

c
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Sep 29, 2009 12:34 am    Post subject: Re: here they are.. Reply with quote

cayenne wrote:
I wonder if I have to redo a kernel now just to have this EVDEV?
Check it with
Code:
grep EVDEV /usr/src/linux/.config


cayenne wrote:
With the dbus...I just need to do a rc-update add dbus default? I checked and it is already emerged.
Hmm...I don't recall having to out that in the USE flags in my make.conf file...Not sure what dbus does?
Yes later after it is installed.
A profile will add the dbus USE flag.
Dbus is a message bus system, a simple way for applications to talk to each other.


cayenne wrote:
The desktop profile you mention...it puts in USE flags too, or does it take the place of setting up USE flags in make.conf?
to set the 10th anniversary desktop profile run
Code:
eselect profile set 6
make.conf settings override the profile.


cayenne wrote:
Code:
gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2 *
 [2] i686-pc-linux-gnu-4.3.2
to set gcc-4.3.2 run
Code:
gcc-config 2 && env-update && source /etc/profile



I would also set your CFLAGS in make.conf to march=native and O2 for better system consistency and a faster system
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"


Now run
Code:
emerge --sync && emerge -uDNav world


Now run
Code:
rc-update add dbus default && /etc/init.d/dbus start


Now your emerge kde-meta should build successfully. :)
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Tue Sep 29, 2009 11:59 pm    Post subject: Re: here they are.. Reply with quote

Mike Hunt wrote:
cayenne wrote:
I wonder if I have to redo a kernel now just to have this EVDEV?
Check it with
Code:
grep EVDEV /usr/src/linux/.config


cayenne wrote:
With the dbus...I just need to do a rc-update add dbus default? I checked and it is already emerged.
Hmm...I don't recall having to out that in the USE flags in my make.conf file...Not sure what dbus does?
Yes later after it is installed.
A profile will add the dbus USE flag.
Dbus is a message bus system, a simple way for applications to talk to each other.


cayenne wrote:
The desktop profile you mention...it puts in USE flags too, or does it take the place of setting up USE flags in make.conf?
to set the 10th anniversary desktop profile run
Code:
eselect profile set 6
make.conf settings override the profile.


cayenne wrote:
Code:
gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2 *
 [2] i686-pc-linux-gnu-4.3.2
to set gcc-4.3.2 run
Code:
gcc-config 2 && env-update && source /etc/profile



I would also set your CFLAGS in make.conf to march=native and O2 for better system consistency and a faster system
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"


Now run
Code:
emerge --sync && emerge -uDNav world


Now run
Code:
rc-update add dbus default && /etc/init.d/dbus start


Now your emerge kde-meta should build successfully. :)


Mike, thanks for all the help so far....

I'm just puzzled.

First...I went in and looked...dbus and hald WERE running...dunno why they didn't show up originally...but, they show up now.

Quote:
eselect rc show
Status of init scripts in runlevel "default"
dbus [started]
dnsmasq [started]
hald [started]
local [started]
metalog [started]
mysql [started]
mythbackend [started]
net.eth1 [started]
netmount [started]
sshd [started]
vixie-cron [started]
xdm [started]


I guess I'm stumped...what changed that killed my keyboard. I've just gone through doing the emerge -uDN world...that took days. I've emerged kdebase-meta..that took a couple of days.

This worked before without any kernel changes...or evdev....

I've been looking through the gentoo install manual, and I don't see references to this....

I'm hoping that I don't have to go back and reinstall EVERYTHNG again...
:(

I've not touched my kernel...although I did see that during the world update...that a new version of gentoo-sources came on board...but I've not touched it.

This is a mythtv box...took forever to get running...and hence, not something that gets updated very often. With all the modules and configs I have...I shudder to think about trying to get it all again with re-rolling a new kernel.....

Do you or anyone else at least have some kind of theory why my keyboard (just shows a KDE logon and not keyboard response) just stopped working...with just an emerge update to world??

Anyway...here is this:

Code:
grep EPDEV /usr/src/linux/.config  (returns nothing, not an option for my kernel



Thinking....here's my kernel version:

Code:
uname -a                           
Linux ancho 2.6.22-gentoo-r5 #4 Sat Jun 21 18:34:13 CDT 2008 i686 AMD Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux


Since I didn't have EVDEV in the past...is there any chance...I can get the keyboard working again without changing kernels, recompiling my entire system...etc?

I sincerely appreciate the help, I'm just frustrated now at the prospect that I have to redo it all again for something as simple as a keyboard that worked before....and like I said..I see no reference to setting this stuff up in the Gentoo install handbook....so, I'm kinda lost for an explanation here.

Again..thank you for all the help so far.

cayenne :cry:
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Sep 30, 2009 12:08 am    Post subject: Re: here they are.. Reply with quote

cayenne wrote:
Anyway...here is this:

Code:
grep EPDEV /usr/src/linux/.config  (returns nothing, not an option for my kernel

Try
Code:
grep EVDEV /usr/src/linux/.config



cayenne wrote:
I sincerely appreciate the help, I'm just frustrated now at the prospect that I have to redo it all again for something as simple as a keyboard that worked before....and like I said..I see no reference to setting this stuff up in the Gentoo install handbook....so, I'm kinda lost for an explanation here.


Since X server 1.5 the input devices are managed by hal instead of xorg-server.

You can override this by adding under ServerFlags Section in xorg.conf the following

Code:
Section "ServerFlags"
    Option   "AutoAddDevices"      "false"
EndSection
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Fri Oct 02, 2009 11:46 pm    Post subject: Re: here they are.. Reply with quote

Mike Hunt wrote:
cayenne wrote:
Anyway...here is this:

Code:
grep EPDEV /usr/src/linux/.config  (returns nothing, not an option for my kernel

Try
Code:
grep EVDEV /usr/src/linux/.config



cayenne wrote:
I sincerely appreciate the help, I'm just frustrated now at the prospect that I have to redo it all again for something as simple as a keyboard that worked before....and like I said..I see no reference to setting this stuff up in the Gentoo install handbook....so, I'm kinda lost for an explanation here.


Since X server 1.5 the input devices are managed by hal instead of xorg-server.

You can override this by adding under ServerFlags Section in xorg.conf the following

Code:
Section "ServerFlags"
    Option   "AutoAddDevices"      "false"
EndSection



Thank you Mike for all the help. The xorg.conf change got my keyboard back on the air!!
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Oct 02, 2009 11:59 pm    Post subject: Reply with quote

You are most welcome :)
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