Pagina 1 di 2

Come Installare Conky? (RISOLTO)

Inviato: lun 22 giu 2009, 10:31
da Slhackagn
Salve a tutti, essendo un niubbone appena arrivato da Ubuntu, sto ancora facendo pratica con la mia Slackware 12.0.
Ho visto da un mio amico Conky, e piaciutami ho voluto installarlo pure io. Credendo che fosse facile installarlo come i pacchetti .deb di Ubuntu, non mi sono ancora fatto spiegare.
Sono andato nel sito di Conky, e mi sono scaricato la 1.7.1.1.
Leggendo e interpretando il file di Installazione, tramite terminale sono entrato nella directory che ho scricato e da root ho lanciato un ./configure che però mi ha dato il seguente errore:

Codice: Seleziona tutto

bash-3.1# ./configure
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for a BSD-compatible install... /bin/ginstall -c
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for LUA... no
checking for LUA51... no
checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met:

No package 'lua5.1' 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 LUA51_CFLAGS
and LUA51_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

bash-3.1# 


Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 11:05
da Toni

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 11:26
da tigerwalk
DOPO aver seguito il consiglio di Toni, installa slackyd , aggiornalo con il comando
slackyd -u
e scarica i pacchetti e le relative dipendenze (in automatico) usando tale programma.

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 12:01
da Blizzard
Offtopic: Io avrei optato per una 12.2, stabilissima con diverse correzioni e riconoscimenti di periferiche (ad esempio il mio dongle wireless) e con il repository slacky aggiornato (Slackware non ha i deb ma i tgz. La differenza principale lato utente è che i tgz non tracciano le dipendenze tra i pacchetti, cosa che fa l'ottimo tool "made in Slacky" slackyd)

Gio

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 12:03
da metrofox
Scarica le conky da slacky.eu che stanno alla versione:

Codice: Seleziona tutto

conky-1.7.1.1-i486-1sl.tgz

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 13:28
da Slhackagn
Grazie intanto per le risposte.
Per Slackyd: per installarlo ho lanciato da terminale, sempre dopo essere entrato nella directory che lo conteneva nel mio utente un installpkg, perchè ho notato che terminava in .tgz. Risultato:
Cannot install ...tgz: pakage does not end in .tgz

Cos'è che ho fatto che non mi può installare questo pacchetto? In fondo finisce in .tgz!! :evil:

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 13:58
da metrofox
Scusa, ma come nome di pacchetto da installare hai messo "..."? :oops:

Codice: Seleziona tutto

slackyd -U
slackyd -i conky
È da tanto che non uso slackyd, dovrebbe essere così la sintassi d'installazione, comunque:

Codice: Seleziona tutto

man slackyd
slackyd --help
Al massimo te lo scarichi e lo installi con installpkg e tagliamo la testa al toro...

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 18:15
da Slhackagn
Scusate ma slackyd non era un programma?????????

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 18:28
da metrofox
Bhè si, e allora? :-k Chi ha detto il contrario?

Re: Come Installare Conky?

Inviato: lun 22 giu 2009, 19:20
da danix
la via più lunga (ma più proficua):

Codice: Seleziona tutto

$ cd /home/tuo_utente
$ mkdir install
$ cd install
$ wget http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/utilities/slackyd/0.1.12beta/slackyd-0.1.12beta-i486-2mch.tgz
$ su
[inserisci la password di root e premi INVIO]
# installpkg slackyd-0.1.12beta-i486-2mch.tgz
[modifichi il file /etc/slackyd/slackyd.conf come ti pare :) ]
# slackyd -u
# slackyd -g conky

Searching conky: found 1 package.

conky-1.7.0-i486-1sl.tgz [from slacky]

Download conky-1.7.0-i486-1sl.tgz [from slacky] ? [y/N]
[premi "y" e poi INVIO, aspetti che finisca di scaricare]
# installpkg /var/slackyd/conky-1.7.0-i486-1sl.tgz
# exit
$ exit
La via più breve :) :

Codice: Seleziona tutto

