Pagina 1 di 1

Abbellire amsn,problemi di ricompilazione

Inviato: gio 28 giu 2007, 17:49
da mordecai
Ciao a tutti!HO visto nel wiki che è possibile ricompilare amsn e cosi ho seguito la guida passo passo,senza sbagliare niente!

Quando vado per ricompilare amsn col seguente comando:

Codice: Seleziona tutto

./configure --with-tcl=/usr/bin
Ricevo il seguente output:

Codice: Seleziona tutto

bash-3.1# ./configure --with-tcl=/usr/bin
checking for prefix by checking for wish... /usr/bin/wish
which: no tclsh in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
expr: syntax error
./configure: line 1476: test: too many arguments
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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... using tcl library in /usr/bin
./configure: line 2893: /usr/bin/tclConfig.sh: No such file or directory
Qualcuno saprebbe aiutarmi?Anche perchè non posso usare amsn in queste condizioni! :cry:

Inviato: gio 28 giu 2007, 18:17
da JohnnyMnemonic
configure cerca tclConfig.sh in /usr/bin quando invece (almeno da me) è in /usr/lib

Hai ricompilato anche tcl e tk? prova a specificare dove trovare tclConfig.sh o, alla peggio, fai un link simbolico in /usr/bin

EDIT
mi correggo, fai prima a fare

Codice: Seleziona tutto

 ./configure --with-tcl=/usr/lib

Inviato: gio 28 giu 2007, 18:33
da mordecai
Per ora ho rimesso amsn normale,comunque dopo provo pure questa opzione e vi faccio sapere!Grazie Johnny! ;)

Inviato: gio 28 giu 2007, 19:32
da Zeros
JohnnyMnemonic ha scritto:

Codice: Seleziona tutto

 ./configure --with-tcl=/usr/lib

Io ho risolto così, anche perche cercando tclConfig.sh lo trovi all'interno di /usr/lib.
Ho mandato pure un messaggio a Opl15, per chiedergli se era corretto o meno.

Inviato: gio 28 giu 2007, 20:30
da nicop
prova questa versione ....

viewtopic.php?t=19395

ciao!

Inviato: gio 28 giu 2007, 23:58
da mimmoforlug
Su Slackware 11, si può ottenere un aMsn all'ultimo grido con messaggi offline, antialiasing, messaggi vocali ed emoticons (animazioni flash), installando tutti i programmi occorrenti in una sola directory (diciamo /usr/local/amsn) che si protrà poi rimuovere in blocco per disinstallare il tutto. Naturalmente sara possibile conservare la vecchia versione (stabile amsn 0.96). Dopo aver scaricato tutti i pacchetti dei sorgenti più aggiornati (SVN Snapshot tutti in una unica directory), basta compilare ed installare con i comandi:


#Compilare Tcl
cd tcl
cd unix
./configure --prefix=/usr/local/amsn --includedir=/usr/local/amsn/include/tcl8.5 --enable-shared --enable-threads --mandir=/usr/local/amsn/share/man --enable-man-symlinks --enable-man-compression=gzip

make
su
make install

#Compilare Tk
cd ..
cd ..
cd tk
cd unix
./configure --prefix=/usr/local/amsn --includedir=/usr/local/amsn/include/tcl8.5 --with-tcl=/usr/local/amsn/lib --enable-shared --enable-threads --enable-man-symlinks --enable-man-compression=gzip --enable-xft

make
su
make install

#Compilare Snack
cd ..
cd ..
cd Snack
cd unix
./configure --enable-alsa --with-tcl=/usr/local/amsn/lib --with-tk=/usr/local/amsn/lib
make
cp libsound.so /usr/local/amsn/lib/
cp libsnack.so /usr/local/amsn/lib/
cp libsnackstub2.2.a /usr/local/amsn/lib/
cp snack.tcl /usr/local/amsn/lib/
cp pkgIndex.tcl /usr/local/amsn/lib/


#Compilare aMsn
cd ..
cd ..
cd msn
./configure --with-tcl=/usr/local/amsn/lib --with-tk=/usr/local/amsn/lib --prefix=/usr/local/amsn
make
su
make install

Per far funzionare le emoticons (winks), come da istruzioni a corredo, flashplayer ed cabextract possono essere piazzati in /usr/loca/amsn/bin e configurati nel plugin winks

Per avviare aMsn bisognerà utilizzare il comando:

/usr/local/amsn/bin/wish8.5 /usr/local/amsn/bin/amsn

Spero sia utile. La mia installazione non ha mai avuto crash ed ho sperimentato tutto, compreso webcam e messaggi vocali, più di una volta su più di un sistema. Inoltre non serve tile e tileqt.

