#1 Le 06/11/2006, à 00:05
- patrice_35
CVSCEDEGA compilé sur Edgy
Pour installer cvscedega sur Edgy :
1) récup des paquets nécessaires à la compilation :
sudo apt-get install cvs build-essential bison libasound2-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libttf-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev msttcorefonts libfontconfig1-dev xorg-dev gcc-3.4
2) récupérer flex_2.5.31-31ubuntu0.5.10.1_i386.deb ( en effet la version de flex livrée avec Edgy est trop récente et provoque des erreurs à la compil, idem avec flex-old )
sudo wget http://security.ubuntu.com/ubuntu/pool/main/f/flex/flex_2.5.31-31ubuntu0.5.10.1_i386.deb
puis cliquer sur le fichier et l'installer
3) passer en gcc3.4
sudo rm /usr/bin/gcc
sudo ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
export CC=gcc-3.4 make
on peut vérifier la version comme ceci --> sudo gcc -dumpversion
4) récupération de WineCVS.sh et exécution
sudo wget http://winecvs.linux-gamers.net/WineCVS.sh
sudo chmod 777 WineCVS.sh
sudo ./WineCVS.sh
Le mot de passe est "cvs" (sans les guillemets).
pour la suite suivre le tuto suivant a partir de --> Un menu apparait alors :
http://www.pcinpact.com/articles/d/51/3.htm
et voila le résultat
vous devriez avoir un cvscedega (libre) et opérationnel cool non !!!
Dernière modification par patrice_35 (Le 12/11/2006, à 12:17)
Hors ligne
#2 Le 06/11/2006, à 19:31
- madrippeur
Re : CVSCEDEGA compilé sur Edgy
snif j'ai bien fait ce que tu dis en detail. mais j'ai le meme probleme
une erreur au make :
/home/mad/.WineCVS/sources/cvscedega/winex/miscemu/preloader.c:442: référence indéfinie vers « __stack_chk_fail »
preloader.o: In function `map_so_lib':
/home/mad/.WineCVS/sources/cvscedega/winex/miscemu/preloader.c:844: référence indéfinie vers « __stack_chk_fail »
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [wine-preloader] Erreur 1
make[1]: quittant le répertoire « /home/mad/.WineCVS/sources/cvscedega/winex/miscemu »
make: *** [miscemu/wine-preloader] Erreur 2
Hors ligne
#3 Le 06/11/2006, à 22:05
- Ma Poule
Re : CVSCEDEGA compilé sur Edgy
jai du reinstaller 3 fois et remetre 3 fois juska ce ke ca marche enfin loool merci sinon pour la solution
#4 Le 06/11/2006, à 22:34
- madrippeur
Re : CVSCEDEGA compilé sur Edgy
bah ecoutez jsuis desole mais j'ai beau desinstaller les paquets necessaires a la compilation puis tout recommencer, toujours le meme resultat. je fais des copier coller de vos commandes, mais rien a faire toujours le meme probleme a l'arrivée.
ps au moment de rentrer
sudo export CC=gcc-3.4 make
La console me sort un message :
sudo: export: command not found
J'ai donc lance cette commande sans le sudo. C'est bien ce qu'il fallait faire ?
Hors ligne
#5 Le 06/11/2006, à 22:53
- patrice_35
Re : CVSCEDEGA compilé sur Edgy
oui faut pas mettre le sudo devant export
autant pour moi c'est parce que moi j'ai fait un script pour chaque etape ou il n'y a aucune commande sudo
exemple : dans le fichier script 1:
apt-get install cvs build-essential bison libasound2-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libttf-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev msttcorefonts libfontconfig1-dev xorg-dev gcc-3.4
je rends le script1 executable -> chmod 777 script1
et ensuite je lance sudo script1
etc jusqu'a script4
de plus mon install a été faite sur une edgy vierge
Hors ligne
#6 Le 06/11/2006, à 22:55
- patrice_35
Re : CVSCEDEGA compilé sur Edgy
vérifie dans synaptic si tu as bien désinstallé flex et flex-old pour
le remplacer par flex_2.5.31-31ubuntu0.5.10.1
Hors ligne
#7 Le 06/11/2006, à 23:29
- madrippeur
Hors ligne
#8 Le 06/11/2006, à 23:32
- madrippeur
Re : CVSCEDEGA compilé sur Edgy
Apres verification dans synaptique, je peut te dire :
oui les deux flex ont ete desinstallés
la version de flex installée dans synaptique est bien celle que tu donne.
Jsuis désolé, je ny arrive vraiment pas.
ps : normal le probleme avec export ?
Hors ligne
#9 Le 07/11/2006, à 15:34
- Ma Poule
Re : CVSCEDEGA compilé sur Edgy
bon....ta solution n'a aucun effet sur le profil dx9wine....j'ai une erreur lors de la compilation comme je fais pour résoudre le probleme voici le code lors de l'erreur....
--------- Error log - file /root/.WineCVS/sources/dx9wine/ErrorLog : ---------
freetype.c:3698: error: syntax error before "tt_face"
freetype.c:3699: error: `SFNT_Interface' undeclared (first use in this function)
freetype.c:3699: error: `sfnt' undeclared (first use in this function)
freetype.c:3703: error: syntax error before ')' token
freetype.c:3703: error: `tt_face' undeclared (first use in this function)
freetype.c:3708: error: syntax error before ')' token
freetype.c: In function `is_hinting_enabled':
freetype.c:3776: error: called object is not a function
freetype.c:3777: warning: implicit declaration of function `FT_DRIVER_HAS_HINTER'
make[2]: *** [freetype.o] Error 1
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/gdi'
make[1]: *** [gdi] Error 2
make[1]: *** Waiting for unfinished jobs....
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o olecli_main.o olecli_main.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o typelib16.o typelib16.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o connpt.o connpt.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./olecli32.spec olecli.spec.o olecli16.o olecli_main.o -o olecli32.dll.so -L../../dlls -L../../dlls/ole32 -L../../dlls/gdi32 -L../../dlls/kernel32 -lole32 -lgdi32 -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o dispatch.o dispatch.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o hash.o hash.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o oaidl_p.o oaidl_p.c
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/olecli'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o oleaut.o oleaut.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o olefont.o olefont.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o olepicture.o olepicture.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o recinfo.o recinfo.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o regsvr.o regsvr.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o safearray.o safearray.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o stubs.o stubs.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o tmarshal.o tmarshal.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o typelib.o typelib.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o typelib2.o typelib2.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o usrmarshal.o usrmarshal.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o varformat.o varformat.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o variant.o variant.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o vartype.o vartype.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -fooleaut32.res oleaut32.rc
make[3]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/dlls/oleaut32/tests'
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o olefont.o olefont.c
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o olepicture.o olepicture.c
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o safearray.o safearray.c
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o typelib.o typelib.c
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o vartest.o vartest.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./oleaut32.spec ole2disp.spec.o typelib.spec.o ole2disp.o typelib16.o connpt.o dispatch.o hash.o oaidl_p.o oleaut.o olefont.o olepicture.o recinfo.o regsvr.o safearray.o stubs.o tmarshal.o typelib.o typelib2.o usrmarshal.o varformat.o variant.o vartype.o oleaut32.res -o oleaut32.dll.so -L../../dlls -L../../dlls/comctl32 -L../../dlls/urlmon -L../../dlls/ole32 -L../../dlls/rpcrt4 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -L../../dlls/ntdll -lcomctl32 -lurlmon -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -Wb,-dcomctl32 -Wb,-durlmon -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode -luuid -L../../libs/port -lwine_port
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o vartype.o vartype.c
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o testlist.o testlist.c
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole olefont.o olepicture.o safearray.o typelib.o vartest.o vartype.o testlist.o -o oleaut32_test.exe.so -L../../../libs/port -lwine_port -L../../../dlls -L../../../dlls/oleaut32 -L../../../dlls/ole32 -L../../../dlls/gdi32 -L../../../dlls/kernel32 -L../../../libs -loleaut32 -lole32 -lgdi32 -lkernel32 -luuid
make[3]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/oleaut32/tests'
make[2]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls/oleaut32'
make[1]: Leaving directory `/root/.WineCVS/sources/dx9wine/wine/dlls'
make: *** [dlls] Error 2Error in Make
Try fixing the error based on the output above, and
run the script again, without paramaters (Eg: WineCVS.sh)
#10 Le 07/11/2006, à 21:57
- patrice_35
Re : CVSCEDEGA compilé sur Edgy
1) après le export tu peut taper sur une ligne
gcc -dumpversion
et contrôler que tu est bien passé en 3.4.6
en espérant que c'est ca
Hors ligne
#11 Le 07/11/2006, à 23:59
- biau
Re : CVSCEDEGA compilé sur Edgy
exactement la meme erreur que madrippeur sous edgy
j'ai bien viré flex-old et installé le tiens et gcc -dumpversion me renvoie 3.4.6
Hors ligne
#12 Le 08/11/2006, à 02:13
- patrice_35
Re : CVSCEDEGA compilé sur Edgy
avez vous sélectionné la solution 1 ) cvscedega_head
dans le tuto c'est celle que j'ai compilé
Hors ligne
#13 Le 08/11/2006, à 03:09
- Biguifoot
Re : CVSCEDEGA compilé sur Edgy
oui on a tous fait exactement comme vous mais cela ne change rien
Hors ligne
#14 Le 08/11/2006, à 15:43
- Crystal Noir
Re : CVSCEDEGA compilé sur Edgy
moi c'est pire dès que j'ai entré le choix 0 pour run le truc, j'ai ceci :
WineCVS.sh - Progress(u) : Green is current
0 = Uninstall
1 = Cleanup
2 = CVS checkout
3 = Configure
4 = Make depend
5 = Make
6 = Make install
7 = Finish up
-------------------------------------------
Configuring ...
/home/crystalnoir/.WineCVS/Functions/RunWineCVS: line 785: cd: /home/crystalnoir/.WineCVS/sources/cvscedega/winex/: Aucun fichier ou répertoire de ce type
Hors ligne
#15 Le 09/11/2006, à 10:43
- Crystal Noir
Re : CVSCEDEGA compilé sur Edgy
si quelqu'un pouvait modifier le titre du thread et mettre "non résolu" au lieu de "résolu" car à priori ya rien de résolu lol
Hors ligne
#16 Le 10/11/2006, à 15:45
- madrippeur
Re : CVSCEDEGA compilé sur Edgy
oualala j'ai beau essayer des tutos a gauche et a droite :s rien n'y fait :s
arf c'est dommage tout de meme de perdre le cedega cvs juste pour une mise a jour de version :s
quelqu'un de ce thread a t'il trouve une solution?
Hors ligne
#17 Le 18/11/2006, à 20:18
- kingo
Re : CVSCEDEGA compilé sur Edgy
up
Hors ligne
#18 Le 19/11/2006, à 20:37
- Biguifoot
Re : CVSCEDEGA compilé sur Edgy
need help please answer!!!!!!!!!!!!!!!!!!up up!
Hors ligne
#19 Le 19/11/2006, à 21:04
- AnthonNetworks
Re : CVSCEDEGA compilé sur Edgy
Bonjours à tous,
J'ai réussi à compilé CVSCedega sur Edgy en suivant ces instructions et les étapes de la documentation.
J'ai supprimé flex et flex-old pour pouvoir installé flex_2.5.31-31ubuntu0.5.10.1_i386.deb
A confimer : J'ai aussi remarqué une chose, lorsque on rate une compilation, il faut supprimé .WineCVS, pour pouvoir retenter avec succès une seconde compilation.
Dernière modification par AnthonNetworks (Le 19/11/2006, à 21:05)
Hors ligne
#20 Le 19/11/2006, à 21:34
- taraniys
Re : CVSCEDEGA compilé sur Edgy
bonsoir
Et bien moi ça coince à " CVS checkout " il m'affiche "EOF from server, retry number 4"
il semblerai qu'il ne trouve pas le serveur
Ne le trouvant pas ce maudit serveur je me le suis fait et servi tout seul mon café
non mais jamais mieux servi que par soit mème NA !
Dernière modification par taraniys (Le 19/11/2006, à 21:43)
Kde Néon
bonjour chez vous
Taraniys
Hors ligne
#21 Le 19/11/2006, à 22:32
- seb79-33
Re : CVSCEDEGA compilé sur Edgy
pour le probleme de make
Plus simple quand l'install plante a "make"
faites se qui est ecrit dans le document ensuite relancer le script.
Au premier choix qui est donné, selectionnez "change command line" ou un truc du genre.
Ensuite selectionez l'option qui vous propose de redemarer du debut "restart all" (ou un truc du genre vous voyez... de toutefacon ya pas trente six possibilités)
pour mois ca a marché
voilou
Hors ligne
#22 Le 19/11/2006, à 22:35
- taraniys
Re : CVSCEDEGA compilé sur Edgy
Pour moi celà ne dépasse jamais CVS checkout
J'en suis à la cinquième tentative sans succès
Kde Néon
bonjour chez vous
Taraniys
Hors ligne
#23 Le 19/11/2006, à 22:51
- AnthonNetworks
Re : CVSCEDEGA compilé sur Edgy
A tu pensé à te logguer sur le CVS (avant d'exécuter le script) ?
cvs -d:pserver:cvs@cvs.transgaming.org:/cvsroot login
Mot de passe : cvs
Dernière modification par AnthonNetworks (Le 19/11/2006, à 22:52)
Hors ligne
#24 Le 19/11/2006, à 23:22
- taraniys
Re : CVSCEDEGA compilé sur Edgy
@AnthonNetworcks
C'est étrange si je suis le script du début de post,il me demande jamais de mot de pass CVS et j'arrive jusqu'a l'étape 2
si je fait comme l'indique ton lien je passe en time out après m'avoir logué
voilà la réponse qui m'est faite
cvs [login aborted]: connect to cvs.transgaming.org(209.217.80.50):2401 failed: Connection timed out
Dernière modification par taraniys (Le 29/11/2006, à 01:22)
Kde Néon
bonjour chez vous
Taraniys
Hors ligne
#25 Le 23/11/2006, à 00:53
- psykokwak
Re : CVSCEDEGA compilé sur Edgy
Pour moi la manip a fonctionné.
Merciiii