$ cd /home/tuo_utente
$ mkdir install
$ cd install
$ wget http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/desktop/conky/1.7.1.1/conky-1.7.1.1-i486-1sl.tgz
$ su
[inserisci la password di root e premi INVIO]
# installpkg conky-1.7.1.1-i486-1sl.tgz
# exit
$ exit

Re: Come Installare Conky?

Inviato: mar 23 giu 2009, 18:12
da Slhackagn
danix, Grazie mille!!!
Allora slackyd l'ho installato, però per sto conky ancora no..............

Negli ultimi passaggi, anzi nell'ultimo mi da:

Codice: Seleziona tutto

root@darkstar:/home/bubble/install# installpkg /var/slackyd/conky-1.7.0-i486-1sl.tgz
Cannot install /var/slackyd/conky-1.7.0-i486-1sl.tgz: package does not end in .tgz
root@darkstar:/home/bubble/install#  

Re: Come Installare Conky?

Inviato: mar 23 giu 2009, 19:14
da metrofox
Sicuro che sia stato scaricato bene? :-k Fai così(da root ovviamente):

Codice: Seleziona tutto

installpkg /var/slackyd/conky-1.7.0-i486-1sl*
In caso non continui a funzionare, questo è l'MD5 di conky-1.7.1.1-i486-1sl.tgz:

Codice: Seleziona tutto

e96a551293cfd0963f6c65f3c8add69d
Confrontalo col tuo:

Codice: Seleziona tutto

md5sum -b /var/slackyd/conky-1.7.0-i486-1sl.tgz
Per il resto...Ciao.

Re: Come Installare Conky?

Inviato: mer 24 giu 2009, 9:31
da danix
@metrofox:
non gli serve l'md5 di conky 1.7.1 visto che lui sta scaricando e installando la 1.7.0 :D

@Slhackagn:
prova a cambiare mirror, oppure dai:

Codice: Seleziona tutto

$ slackyd -p
per ripulire la directory di slackyd, e poi prova di nuovo a scaricare conky... magari c'è stato un problema durante il download, comunque se fai caso, slackyd confronta l'md5 appena finisce il download, quindi ti puoi accorgere se il file scaricato è integro o meno...

un'ultima cosa, più che altro una mia curiosità :), hai messo i mirror per la 12.0 in slackyd, si??

Re: Come Installare Conky?

Inviato: mer 24 giu 2009, 10:51
da Slhackagn
Mi ricordo che quando ho finito di digitare il comando per installare conky, mi ha domandato di installare una marea di roba, o almeno di scaricarla.... Non so se potrebbe essere per questo...Forse perchè io ho slackware 12.0.???

comunque ecco cos'è che mi chiede:

Codice: Seleziona tutto

bash-3.1# slackyd -g conky

Searching conky: found 1 package.

conky-1.7.1.1-i486-1sl.tgz [from slacky]

Download conky-1.7.1.1-i486-1sl.tgz [from slacky] ? [y/N] y
>> Required alsa-lib >= 1.0.17a [by conky-1.7.1.1-i486-1sl.tgz]
Download alsa-lib-1.0.17a-i486-1.tgz [from slackware] ? [y/N] y
>> Required atk >= 1.23.5 [by conky-1.7.1.1-i486-1sl.tgz]
Download atk-1.23.5-i486-1.tgz [from slackware] ? [y/N] y
>> Required audacious >= 1.5.1 [by conky-1.7.1.1-i486-1sl.tgz]
Download audacious-1.5.1-i486-2.tgz [from slackware] ? [y/N] y
>> Required cairo >= 1.6.4 [by conky-1.7.1.1-i486-1sl.tgz]
Download cairo-1.6.4-i486-1.tgz [from slackware] ? [y/N] y
>> Required curl >= 7.19.4 [by conky-1.7.1.1-i486-1sl.tgz]
Download curl-7.19.4-i486-1_slack12.2.tgz [security fix from slackware] ? [y/N] y
>> Required cyrus-sasl >= 2.1.23 [by conky-1.7.1.1-i486-1sl.tgz]
Found 2 different packages:
  --> cyrus-sasl-2.1.23-i486-1_slack12.2.tgz [security fix from slackware]
  --> cyrus-sasl-2.1.23-i486-1cf.tgz [from slacky]
