Conky - "make" problem

janis

janis

BOFH
Hallo Leute, ich hab versucht Conky zu installieren.
Dazu hab ich die Version 1.5.0 heruntergeladen
sie entpackt
und dann im Ordner ./configure und make ausgeführt.
Bei make kam folgende Rückgabe:
Making all in src
make[1]: Entering directory `/root/Desktop/conky-1.5.0/src'
make all-am
make[2]: Entering directory `/root/Desktop/conky-1.5.0/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
mv -f .deps/common.Tpo .deps/common.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -MT conky.o -MD -MP -MF .deps/conky.Tpo -c -o conky.o conky.c
mv -f .deps/conky.Tpo .deps/conky.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -MT fs.o -MD -MP -MF .deps/fs.Tpo -c -o fs.o fs.c
mv -f .deps/fs.Tpo .deps/fs.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -MT hddtemp.o -MD -MP -MF .deps/hddtemp.Tpo -c -o hddtemp.o hddtemp.c
mv -f .deps/hddtemp.Tpo .deps/hddtemp.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -MT linux.o -MD -MP -MF .deps/linux.Tpo -c -o linux.o linux.c
In file included from /usr/include/linux/route.h:26,
from linux.c:55:
/usr/include/linux/if.h:119: error: redefinition of ‘struct ifmap’
/usr/include/linux/if.h:155: error: redefinition of ‘struct ifreq’
/usr/include/linux/if.h:205: error: redefinition of ‘struct ifconf’
make[2]: *** [linux.o] Fehler 1
make[2]: Leaving directory `/root/Desktop/conky-1.5.0/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/root/Desktop/conky-1.5.0/src'
make: *** [all-recursive] Fehler 1
Was ist da schief gelaufen?
 
Was ist da schief gelaufen?

Wieso verwendest du nicht dein Paketmanagement um Conky zu installieren?

/usr/include/linux/if.h:119: error: redefinition of ‘struct ifmap’
/usr/include/linux/if.h:155: error: redefinition of ‘struct ifreq’
/usr/include/linux/if.h:205: error: redefinition of ‘struct ifconf’

Welche Kernel-header sind installiert und welcher Kernel?
 
1. Weil Conky nicht für Suse angeboten wird!

Linux version 2.6.22.5-31-default (geeko@buildhost) (gcc version 4.2.1 (SUSE Linux)) #1 SMP 2007/09/21 22:29:00 UTC
Kernel-Default: 2.6.22.5-31
Kernel-source: 2.6.22.5-31
kernel-headers:2.6.22-19
Und es gibt keine neueren header!
 
1. Weil Conky nicht für Suse angeboten wird!

Code:
webpin -d 10.3 conky
   4 results (2 packages) found for "conky" in openSUSE_103
* conky: A light-weight system monitor
   - 1.4.9 [BS::home:/prusnak]
   - 1.5.0 [BS::server:/monitoring]
   - 1.5.1_pre01052 [BS::home:/express2007]
* conky-debuginfo: Debug information for package conky
   - 1.5.0 [BS::server:/monitoring]

webpin -d 10.2 conky
   5 results (2 packages) found for "conky" in openSUSE_102
* conky: Lightweight System Monitor
   - 1.4.2 [guru]
   - 1.4.5 [guru]
   - 1.4.9 [BS::home:/prusnak]
   - 1.5.0 [BS::server:/monitoring]
* conky-debuginfo: Debug information for package conky
   - 1.5.0 [BS::server:/monitoring]

Hm, dabei hatte ich doch gar kein 'modprobe fata_morgana' ausgeführt.
 
@Rain_Maker

und wo finde ich diese Pakete?
Ich hab ein 64 Bit System!

unter rpmseek.com gibts nix und in meinen eingetragenen Quellen auch nicht!
Welche Quelle muss ich da noch hinzufügen?
 
Vielleicht solltest Du Dich mal mit den Grundlagen des Paketmanagement befassen, denn anstatt als root (das ist schonmal Todsünde Nummer eins, wer als root baut, ist selbst schuld!) von Hand rumzufrickeln, könnte man die Zeit vielleicht in das Einrichten seines Paketmanagers investieren.

Nicht mal die Online-Updates sind da aktiviert.

Weils gerade so frisch ist:

http://www.unixboard.de/vb3/showthread.php?t=36762

Und vor allem die Links darin.

Und als Nachschlag.

http://www.pc-forum24.de/linux-howtos/2301-pakete-installieren-fuer-newbies-linux-way-do.html

(Als Bonus wirst Du in den Anleitungen auch einen Hinweis finden, wo/wie man openSUSE-Pakete am besten sucht)
 
Zuletzt bearbeitet von einem Moderator:
Jans-Computer:/proc # zypper lr
# | Aktiviert | Aktualisieren | Typ | Alias
| Name

--+-----------+---------------+--------+----------------------------------------
---------------------------+----------------------------------------------------
-------
1 | Ja | Nein | yast2 | openSUSE-10.3-DVD 10.3
| openSUSE-10.3-DVD 10.3

2 | Ja | Ja | rpm-md | 10.3 - VideoLan
| 10.3 - VideoLan
3 | Ja | Ja | yast2 | http://download.opensuse.org/repositori es/openSUSE:10.3/standard/ | Haupt-Repository (Opensource Software - OSS)
4 | Ja | Ja | rpm-md | Packman | Packman
5 | Ja | Ja | NONE | http://download.opensuse.org/distributi on/10.3/repo/debug/ | http://download.opensuse.org/distribution/10.3/repo /debug/
6 | Ja | Ja | yast2 | gwdg | gwdg
7 | Ja | Ja | yast2 | http://download.opensuse.org/distributi on/10.3/repo/non-oss/ | Haupt-Repository (Nicht-OSS)
8 | Ja | Ja | yast2 | gwdg_non-oss | gwdg non-oss
9 | Ja | Ja | rpm-md | Nvidia | Nvidia
Und diesen Thread hab ich mir schon mal angeschaut ;)

Und wieso wird bei gwdg keine Adresse angezeigt?
 
Und diesen Thread hab ich mir schon mal angeschaut ;)

Aber scheinbar nicht gründlich.

Und wieso wird bei gwdg keine Adresse angezeigt?

Keine Ahnung, aber ist eh wurscht da eh eine Dublette des non-oss Repositories 7. Und die 6 wirfst Du auch gleich raus.

Und wozu brauchst Du bitteschön das "debug"-Repository?

Lies Dir die Links noch (?) einmal in Ruhe und gründlich durch.
 
Zuletzt bearbeitet von einem Moderator:
jan@Jans-Computer:/> zypper lr
# | Aktiviert | Aktualisieren | Typ | Alias | Name
--+-----------+---------------+--------+-------------------------------------------------------------------+---------------------------------------------
1 | Ja | Nein | yast2 | openSUSE-10.3-DVD 10.3 | openSUSE-10.3-DVD 10.3
2 | Ja | Ja | rpm-md | 10.3 - VideoLan | 10.3 - VideoLan
3 | Nein | Ja | yast2 | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | Haupt-Repository (Opensource Software - OSS)
4 | Ja | Ja | rpm-md | Packman | Packman
5 | Ja | Ja | yast2 | gwdg | gwdg
6 | Nein | Ja | yast2 | http://download.opensuse.org/distribution/10.3/repo/non-oss/ | Haupt-Repository (Nicht-OSS)
7 | Ja | Ja | yast2 | gwdg_non-oss | gwdg non-oss
8 | Ja | Ja | rpm-md | Nvidia | Nvidia
Besser so?

Jetzt hab ich auch conky installiert, nur die Config Datei ist nicht vorhanden (weder im /home noch im /usr/share/doc/)
Wo bekomme ich die?
Edit:// gefunden /etc/conky/
 

Ähnliche Themen

Installation von monitord unter Debian wheezy

Firefox 3.5 kompilieren

NagiosGrapher 1.7.1 funktioniert nicht

tilp lässt sich nicht installieren

XFCE freezes at startup

Zurück
Oben