30

je viens de tout effacer, et de reprendre le processus de 0.
Et la, je suis certain, je n'ai oublié aucun make ni make install.
j'ai pu installer les 3 libs plus la SDL sans probleme.
mais qd je vais dans $HOME/lib, j'ai ces fichiers :
knoppix@ttyp0[bin]$ ll
total 12
-rwxr-xr-x    1 knoppix  knoppix      1618 May 25 16:24 sdl-config
-rwxr-xr-x    1 knoppix  knoppix       756 May 25 16:19 ticables-config
-rwxr-xr-x    1 knoppix  knoppix       753 May 25 16:21 tifiles-config

et la, il n'y a pas ticalcs-config...
Est-ce normal ?
je suppose que ticalcs-config devrait etre dans ce repertoire, au meme titre que les deux autres, non ?
(et plutot que de copier les fichier ****-config dans le repertoire de tiemu, est-ce qu'il ne vaudrait pas mieux que j'ajoute $HOME/bin au PATH ?)
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

31

Je pense qu'il faut que ta version de libticalcs est trop récente. Récupère une plus ancienne. Ça doit aussi être pour ça que tu as eu le problème avec IOM_DCB.

Mais si tu veux essayer un truc pas propre du tout, essaye:
ln -s libticalcs-4.so libticalcs.so
Avec un peu de chance, ça marche. smile
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

32

squale92
a écrit : (et plutot que de copier les fichier ****-config dans le repertoire de tiemu, est-ce qu'il ne vaudrait pas mieux que j'ajoute $HOME/bin au PATH ?)

Oui.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

33

Je pense qu'il faut que ta version de libticalcs est trop récente. Récupère une plus ancienne

ce n'est pas souvent que tu conseille de prendre une vieille version d'un programme grin
bon, je vais chercher une plus ancienne smile
Mais si tu veux essayer un truc pas propre du tout, essaye:
ln -s libticalcs-4.so libticalcs.so Avec un peu de chance, ça marche.