Download cyrus-sasl-2.1.23-i486-1_slack12.2.tgz [security fix from slackware] ? [y/N] y
>> Required dbus >= 1.2.6 [by conky-1.7.1.1-i486-1sl.tgz]
Download dbus-1.2.6-i486-1.tgz [from slackware] ? [y/N] y
>> Required dbus-glib >= 0.78 [by conky-1.7.1.1-i486-1sl.tgz]
Download dbus-glib-0.78-i486-1.tgz [from slackware] ? [y/N] y
>> Required fontconfig >= 2.6.0 [by conky-1.7.1.1-i486-1sl.tgz]
Download fontconfig-2.6.0-i486-2.tgz [from slackware] ? [y/N] y
>> Required freetype >= 2.3.7 [by conky-1.7.1.1-i486-1sl.tgz]
Found 2 different packages:
  --> freetype-2.3.7-i486-1.tgz [from slackware]
  --> freetype-2.3.7-i486-warzone2100.tgz [from slacky]
Download freetype-2.3.7-i486-1.tgz [from slackware] ? [y/N] y
>> Required glib2 >= 2.16.6 [by conky-1.7.1.1-i486-1sl.tgz]
Found 2 different packages:
  --> glib2-2.16.6-i486-2_slack12.2.tgz [security fix from slackware]
  --> glib2-2.16.6-i486-1.tgz [from slackware]
Download glib2-2.16.6-i486-2_slack12.2.tgz [security fix from slackware] ? [y/N] y
>> Required glibc-solibs >= 2.7 [by conky-1.7.1.1-i486-1sl.tgz]
Download glibc-solibs-2.7-i486-17.tgz [from slackware] ? [y/N] y
>> Required gtk+2 >= 2.12.12 [by conky-1.7.1.1-i486-1sl.tgz]
Download gtk+2-2.12.12-i486-1.tgz [from slackware] ? [y/N] y
>> Required libX11 >= 1.1.5 [by conky-1.7.1.1-i486-1sl.tgz]
Download libX11-1.1.5-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXau >= 1.0.4 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXau-1.0.4-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXcomposite >= 0.4.0 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXcomposite-0.4.0-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXcursor >= 1.1.9 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXcursor-1.1.9-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXext >= 1.0.4 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXext-1.0.4-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXft >= 2.1.13 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXft-2.1.13-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXi >= 1.1.3 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXi-1.1.3-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXinerama >= 1.0.3 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXinerama-1.0.3-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXrandr >= 1.2.3 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXrandr-1.2.3-i486-1.tgz [from slackware] ? [y/N] y
>> Required libXrender >= 0.9.4 [by conky-1.7.1.1-i486-1sl.tgz]
Download libXrender-0.9.4-i486-1.tgz [from slackware] ? [y/N] y
>> Required libidn >= 1.5 [by conky-1.7.1.1-i486-1sl.tgz]
Download libidn-1.5-i486-1.tgz [from slackware] ? [y/N] y
>> Required libmcs >= 0.7.0 [by conky-1.7.1.1-i486-1sl.tgz]
Download libmcs-0.7.0-i486-1.tgz [from slackware] ? [y/N] y
>> Required libmowgli >= 0.6.0 [by conky-1.7.1.1-i486-1sl.tgz]
Found 2 different packages:
  --> libmowgli-0.7.0-i486-1sm.tgz [from slacky]
  --> libmowgli-0.6.0-i486-1.tgz [from slackware]