Inviato: ven 29 giu 2007, 11:50
da nicop
mimmoforlug ha scritto:Su Slackware 11, si può ottenere un aMsn all'ultimo grido con messaggi offline, antialiasing, messaggi vocali ed emoticons (animazioni flash), installando tutti i programmi occorrenti in una sola directory (diciamo /usr/local/amsn) che si protrà poi rimuovere in blocco per disinstallare il tutto. Naturalmente sara possibile conservare la vecchia versione (stabile amsn 0.96). Dopo aver scaricato tutti i pacchetti dei sorgenti più aggiornati (SVN Snapshot tutti in una unica directory), basta compilare ed installare con i comandi:


#Compilare Tcl
cd tcl
cd unix
./configure --prefix=/usr/local/amsn --includedir=/usr/local/amsn/include/tcl8.5 --enable-shared --enable-threads --mandir=/usr/local/amsn/share/man --enable-man-symlinks --enable-man-compression=gzip

make
su
make install

#Compilare Tk
cd ..
cd ..
cd tk
cd unix
./configure --prefix=/usr/local/amsn --includedir=/usr/local/amsn/include/tcl8.5 --with-tcl=/usr/local/amsn/lib --enable-shared --enable-threads --enable-man-symlinks --enable-man-compression=gzip --enable-xft

make
su
make install

#Compilare Snack
cd ..
cd ..
cd Snack
cd unix
./configure --enable-alsa --with-tcl=/usr/local/amsn/lib --with-tk=/usr/local/amsn/lib
make
cp libsound.so /usr/local/amsn/lib/
cp libsnack.so /usr/local/amsn/lib/
cp libsnackstub2.2.a /usr/local/amsn/lib/
cp snack.tcl /usr/local/amsn/lib/
cp pkgIndex.tcl /usr/local/amsn/lib/


#Compilare aMsn
cd ..
cd ..
cd msn
./configure --with-tcl=/usr/local/amsn/lib --with-tk=/usr/local/amsn/lib --prefix=/usr/local/amsn
make
su
make install

Per far funzionare le emoticons (winks), come da istruzioni a corredo, flashplayer ed cabextract possono essere piazzati in /usr/loca/amsn/bin e configurati nel plugin winks

Per avviare aMsn bisognerà utilizzare il comando:

/usr/local/amsn/bin/wish8.5 /usr/local/amsn/bin/amsn

Spero sia utile. La mia installazione non ha mai avuto crash ed ho sperimentato tutto, compreso webcam e messaggi vocali, più di una volta su più di un sistema. Inoltre non serve tile e tileqt.
in pratica è la stessa cosa che ha fatto gohanz e che a descritto nell'altro post...
p.s tile e tileqt servono per abilite lo stile qt in amsn....ciaoo

Inviato: ven 29 giu 2007, 12:07
da mordecai
Ma io ho Slackware 11 non la current.Forse è per questo che non riesco nell'installazione?
Io ho seguito il consiglio di johnny e mi da questo:

Codice: Seleziona tutto

bash-3.1# ./configure    --with-tcl=/usr/lib
checking for prefix by checking for wish... /usr/bin/wish
which: no tclsh in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
expr: syntax error
./configure: line 1476: test: too many arguments
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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... using tcl library in /usr/lib
checking tk build dir... using tk library in /usr/lib
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11/lib, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... grep -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 png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for strcasestr... yes
checking for memmem... yes
checking for dlopen... no
checking for pthread_create in -lpthread... yes
checking if mmx should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ./utils/linux/capture/config.h
config.status: ./utils/linux/capture/config.h is unchanged

compile time options summary
============================

    X11          : yes
    Tcl          : 8.5
    TK           : 8.5
    DEBUG        : no
    STATIC       : no

bash-3.1#  
È per via della slack 11?

Inviato: ven 29 giu 2007, 12:49
da JohnnyMnemonic
Che problema c'è? va tutto bene!

Ora non ti resta che dare make e make install !

Inviato: ven 29 giu 2007, 13:04
da mordecai
IL make non va :shock:

Inviato: ven 29 giu 2007, 13:21
da Zeros
Che errore ti dà?

Inviato: dom 1 lug 2007, 15:49
da mimmoforlug
Forse non mi sono spiegato bene:

La compilazione che ho proposto, seguendo l'howto sul sito di aMsn, non richiede tile perché ha gia un'aspetto molto carino grazie alle tcltk8.5 (tra l'altro si tratta della versione svn così come l'aMsn). Queste librerie non sono installate su Slackware 11 (come le tcl tk utilizzate nell'altro utilissimo thread a cui si è fatto riferimento). l'installazione può essere automatizzata con uno script di shell facilmente ricavabile da quanto ho scritto prima e può essere effettuata anche nella propria home-dir senza coinvolgere root per il make install (oppure in /usr/local come ho fatto io per renderla portabile). Essendo una versione in fase di sviluppo (svn), secondo me, questa è la soluzione preferibile rispetto a pacchetti tgz o alla sostituzione delle librerie tcl tk (che resteranno per tutti gli altri programmi quelle stabili della Slackware 11).

Per vedere il risultato:
http://gnulinux.altervista.org/