CVS CEDEGA

Sikerult telepitenem a CEDEGA-t kubuntu 7.04 re CVS bol. Leirom a telepitesi folyamatot a magam szamara is hogy megegyszer ne keljen a buktakon gondolkodnom na meg latom hogy masoknak is problemat jelent.

egy kis googlezas utan 2 scriptet talaltam a telepiteshez de sajnos az egyik nem elerheto. A masikat innen szedtem le: http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Cedega…

Elso dolog a dependensek leszedese.

sudo aptitude install cvs build-essential bison flex-old libasound2-dev xserver-xorg-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

(az oldal szerint apt-get de en aptitudet hasznaltam es itt volt az elso bukta - az ubuntuban az x-window-system et xserver-xorg-dev nek nevezik szoval azt kell leszedni)

Majd elinditottam a scriptet. Beallitottam a profilet es leszedte a cedega-t viszont nem talalta a ./configure -t

A megoldas: le kell szedni az autoconf csomagot

aptitude install autoconf

majd futtatni kell a /root/.WineCVS/sources/cvscedega/winex/setup.sh - t

Ujra le kell futtatni a winecvs.sh - es igy mar tovabbmegy es simman leforditja es felinstallalja.

Hozzászólások

Miért nem jó a hivatalos .deb csomag?

üdv!

Én is megpróbálkoztam cvs-ből cedegat felrakni, de nekem ubuntu feisty (gnome) alatt terminalból ezzel a hibaüzenettel lép ki: WineCVS.sh: 48: Syntax error: "(" unexpected

Esetleg van valami ötleted miért lehet? Az autoconf-ot is felraktam, viszont /root/.WineCVS/sources/cvscedega/winex/setup.sh már nem futott le, mivel nincs olyan könyvtáram a root-ban, hogy .WineCVS

Hat a winecvs.sh script kene megcsinalja a home konyvtaradba a ./winecvs konyvatart es oda leszedje a cedega forrast. Ha van setup.sh - d akkor mar leszedte. Csinald manualisan ... csinald meg a wineCVS konyvtarat ... masold at a forrast es ugy probalkozz. Vagy probald meg a wineCVS.sh - t igy futtatni: sh ./wineCVS.sh

Ha nem fut le a setup.sh nem lessz ./configure -d es nem tudod leforditani. Csak otleteim vannak ... nem tudom mi a baj viszont kerdezz es segitek amiben tudok.

UI. ne legyen wine-d a gepen ... azt dpkg --purge wine vel szedd le ha van ...mert wine kent fogja leforditani a cedegat...

The worst or stupidest ideas are always the most popular.

Üdv megint!

Azt hiszem rájöttem mi a probléma, de mivel kezdő linuxos vagyok ezért gőzöm nincs hogy kellene orvosolni. Próbáltam keresgélni, de nem nagyon találtam a kulcsszavakat.
Szóval, kicsit belenéztem a scripekbe kíváncsiságból. Nagyjából fel is fogtam mit csinál és arra lettem figyelmes, hogy bármelyik script futtatásakor a függvényeknél dobja a hibát (pl. test: 43: ==: unexpected operator). Ha jó a logikám, akkor arra következtetek, hogy valamiért nem ismeri fel a function szót vagy az utánna következő függvénynevet, ami elég abszurd. De egy próbát megér. Kikommenteltem azt a két haszontalan függvényt a WineCVS.sh-ból (func Alert(), func Error()) és igen, így gond nélkül lefutott. Persze ez nem elég a boldogsághoz, mert a többi scriptben nem kommentelhetem ki a fügvényeket, mert azok csinálnak is valamit...
Van valami ötleted, miért nem ismerheti fel?

huh ... nem a "./"-n van a lenyeg... hanem az sh elotagon... tehat ugy futtatod a scriptet hogy bemessz a konyvtarba ahol van a script es beirod hogy sh wineCVS.sh. A "./" csak azt mutatja hogy abbol a konyvtarbol futtassa ahol vagy abban a pillanatban (magyaran ne keljen eleresi utvonalat irnod) - bocs hogy ezzel igy osszezavartalak ... de ezt en igy szoktam meg. Tehat ha a scriptet lementetted a /home/user/wine konyvtarba akkor nyitsz egy terminalt es beirod:

sh /home/user/wine/wineCVS.sh

erre gondoltam ... nem vagyok biztos benne hogy ezt probaltad-e ...

The worst or stupidest ideas are always the most popular.

Hali!

Gondoltam felrakom a cedega-t cvs-bol, de sajnos a make resznel kiakad.

a következő a hiba.

Compiling ...

TIP: Wine and Cedega differences:
Wine is a "windows compability layer" that allows
--------- Error log - file /home/pusztito/.WineCVS/sources/cvscedega/ErrorLog : ---------a is a fork of Wine, with the main focus being
make[2]: Nothing to be done for `all'., Cedega for games.
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/tools/wmc'
make[1]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/ole'
make[1]: `libwine_uuid.a' is up to date.
make[1]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/ole'
make[2]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/tools/wrc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/tools/wrc'
make[2]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/tools/widl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/tools/widl'
make[1]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/tools'
make[1]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls'
make[1]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/miscemu'
make[1]: `wine-preloader' is up to date.
make[1]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/miscemu'
make[1]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/server'
make[1]: `wineserver' is up to date.
make[1]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/server'
make[2]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/glu32'
make[2]: `libglu32.so' is up to date.
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/glu32'
make[2]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/faultrep'
make[2]: `libfaultrep.so' is up to date.
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/faultrep'
make[2]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/ntdll'
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -Wdeclaration-after-statement -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_NTSYSTEM_ -DUSE_PTHREADS -D_REENTRANT -o ntdll.spec.o ntdll.spec.c
make[2]: Entering directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/winhttp'
make[2]: `libwinhttp.so' is up to date.
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/winhttp'
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -Wdeclaration-after-statement -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_NTSYSTEM_ -DUSE_PTHREADS -D_REENTRANT -o signal_i386.o signal_i386.c
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -Wdeclaration-after-statement -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_NTSYSTEM_ -DUSE_PTHREADS -D_REENTRANT -o signal_sparc.o signal_sparc.c
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -Wdeclaration-after-statement -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_NTSYSTEM_ -DUSE_PTHREADS -D_REENTRANT -o slist.o slist.c
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -Wdeclaration-after-statement -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_NTSYSTEM_ -DUSE_PTHREADS -D_REENTRANT -o sync.o sync.c
signal_i386.c: In function ‘restore_debug_regs’:
signal_i386.c:853: warning: ISO C90 forbids mixed declarations and code
signal_i386.c: In function ‘vm86_pend_raiser’:
signal_i386.c:1158: error: ‘VIP_MASK’ undeclared (first use in this function)
signal_i386.c:1158: error: (Each undeclared identifier is reported only once
signal_i386.c:1158: error: for each function it appears in.)
signal_i386.c:1170: error: ‘VIF_MASK’ undeclared (first use in this function)
signal_i386.c: In function ‘__wine_enter_vm86’:
signal_i386.c:1924: error: ‘VIP_MASK’ undeclared (first use in this function)
signal_i386.c:1930: error: ‘VIF_MASK’ undeclared (first use in this function)
make[2]: *** [signal_i386.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls/ntdll'
make[1]: *** [ntdll/libntdll.so] Error 2
make[1]: Leaving directory `/home/pusztito/.WineCVS/sources/cvscedega/winex/dlls'
make: *** [dlls] Error 2

Error in Make

Try fixing the error based on the output above, and
run the script again, without paramaters (Eg: WineCVS.sh)

Van valakinek valami otlehet, hogy lehet orvosolni?