Download libmowgli-0.7.0-i486-1sm.tgz [from slacky] ? [y/N] y
>> Required libpng >= 1.2.35 [by conky-1.7.1.1-i486-1sl.tgz]
Download libpng-1.2.37-i486-1_slack12.2.tgz [security fix from slackware] ? [y/N] y
>> Required libxcb >= 1.1 [by conky-1.7.1.1-i486-1sl.tgz]
Download libxcb-1.1-i486-1.tgz [from slackware] ? [y/N] y
>> Required libxml2 >= 2.6.32 [by conky-1.7.1.1-i486-1sl.tgz]
Download libxml2-2.6.32-i486-2.tgz [from slackware] ? [y/N] y
>> Required lua >= 5.1.4 [by conky-1.7.1.1-i486-1sl.tgz]
Download lua-5.1.4-i486-3as.tgz [from slacky] ? [y/N] y
>> Required openldap-client >= 2.3.43 [by conky-1.7.1.1-i486-1sl.tgz]
Found 2 different packages:
  --> openldap-client-2.3.43-i486-2as.tgz [from slacky]
  --> openldap-client-2.3.43-i486-1.tgz [from slackware]
Download openldap-client-2.3.43-i486-2as.tgz [from slacky] ? [y/N] y
>> Required openssl >= 0.9.8i [by openldap-client-2.3.43-i486-2as.tgz]
Found 2 different packages:
  --> openssl-0.9.8i-i486-3_slack12.2.tgz [security fix from slackware]
  --> openssl-0.9.8i-i486-1.tgz [from slackware]
Download openssl-0.9.8i-i486-3_slack12.2.tgz [security fix from slackware] ? [y/N] y
>> Required openssl-solibs >= 0.9.8i [by openldap-client-2.3.43-i486-2as.tgz]
Found 2 different packages:
  --> openssl-solibs-0.9.8i-i486-3_slack12.2.tgz [security fix from slackware]
  --> openssl-solibs-0.9.8i-i486-1.tgz [from slackware]
Download openssl-solibs-0.9.8i-i486-3_slack12.2.tgz [security fix from slackware] ? [y/N] y
>> Required pango >= 1.20.5 [by conky-1.7.1.1-i486-1sl.tgz]
Download pango-1.20.5-i486-1.tgz [from slackware] ? [y/N] y
>> Required pixman >= 0.12.0 [by conky-1.7.1.1-i486-1sl.tgz]
Download pixman-0.12.0-i486-1.tgz [from slackware] ? [y/N] y

Downloading alsa-lib-1.0.17a-i486-1.tgz. [100 % @ 263.1 KB/s]         
* Verify md5 checksum: ok.
Downloading atk-1.23.5-i486-1.tgz. [100 % @ 210.5 KB/s]         
* Verify md5 checksum: ok.
Downloading audacious-1.5.1-i486-2.tgz. [100 % @ 341.4 KB/s]         
* Verify md5 checksum: ok.
Downloading cairo-1.6.4-i486-1.tgz. [100 % @ 197.2 KB/s]         
* Verify md5 checksum: ok.
Downloading curl-7.19.4-i486-1_slack12.2.tgz. [100 % @ 354.6 KB/s]         
* Verify md5 checksum: ok.
                                                                                Downloading cyrus-sasl-2.1.23-i486-1_slack12.2.tgz. [100 % @ 255.9 KB/s]    
