Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
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:
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#
Ultima modifica di Slhackagn il mer 24 giu 2009, 20:26, modificato 1 volta in totale.
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.
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)
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!!
$ 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
$ 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
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#
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??
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.???