Pages : 1
#1 Le 21/08/2005, à 17:59
- [R]
erreur compilcation conky
bonjour,
j'essaie de compiler conky dont il est question ici : http://forum.ubuntu-fr.org/viewtopic.php?pid=47908
J'ai ce message d'erreur en fin de compilation :
configure: error: something went wrong when checking for procps, you're probably missing the necessary headers.
Le packet procps est pourtant installé (version 1:3.2.4-1), et je ne trouve pas trace d'un packet procps-dev dans Synaptic.
Merci pour votre aide.
edit : une piste : dans ce sujet, un utilisateur indique
i removed the checks for readproc.h and procps.h from the configure script and also removed the includes from linux.c
to get it compile
Si quelqu'un peut me dire comment faire, je suis preneur.
Dernière modification par [R] (Le 21/08/2005, à 18:33)
Hors ligne
#2 Le 21/08/2005, à 22:03
- Leto2
Re : erreur compilcation conky
La méthode qui marche chez moi :
- télécharger http://procps.sourceforge.net/procps-3.2.5.tar.gz
- copier les fichiers proc/*.h de l'archive dans /usr/include/proc (en fait les 3 fichiers : procps.h, pwcache.h et readproc.h suffisent chez moi).
- relancer le configure
et là ça roule.
avec le configure suivant :
./configure --enable-xft --enable-own-window --enable-double-buffer --enable-proc-uptime --enable-mpd --enable-mldonkey
Dernière modification par Leto2 (Le 21/08/2005, à 22:03)
Hors ligne
#3 Le 23/05/2007, à 18:41
- Astier
Re : erreur compilcation conky
Une question aux compilateurs de conky : quelles options faut-il mettre au moment du ./configure pour que conky tourne bien avec Beryl ?
J'ai regardé dans la doc mais je m'y perds un peu : il faut ajouter des --enable....... pour quoi au juste ? Pour tout ce qu'on appelle dans son .conkyrc ? Si ça peut aider dans vos réponses voici mon .conkyrc :
# set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
override_utf8_locale yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 8x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
#font -*-luxi sans-medium-r-normal-*-13-*-*-*-*-*-iso8859-2
#font -*-helvetica-medium-r-normal-*-12-*-100-100-*-*-iso8859-2
#font -*-lucidatypewriter-medium-r-*-*-14-*-100-100-*-*-iso8895-2
#font -*-courier-medium-r-normal-*-14-*-100-100-*-*-iso8859-2
#font -*-lucida-medium-r-normal-*-13-*-*-*-*-*-iso8859-2
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont monospace-8
xftfont Sans -8.5
# Text alpha when using Xft
xftalpha 0.8
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
#own_window_colour black
own_window yes
own_window_type override
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 5 5
maximum_width 217
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 0
# drawn 1 pixel border around graphs or not
draw_graph_borders yes
# Default colors and also border colors
default_color black
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and text
gap_x 5
gap_y 5 #margines gorny
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# 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
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fĂ?ÂŞz o portuguĂ?ÂŞs
# stuff after 'TEXT' will be formatted on screen
TEXT
${font Verdana:size=11}$alignc${color #DBAA82}${Time %d %B %Y} - ${color #FFFB00}${time %H:%M:%S}${font Sans:size=8.5}
${color #FF000C}Moniteur Systeme : ${color #DBAA82}${stippled_hr}
${color #DBAA82}$sysname : ${color #565868}$kernel ${color #DBAA82}on ${color #565868}$machine
${color #DBAA82}Uptime : ${color #B6A291}$uptime | ${color #DBAA82}Temp : ${color #B6A291}${acpitemp}°C
${color #DBAA82}Adaptateur : ${color #FFFB00}${acpiacadapter}
${color #DBAA82}Autonomie : ${color #FFFB00}${battery BAT1} ${battery_time BAT1}
${color #DBAA82}cpu: ${color #FFFB00}${cpu}% ${color #344299}$cpubar
${color #FFFFFF}${cpugraph DBAA82 344299}
${color #DBAA82}ram : ${color #3652FF}$mem ${color #DBAA82}/ $memmax - ${color #FFFB00}$memperc% ${color #344299}$membar
${color #DBAA82}swap : ${color #3652FF}$swap ${color #DBAA82}/ $swapmax - ${color #FFFB00}$swapperc% ${color #344299}$swapbar
${color #FFFB00}.: ${top name 1}
${color #DBAA82}PID: ${color #FFFB00}${top pid 1} ${color #DBAA82}%cpu : ${color #FFFB00}${top cpu 1}
${color #565868}.: ${top name 2}
${color #DBAA82}PID: ${color #3652FF}${top pid 2} ${color #DBAA82}%cpu : ${color #344299}${top cpu 2}
${color #565868}.: ${top name 3}
${color #DBAA82}PID: ${color #3652FF}${top pid 3} ${color #DBAA82}%cpu : ${color #344299}${top cpu 3}
${color #FF000C}Disques : ${color #DBAA82}${stippled_hr}
${color #DBAA82}/ : ${color #3652FF}${fs_used /} ${color #DBAA82}/ ${fs_size /} (${color #FFFB00}${fs_free_perc /}% ${color #DBAA82}free)
${color #344299}${fs_bar /}
${color #DBAA82}/home : ${color #3652FF}${fs_used /home} ${color #DBAA82}/ ${fs_size /home} (${color #FFFB00}${fs_free_perc /home}% ${color #DBAA82}free)
${color #344299}${fs_bar /home}
${color #FF000C}Réseau : ${color #DBAA82}${stippled_hr}
${color #DBAA82}down: ${color #FFFB00}${downspeedf eth1} k/s ${color #DBAA82}up: ${color #FFFB00}${upspeedf eth1} k/s
${color #FFFFFF}${downspeedgraph eth1 25,100 DBAA82 344299} ${color #FFFFFF}${upspeedgraph eth1 25,100 344299 DBAA82}
${color #FF000C}Anniversaires : ${color #DBAA82}${stippled_hr}
${color #DBAA82}${execi 1800 birthday}
${color #FF000C}Musique : ${color #DBAA82}${stippled_hr}
$alignc${color #FFFB00}${gmb_title}
$alignc${color #DBAA82}${gmb_artist}
$alignc${color #DBAA82}${gmb_album}
$alignc${color #DBAA82}${mpd_elapsed} / ${mpd_length} (${mpd_percent}%)
${color #3652FF}${gmb_bar (20),(100)}
Pour ceux que ça intéresse, Quentin Sculo a écrit un patch pour conky pour afficher la piste lue par gmusicbrowser (http://squentin.free.fr/gmusicbrowser/gmusicbrowser.html) dans conky : http://sourceforge.net/forum/forum.php
Merci beaucoup et à bientôt
PS : Je poste également ici : http://forum.ubuntu-fr.org/edit.php?id=945069
Hors ligne