* Verify md5 checksum: ok.
Downloading dbus-1.2.6-i486-1.tgz. [100 % @ 196.1 KB/s]         
* Verify md5 checksum: ok.
Downloading dbus-glib-0.78-i486-1.tgz. [100 % @ 92.9 KB/s]          
* Verify md5 checksum: ok.
Downloading fontconfig-2.6.0-i486-2.tgz. [100 % @ 223.4 KB/s]         
* Verify md5 checksum: ok.
Downloading freetype-2.3.7-i486-1.tgz. [100 % @ 317.4 KB/s]         
* Verify md5 checksum: ok.
Downloading glib2-2.16.6-i486-2_slack12.2.tgz. [100 % @ 447.0 KB/s]         
* Verify md5 checksum: ok.
Downloading glibc-solibs-2.7-i486-17.tgz. [100 % @ 574.0 KB/s]         
* Verify md5 checksum: ok.
Downloading gtk+2-2.12.12-i486-1.tgz. [100 % @ 707.5 KB/s]         
* Verify md5 checksum: ok.
Downloading libX11-1.1.5-i486-1.tgz. [100 % @ 616.1 KB/s]         
* Verify md5 checksum: ok.
Downloading libXau-1.0.4-i486-1.tgz. [100 % @ 9.1 KB/s]           
* Verify md5 checksum: ok.
Downloading libXcomposite-0.4.0-i486-1.tgz. [100 % @ 8.3 KB/s]           
* Verify md5 checksum: ok.
Downloading libXcursor-1.1.9-i486-1.tgz. [100 % @ 62.8 KB/s]          
* Verify md5 checksum: ok.
Downloading libXext-1.0.4-i486-1.tgz. [100 % @ 85.3 KB/s]          
* Verify md5 checksum: ok.
Downloading libXft-2.1.13-i486-1.tgz. [100 % @ 38.6 KB/s]          
* Verify md5 checksum: ok.
Downloading libXi-1.1.3-i486-1.tgz. [100 % @ 105.9 KB/s]         
* Verify md5 checksum: ok.
Downloading libXinerama-1.0.3-i486-1.tgz. [100 % @ 9.2 KB/s]           
* Verify md5 checksum: ok.
Downloading libXrandr-1.2.3-i486-1.tgz. [100 % @ 22.5 KB/s]          
* Verify md5 checksum: ok.
Downloading libXrender-0.9.4-i486-1.tgz. [100 % @ 16.8 KB/s]          
* Verify md5 checksum: ok.
Downloading libidn-1.5-i486-1.tgz. [100 % @ 381.6 KB/s]         
* Verify md5 checksum: ok.
Downloading libmcs-0.7.0-i486-1.tgz. [100 % @ 71.6 KB/s]          
* Verify md5 checksum: ok.
Downloading libmowgli-0.7.0-i486-1sm.tgz. [100 % @ 32.9 KB/s]    
* Verify md5 checksum: ok.
Downloading libpng-1.2.37-i486-1_slack12.2.tgz. [100 % @ 424.5 KB/s]         
* Verify md5 checksum: ok.
Downloading libxcb-1.1-i486-1.tgz. [100 % @ 286.4 KB/s]         
* Verify md5 checksum: ok.
Downloading libxml2-2.6.32-i486-2.tgz. [100 % @ 507.6 KB/s]         
* Verify md5 checksum: ok.
Downloading lua-5.1.4-i486-3as.tgz. [100 % @ 154.6 KB/s]    
* Verify md5 checksum: ok.
Downloading openldap-client-2.3.43-i486-2as.tgz. [100 % @ 323.5 KB/s]    
* Verify md5 checksum: ok.
Downloading openssl-0.9.8i-i486-3_slack12.2.tgz. [100 % @ 411.6 KB/s]         
* Verify md5 checksum: ok.
Downloading openssl-solibs-0.9.8i-i486-3_slack12.2.tgz. [Starting ftp transactio                                                                                Downloading openssl-solibs-0.9.8i-i486-3_slack12.2.tgz. [100 % @ 141.0 KB/s]    
* Verify md5 checksum: ok.
Downloading pango-1.20.5-i486-1.tgz. [100 % @ 188.6 KB/s]         
* Verify md5 checksum: ok.
Downloading pixman-0.12.0-i486-1.tgz. [100 % @ 79.9 KB/s]          
* Verify md5 checksum: ok.
Downloading conky-1.7.1.1-i486-1sl.tgz. [100 % @ 113.4 KB/s]    
* Verify md5 checksum: ok.

bash-3.1# 

Il tutto da root.
@metrofox

Codice: Seleziona tutto

bash-3.1# md5sum -b /var/slackyd/conky-1.7.0-i486-1sl.tgz
md5sum: /var/slackyd/conky-1.7.0-i486-1sl.tgz: No such file or directory
....

Re: Come Installare Conky?

Inviato: mer 24 giu 2009, 11:09
da metrofox
Può essere visto che richiede dipendenze più aggiornate...
@metrofox:
non gli serve l'md5 di conky 1.7.1 visto che lui sta scaricando e installando la 1.7.0
Hai ragione, che sbatato :D