• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] conky-installationsproblem

zonny

Newbie
hi,
ich will conky (gz Paket) auf SuSE10.2 installieren. Bei ./configure gibt's Fehlermeldung:
Code:
checking for GLIB... configure: error: Package requirements (glib-2.0) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

glib2 habe ich bereit installiert. Wie muss ich es noch mal konfiguren?

Ich bin sehr dankbar für eure Hilfe.

Gruss
 
OP
Z

zonny

Newbie
danke b3ll3roph0n für deine Antwort. Ich hab schon lange gewartet :D
b3ll3roph0n schrieb:
glib2-devel auch installiert?

Ja, ich hab schon installiert.

Ich denke, durch Update wurde glib2 oder pkg-config geändert. Ich weisst nicht, wie ich rekompilieren kann.

Btw: Warum nimmst du nicht das RPM von suser-guru?

Danke, ich werde versuchen. Ich habe nach rpm-Datei gesucht, aber nicht gefunden. Jetzt habe ich. Vielen Dank.

Gruss
 
OP
Z

zonny

Newbie
mit rpm-Paket ist echt einfach. Jetzt läuft conky by mir. Ich habe aber noch Frage.

1. ich habe im .conkyrc ${acpitemp} angegeben, aber CPU-Temperatur bleibt immer noch 0. Woran liegt das?
Mein Mainboard ist Intel 865PERL.

2. wie kann ich conky autostarten, wenn suse startet?

Gruss
 
zonny schrieb:
mit rpm-Paket ist echt einfach.
Ja, das ist Sinn der Sache. :wink:
Siehe: Software Installieren/Deinstallieren unter Linux

zonny schrieb:
wie kann ich conky autostarten, wenn suse startet?
Den Autostart deines jeweiligen DEs (KDE, Gnome, ...) benutzen.

Ich benutze z.B. folgendes kleines Startscript:
Code:
#!/bin/sh
# /usr/local/bin/fb-conky

CONKYRC="${HOME}/.conky";

if [ -z $CONKYRC ]; then
  exit 0;
 else
   for i in `ps -A | grep 'conky' | awk '{print $1}'`; do kill -9 $i > /dev/null; done;
   if [ `ls -A1 $CONKYRC | grep .conkyrc | wc -l` -gt 0 ]; then
     for j in $CONKYRC/*.conkyrc; do
       if [ -r $j ]; then
         conky -c $j > /dev/null 2>&1 &
       fi;
     done;
   fi;
fi;

unset CONKYRC j;

# End of file
(Startet für jede Konfigurationsdatei im Verzeichnis ~/.conky mit der Endung .conkyrc eine conky-Instanz)

zonny schrieb:
ich habe im .conkyrc ${acpitemp} angegeben, aber CPU-Temperatur bleibt immer noch 0. Woran liegt das?
Mein Mainboard ist Intel 865PERL.
Versuchs mal mit i2c:
i2c (dev) type n I2C sensor from sysfs (Linux 2.6). dev may be omitted if you have only one I2C device. type is either in (or vol) meaning voltage, fan meaning fan or temp/tempf (first in C, second in F) meaning temperature. n is number of the sensor. See /sys/bus/i2c/devices/ on your local computer.
=> http://conky.sourceforge.net/variables.html
 
OP
Z

zonny

Newbie
wie muss ich i2c anwenden, bitte??
ich habe so ${i2c temp 1} bzw. 2 und nichts versucht, ohne Erfolg.
In /sys/bus/i2c/devices steht nichts darin.

hilf mir bitte. Vielen Dank

Gruss
 
OP
Z

zonny

Newbie
ich habe folgende gemacht

Code:
cp /usr/share/doc/packages/sensors/prog/init/lm_sensors.init.suse /etc/init.d/lm_sensors

chkconfig -a lm_sensors

/etc/init.d/lm_sensors start

sensors-detect

lm_sensors start

Code:
# sensors -f
lm85b-i2c-0-2e
Adapter: SMBus I801 adapter at c800
V1.5:       +1.47 V  (min =  +0.00 V, max =  +3.32 V)
VCore:      +1.34 V  (min =  +0.00 V, max =  +2.99 V)
V3.3:       +3.33 V  (min =  +0.00 V, max =  +4.38 V)
V5:        +5.13 V  (min =  +0.00 V, max =  +6.64 V)
V12:      +12.00 V  (min =  +0.00 V, max = +15.94 V)
CPU_Fan:      0 RPM  (min =    0 RPM)
fan2:      1135 RPM  (min =    0 RPM)
fan3:      1878 RPM  (min =    0 RPM)
fan4:      1115 RPM  (min =    0 RPM)
CPU Temp:   +124°F  (low  =  -197°F, high =  +261°F)
Board Temp:
             +97°F  (low  =  -197°F, high =  +261°F)
Remote Temp:
            +115°F  (low  =  -197°F, high =  +261°F)
CPU_PWM:   255
Fan2_PWM:  255
Fan3_PWM:  255
vid:      +1.388 V  (VRM Version 10.0)

Code:
#ls sys/bus/i2c/devices
0-002e  0-0050

ich weiss nicht, was ich weiter machen soll.
 
Oben