j'ai essayé un peu plus haut (en fait, en reponse a ton post precedent (mais j'ai oublié de le dire ici)), et ca n'avais pas marche...
mais, j'y pense, les erreurs qu'il m'avait sorti ne venaient pas de ticalcs... donc, je vais reessayer
(en fait, quand j'installe la SDL avant d'installer ticalcs, ca semble poser de sproblemes, on dirait... du moins, les deux fois ou j'ai installé SDL avant ticalcs, j'ai eu des trucs que je n'avais pas les autres fois, il me semble)
je tente ca. et si ca ne marche toujours pas, je tente avec une version plus ancienne de ticalcs.

#31> OK. je ferai donc comme ca. ca sera probablement plus rapide, et je risque moins de me planter grin
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

34

Kevin Kofler a écrit :
Je pense qu'il faut que ta version de libticalcs est trop récente. Récupère une plus ancienne.

Ou alors récupère une version plus récente de TiEmu: http://www.ticalc.org/archives/files/fileinfo/258/25888.html.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

35

Mais si tu veux une libticalcs plus ancienne (version 3.x.x), la 3.x.x la plus récente que j'ai trouvée est celle-là: http://ftp.debian.org/debian/pool/main/libt/libticalcs3/libticalcs3_3.3.5.orig.tar.gz.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

36

ergh.
j'ai rajoute mon repertoire bin au PATH, qui est a present ceci :
knoppix@ttyp0[bin]$ echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:.:/home/knoppix/bin


et dans ~/bin, j'ai ceci :
knoppix@ttyp0[bin]$ ll
total 12
-rwxr-xr-x 1 knoppix knoppix 1618 May 25 16:24 sdl-config
-rwxr-xr-x 1 knoppix knoppix 756 May 25 16:19 ticables-config -rwxr-xr-x 1 knoppix knoppix 753 May 25 16:21 tifiles-config


mais le ./configure de tiemu me sort ceci :
checking for ticables-config... yes
checking for tifiles-config... yes
checking for ticalcs-config... no

Error: cannot find ticables-config. Do you have libticables installed ?
You can download it from
<http://lpg.ticalc.org/prj_tilp/download-en.html> ...

arf, quoique... en reflechissant et en regardant la liste de "yes" et "no", il semble que le message soit faux...
et effectivement ticals-config n'est pas dans ~/bin...
Bon, il est dans le repertoire de ticalcs... je le copie dans bin, et le rend executable.

Bien, cette fois, le configure de tiemu a marche...
je lance le make
houla, il semblerai que le make se soit fait sans erreur...
je lance le make install
pareil, pas d'erreur, a priori...

Yeepe !
J'ai reussi a lancer tiemu...
(bon, par contre, il veut pas de ma ROM.... fodra que j'en trouve une autre)

Donc, en fait, a priori, pour resoudre le probleme, le ln a marché smile
Merci Kevin smile

(bon, je sens que je v rester comme ca aujourd'hui, et demain, je tente l'install sur ma cle USB, histoire de pas avoir a le faire tous le sjours grin en esperant que j'arrive a le refaire demain...)
(par contre, g qd meme eu des trucs bizarres... genre la SDL qu'il semble falloir installer apres ticalcs.... genre ticalcs-config qui ne se copie pas dans bin...)

enfin, que ca marche ou non demain, je viendrai donner des nouvelles smile
(par contre, je sens que je vais me faire un script pour installer tout ca... histoire de reussir a reinstaller sur le dur, une fois que je serai rentré en France)
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

37

33, 34> ben alors, demain (ou aujourd'hui si je reboote aujourd'hui), je tenterai en premier avec une version plus recente de tiemu (je prefere aller dans ce sens la), et si ca ne marche pas mieux, avec la version de ticalcs que tu me propose smile
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

38

bon allez je relance le débat, je me suis tapé tous les mêmes problèmes que sqale92 mais voici mon log d'erreur:
make all-recursive
make[1]: Entering directory `/root/tmp/tiemu-1.65'
Making all in .
make[2]: Entering directory `/root/tmp/tiemu-1.65'
make[2]: Leaving directory `/root/tmp/tiemu-1.65'
Making all in help
make[2]: Entering directory `/root/tmp/tiemu-1.65/help'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/help'
Making all in intl
make[2]: Entering directory `/root/tmp/tiemu-1.65/intl'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/intl'
Making all in man
make[2]: Entering directory `/root/tmp/tiemu-1.65/man'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/man'
Making all in misc
make[2]: Entering directory `/root/tmp/tiemu-1.65/misc'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/misc'
Making all in pixmaps
make[2]: Entering directory `/root/tmp/tiemu-1.65/pixmaps'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/pixmaps'
Making all in po
make[2]: Entering directory `/root/tmp/tiemu-1.65/po'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/po'
Making all in skins
make[2]: Entering directory `/root/tmp/tiemu-1.65/skins'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/root/tmp/tiemu-1.65/skins'
Making all in src
make[2]: Entering directory `/root/tmp/tiemu-1.65/src'
/bin/sh ../libtool --mode=link gcc -DIOM_DCB=4 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -D__I386__ -D__LINUX__ -Wall -DDEBUGGER -DPENT_COUNTER -o tiemu -ljpeg -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread cpu0.o cpu1.o cpu2.o cpu3.o cpu4.o cpu5.o cpu6.o cpu7.o cpu8.o cpu9.o cpuA.o cpuB.o cpuC.o cpuD.o cpuE.o cpuF.o cpudefs.o cpustbl.o readcpu.o newcpu.o debugger.o hardware.o lcd.o keyboard.o linkport.o memory.o timer.o ioports.o m68k.o intlist.o bkpts.o error.o images.o state.o callbacks.o interface.o skin.o cnv.o pcx.o xpm.o jpg.o bmp.o files.o misc.o rcfile.o ticalc.o paths.o tikeys.o support.o gxpm.o tiemu_dbox.o tiemu_cb.o link_dbox.o link_cb.o msg_dbox.o msg_cb.o infos_dbox.o infos_cb.o adbkpt_dbox.o adbkpt_cb.o colors_dbox.o colors_cb.o dbkpt_dbox.o dbkpt_cb.o debug_dbox.o debug_cb.o itick_dbox.o itick_cb.o logaddr_dbox.o logaddr_cb.o romv_dbox.o romv_cb.o trap_dbox.o trap_cb.o viewlog_dbox.o viewlog_cb.o dbgopt_dbox.o dbgopt_cb.o pgmentbkpt_dbox.o pgmentbkpt_cb.o state_dbox.o state_cb.o dump_dbox.o dump_cb.o bkpt_cause.o scopt_dbox.o scopt_cb.o user_dbox.o user_cb.o fsel_dbox.o fsel_cb.o wizard_dbox.o wizard_cb.o help_dbox.o help_cb.o manpage_dbox.o manpage_cb.o startup_dbox.o startup_cb.o thanks_dbox.o thanks_cb.o about_dbox.o about_cb.o pbar_dbox.o pbar_cb.o skin_dbox.o skin_cb.o refresh.o main_wnd.o main.o -lSDL -lpthread -ljpeg -ltifiles -lticables -lm -lglib -L/usr/lib -lticables -L/usr/lib -ltifiles -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
gcc -DIOM_DCB=4 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -D__I386__ -D__LINUX__ -Wall -DDEBUGGER -DPENT_COUNTER -o tiemu -Wl,-rpath -Wl,/usr/lib cpu0.o cpu1.o cpu2.o cpu3.o cpu4.o cpu5.o cpu6.o cpu7.o cpu8.o cpu9.o cpuA.o cpuB.o cpuC.o cpuD.o cpuE.o cpuF.o cpudefs.o cpustbl.o readcpu.o newcpu.o debugger.o hardware.o lcd.o keyboard.o linkport.o memory.o timer.o ioports.o m68k.o intlist.o bkpts.o error.o images.o state.o callbacks.o interface.o skin.o cnv.o pcx.o xpm.o jpg.o bmp.o files.o misc.o rcfile.o ticalc.o paths.o tikeys.o support.o gxpm.o tiemu_dbox.o tiemu_cb.o link_dbox.o link_cb.o msg_dbox.o msg_cb.o infos_dbox.o infos_cb.o adbkpt_dbox.o adbkpt_cb.o colors_dbox.o colors_cb.o dbkpt_dbox.o dbkpt_cb.o debug_dbox.o debug_cb.o itick_dbox.o itick_cb.o logaddr_dbox.o logaddr_cb.o romv_dbox.o romv_cb.o trap_dbox.o trap_cb.o viewlog_dbox.o viewlog_cb.o dbgopt_dbox.o dbgopt_cb.o pgmentbkpt_dbox.o pgmentbkpt_cb.o state_dbox.o state_cb.o dump_dbox.o dump_cb.o bkpt_cause.o scopt_dbox.o scopt_cb.o user_dbox.o user_cb.o fsel_dbox.o fsel_cb.o wizard_dbox.o wizard_cb.o help_dbox.o help_cb.o manpage_dbox.o manpage_cb.o startup_dbox.o startup_cb.o thanks_dbox.o thanks_cb.o about_dbox.o about_cb.o pbar_dbox.o pbar_cb.o skin_dbox.o skin_cb.o refresh.o main_wnd.o main.o -rdynamic -L/usr/lib -lm -L/usr/X11R6/lib -lpthread /usr/lib/libSDL.so -lm -lpthread /usr/lib/libjpeg.so -lm /usr/lib/libticables.so /usr/lib/libtifiles.so /usr/lib/libgtk.so -lm /usr/lib/libgdk.so -lm /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm
linkport.o(.text+0x4a0): In function `init_linkfile':
: undefined reference to `ticalc_set_cable'
linkport.o(.text+0x4d6): In function `init_linkfile':
: undefined reference to `ticalc_set_calc'
linkport.o(.text+0x4ea): In function `init_linkfile':
: undefined reference to `ticalc_set_calc'
linkport.o(.text+0x4fe): In function `init_linkfile':
: undefined reference to `ticalc_set_calc'
linkport.o(.text+0x532): In function `init_linkfile':
: undefined reference to `ticalc_set_update'
refresh.o(.text+0x28f): In function `gt_init_refresh_functions':
: undefined reference to `ticalc_set_update'
main.o(.text+0xb0): In function `main':
: undefined reference to `ticalc_get_version'
main.o(.text+0xe2): In function `main':
: undefined reference to `ticalc_get_version'
collect2: ld returned 1 exit status
make[2]: *** [tiemu] Erreur 1
make[2]: Leaving directory `/root/tmp/tiemu-1.65/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/root/tmp/tiemu-1.65'
make: *** [all] Erreur 2
avatar

39

tiens, ca me fait penser que je n'ai pas posté mon truc pr installer...
finalement, il me semble que ce qu'l y a ci-dessous avait fonctionné...
(enfin, je garanti pas, mais il me semble)

pour installer dans $HOME

(par contre, pr installer sur la cle USB, j'ai jamaid reussi... j'ai fini par une methode barbare grin)

cd

echo "Copie des fichiers cle->Home"
cp /mnt/sda1/tmp/libticalcs.tar.gz ~/
cp /mnt/sda1/tmp/tigcc_bin.tar.bz2 ~/
cp /mnt/sda1/tmp/SDL-1.2.5.tar.gz ~/
cp /mnt/sda1/tmp/gtktiemu.tar.gz ~/
cp /mnt/sda1/tmp/libticables.tar.gz ~/
cp /mnt/sda1/tmp/libtifiles.tar.gz ~/

echo "Decompression des fichiers .tar.gz"
tar -xvzf libticables.tar.gz
tar -xvzf libtifiles.tar.gz
tar -xvzf libticalcs.tar.gz
tar -xvzf SDL-1.2.5.tar.gz
tar -xvzf gtktiemu.tar.gz

echo "Installation de libticables"
cd libticables-3.7.6
./configure --prefix=/home/knoppix --disable-nls
make
make install
make clean

cd
export PKG_CONFIG_PATH=/home/knoppix/lib/pkgconfig
export PATH=$PATH:/home/knoppix/bin
export LD_LIBRARY_PATH=/home/knoppix/lib
export CFLAGS=" -DIOM_DCB=4"

echo "Installation de libtifiles"
cd libtifiles-0.5.6
./configure --prefix=/home/knoppix --disable-nls
make
make install
make clean

echo "Installation de libticalcs"
cd
cd libticalcs-4.4.9
./configure --prefix=/home/knoppix --disable-nls
make
make install
make clean

echo "Installation de SDL-Devel"
cd
cd SDL-1.2.5
./configure --prefix=/home/knoppix --disable-nls
make
make install
make clean

cd
cp libticalcs-4.4.9/ticalcs-config bin/
chmod 700 bin/ticalcs-config

ln -s /home/knoppix/lib/libticalcs-4.so /home/knoppix/lib/libticalcs.so

echo "Installation de TI-Emu"
cd
cd tiemu-1.65/
./configure --prefix=/home/knoppix --disable-nls
make
make install
make clean

echo "Installation de TIGCC"
bunzip2 tigcc_bin.tar.bz2
tar -xvvf tigcc_bin.tar

echo "Suppresion des fichiers archive"
cd
rm libticalcs.tar.gz
rm tigcc_bin.tar.bz2
rm SDL-1.2.5.tar.gz
rm gtktiemu.tar.gz
rm libticables.tar.gz
rm libtifiles.tar.gz


bon, je dirai bien de faire des copier coller morceaux par morceaux... pr voir si ca foire pas au milieu...
mais il me semble que le denier coup, en lancant le script, il a tout fait par li-meme
(en esperant qu'il y ait pas un oubli au niveau des variables d'environnement ou autre... oubli que je n'aurai pas vu parce qu'ayant deja declare les variables avant)
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

40

bah non j'ai les erreurs que je t'ai déja données. t'as réussi a le faire fonctionner toi?
avatar

41

oui, avec le script que j'ai donne plus haut pr l'install
(enfin, il me semble)
au final, ca marche smile

tu as bien installe toutes les libs avant d'installe rtiemu ?
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

42

oui mais aparament vu le log d'erreur il doit y avoir un problème avec ticalcs mais je l'ai installé comme toi.
avatar

43

arf sad

heu... Kevin ?
(moi je m'y connais que dalle, pr ainsi dire...)
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

44

Il manque un -lticalcs dans la ligne de commande, mais je ne sais pas du tout pourquoi ça manque. sad
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

45

C'est probablement encore un problème de libticalcs vs. libticalcs-4.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité