Ubuntu Suomen keskustelualueet

Ubuntun käyttö => Pelit => Aiheen aloitti: samu84 - 07.01.07 - klo:12.27

Otsikko: cvsCedega
Kirjoitti: samu84 - 07.01.07 - klo:12.27
Terve.
Yritin asentaa cvscedegan http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Cedega+CVS tuon ohjeen mukaan... Mutta heti alussa kun yritin asentaa noita paketteja mitä tuossa ohjeistetaan asentamaan  x-window-system-dev -pakettia ei löytynyt, vaikka sources.list on wikikirjan mukaan laitettu kuntoon... Kaikki muut paketit suostuivat kumminkin asentumaan ihan OK... Sitten kun yritin suorittaa sen WineCVS.sh:n tuli tämmönen herja:
Koodia: [Valitse]
samu@samun:~$ sudo sh WineCVS.sh

test: 43: ==: unexpected operator
WineCVS.sh: 48: Syntax error: "(" unexpected
samu@samun:~$
Otsikko: Re: cvsCedega
Kirjoitti: AkuKalle - 07.01.07 - klo:14.31
mulla on muuten sama juttu
Otsikko: Re: cvsCedega
Kirjoitti: Matias^ - 07.01.07 - klo:19.26
Terve.
Yritin asentaa cvscedegan http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Cedega+CVS tuon ohjeen mukaan... Mutta heti alussa kun yritin asentaa noita paketteja mitä tuossa ohjeistetaan asentamaan  x-window-system-dev -pakettia ei löytynyt, vaikka sources.list on wikikirjan mukaan laitettu kuntoon... Kaikki muut paketit suostuivat kumminkin asentumaan ihan OK... Sitten kun yritin suorittaa sen WineCVS.sh:n tuli tämmönen herja:
Koodia: [Valitse]
samu@samun:~$ sudo sh WineCVS.sh

test: 43: ==: unexpected operator
WineCVS.sh: 48: Syntax error: "(" unexpected
samu@samun:~$

Kokeile sudo bash WineCVS.sh
Otsikko: Re: cvsCedega
Kirjoitti: samu84 - 07.01.07 - klo:20.06
juu kiitoksia... nyt pelaa... Mikäs ero tolla bashilla ja sh:lla on?
Otsikko: Re: cvsCedega
Kirjoitti: samu84 - 07.01.07 - klo:20.41
juu nyt herjaa tämmöstä:
Koodia: [Valitse]
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

-------------------------------------------

Compiling ...




--------- Error log - file /home/samu/.WineCVS/sources/cvscedega/ErrorLog : ---------
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/libs/wpp"
make[1]: Kohteelle "all" ei tarvitse tehdä mitään.
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/libs/wpp"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/port"
make[1]: Kohteelle "all" ei tarvitse tehdä mitään.
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/port"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/unicode"
make[1]: "libwine_unicode.so" on ajan tasalla.
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/unicode"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/tools"
make[2]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/tools/winebuild"
make[2]: Kohteelle "all" ei tarvitse tehdä mitään.
make[2]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/tools/winebuild"
make[2]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/tools/winedump"
make[2]: Kohteelle "all" ei tarvitse tehdä mitään.
make[2]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/tools/winedump"
make[2]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/tools/wmc"
make[2]: Kohteelle "all" ei tarvitse tehdä mitään.
make[2]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/tools/wmc"
make[2]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/tools/wrc"
make[2]: Kohteelle "all" ei tarvitse tehdä mitään.
make[2]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/tools/wrc"
make[2]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/tools/widl"
make[2]: Kohteelle "all" ei tarvitse tehdä mitään.
make[2]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/tools/widl"
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/tools"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/port"
make[1]: "libwine_port.so" on ajan tasalla.
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/port"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/server"
make[1]: "libwineserver.so" on ajan tasalla.
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/server"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/server"
make[1]: "wineserver" on ajan tasalla.
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/server"
make[1]: Siirrytään hakemistoon "/home/samu/.WineCVS/sources/cvscedega/winex/miscemu"
gcc -o wine-preloader -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x78000000 preloader.o
preloader.o: In function `wld_printf':
/home/samu/.WineCVS/sources/cvscedega/winex/miscemu/preloader.c:442: undefined reference to `__stack_chk_fail'
preloader.o: In function `map_so_lib':
/home/samu/.WineCVS/sources/cvscedega/winex/miscemu/preloader.c:844: undefined reference to `__stack_chk_fail'
collect2: ld returned 1 exit status
make[1]: *** [wine-preloader] Virhe 1
make[1]: Poistutaan hakemistosta "/home/samu/.WineCVS/sources/cvscedega/winex/miscemu"
make: *** [miscemu/wine-preloader] Virhe 2


Error in Make

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

Koitin poistaa ja asentaa tuon "maken" mutta ei vaikutusta... Mikä niistä profiileista kannattaa ottaa?
Otsikko: Re: cvsCedega
Kirjoitti: AkuKalle - 07.01.07 - klo:20.47
itellä tuli tämmönen

./ppl.l:1337: warning: implicit declaration of function ‘max’
./ppl.l:1337: error: ‘ALLOCBLOCKSIZE’ undeclared (first use in this function)
./ppl.l: At top level:
./ppl.l:1346: warning: conflicting types for ‘macro_add_arg’
./ppl.l:1346: error: static declaration of ‘macro_add_arg’ follows non-static declaration
./ppl.l:493: error: previous implicit declaration of ‘macro_add_arg’ was here
./ppl.l: In function ‘macro_add_arg’:
./ppl.l:1349: error: ‘macexpstackentry_t’ undeclared (first use in this function)
./ppl.l:1349: error: ‘mep’ undeclared (first use in this function)
./ppl.l:1368: error: ‘debuglevel’ undeclared (first use in this function)
./ppl.l:1368: error: ‘DEBUGLEVEL_PPLEX’ undeclared (first use in this function)
./ppl.l:1370: error: ‘input_name’ undeclared (first use in this function)
./ppl.l:1371: error: ‘line_number’ undeclared (first use in this function)
./ppl.l:1378: error: ‘pp_macexp’ undeclared (first use in this function)
./ppl.l:1379: warning: implicit declaration of function ‘push_buffer’
./ppl.l: In function ‘macro_add_expansion’:
./ppl.l:1387: error: ‘macexpstackentry_t’ undeclared (first use in this function)
./ppl.l:1387: error: ‘mep’ undeclared (first use in this function)
./ppl.l:1396: error: ‘debuglevel’ undeclared (first use in this function)
./ppl.l:1396: error: ‘DEBUGLEVEL_PPLEX’ undeclared (first use in this function)
./ppl.l:1398: error: ‘input_name’ undeclared (first use in this function)
./ppl.l:1399: error: ‘line_number’ undeclared (first use in this function)
./ppl.l: At top level:
./ppl.l:1411: warning: conflicting types for ‘put_buffer’
./ppl.l:1411: error: static declaration of ‘put_buffer’ follows non-static declaration
./ppl.l:476: error: previous implicit declaration of ‘put_buffer’ was here
./ppl.l: In function ‘put_buffer’:
./ppl.l:1415: error: ‘pass_data’ undeclared (first use in this function)
./ppl.l: In function ‘do_include’:
./ppl.l:1439: error: ‘includelogicentry_t’ undeclared (first use in this function)
./ppl.l:1439: error: ‘iep’ undeclared (first use in this function)
./ppl.l:1441: error: ‘includelogiclist’ undeclared (first use in this function)
./ppl.l:1462: warning: implicit declaration of function ‘open_include’
./ppl.l:1462: warning: assignment makes pointer from integer without a cast
./ppl.l:1467: error: ‘seen_junk’ undeclared (first use in this function)
./ppl.l:1468: error: ‘include_state’ undeclared (first use in this function)
./ppl.l:1469: error: ‘include_ppp’ undeclared (first use in this function)
./ppl.l:1470: error: ‘pass_data’ undeclared (first use in this function)
./ppl.l:1473: error: ‘debuglevel’ undeclared (first use in this function)
./ppl.l:1473: error: ‘DEBUGLEVEL_PPMSG’ undeclared (first use in this function)
./ppl.l:1474: error: ‘input_name’ undeclared (first use in this function)
./ppl.l:1474: error: ‘line_number’ undeclared (first use in this function)
./ppl.l:1474: error: ‘include_ifdepth’ undeclared (first use in this function)
./ppl.l: In function ‘push_ignore_state’:
./ppl.l:1488: error: ‘pp_ignore’ undeclared (first use in this function)
make[2]: *** [lex.ppl.o] Error 1
make[2]: Leaving directory `/home/akukalle/.WineCVS/sources/cvscedega/winex/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory `/home/akukalle/.WineCVS/sources/cvscedega/winex/tools'
make: *** [tools] Error 2


Error in Make

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

Otsikko: Re: cvsCedega
Kirjoitti: Matias^ - 08.01.07 - klo:18.25
Hmm.. Taisi olla jotenkin näin:

Onhan gcc 3.4?

Tämän laitat ennen asennusta niin gcc on 3.4. (Normaalistihan se on 4.0?):
export CC=gcc-3.4 make


Sitten varmuuden vuoksi että sinulla on kaikki paketit. Ei tietenkään haittaa vaikka ne jo olisivatkin:
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

Sitten se tuttu sudo bash WineCVS.sh. Ja jos tuli se make virhe niin laita c ja sen jälkeen oliko se s. Sen jälkeen uudelleen r ja se koittaa asentaa. En muista menikö se näin, mutta suurin piirtein. Tästähän oli aihe vähän aiemmin joka on ilmeisesti poistettu?
Otsikko: Re: cvsCedega
Kirjoitti: samu84 - 09.01.07 - klo:15.56
Juu kiitoksia... nyt sain ainakii asentumaa ilman herjoi...
Otsikko: Re: cvsCedega
Kirjoitti: samu84 - 09.01.07 - klo:16.29
Nyt kun sen sai asennettua, ei tullu mitään herjoja missään välissä, mutta en löydä sitä .cvscedega kansiota (tiedän että on piilokansio  :) ) ja käskyllä cvscedega saan herjan:
 
Koodia: [Valitse]
bash: cvscedega: command not found
Elikkä vaikuttais että se ei asenna mitään vaikka kovasti niin väittääkin... Yritin asentaa sen pariinkin kertaan uudestaan mutta aina sama... Se junnaa aika kauan siinä "make" kohdassa ja käytännössä katsottuna hyppää sen "make install" kohdan ylitse...
Otsikko: Re: cvsCedega
Kirjoitti: Matias^ - 09.01.07 - klo:17.49
Nyt kun sen sai asennettua, ei tullu mitään herjoja missään välissä, mutta en löydä sitä .cvscedega kansiota (tiedän että on piilokansio  :) ) ja käskyllä cvscedega saan herjan:
 
Koodia: [Valitse]
bash: cvscedega: command not found

Siis .cvscedega kansiotako ei ole kotihakemistossa? (/home/XXX/.cvscedega)


Elikkä vaikuttais että se ei asenna mitään vaikka kovasti niin väittääkin... Yritin asentaa sen pariinkin kertaan uudestaan mutta aina sama... Se junnaa aika kauan siinä "make" kohdassa ja käytännössä katsottuna hyppää sen "make install" kohdan ylitse...

Antaako se sitten virheilmoitusta? Mene kansioon oliko se /.WineCVS/sources ja siellä pitäisi olla virheilmoitustiedosto  (errorlog tms) jos tuo kansio nyt olikaan oikea ja jos sitä virheilmoitusta ylipäätään onkaan.
Otsikko: Re: cvsCedega
Kirjoitti: samu84 - 09.01.07 - klo:18.13
Lainaus
Siis .cvscedega kansiotako ei ole kotihakemistossa? (/home/XXX/.cvscedega)

Eipä ole ei
Koodia: [Valitse]
samu@samun:~$ cd .cvscedega
bash: cd: .cvscedega: No such file or directory
samu@samun:~$

Lainaus
Antaako se sitten virheilmoitusta? Mene kansioon oliko se /.WineCVS/sources ja siellä pitäisi olla virheilmoitustiedosto  (errorlog tms) jos tuo kansio nyt olikaan oikea ja jos sitä virheilmoitusta ylipäätään onkaan.

Ton niminen kansio löyty kotikansiostani, mutta en löytäny oikeen mitään lokitiedostoon viittaavaa sieltä...

Ihan offtopic: miten tuolla dir -komennolla saa piilotiedostot näkyviin?
Otsikko: Re: cvsCedega
Kirjoitti: JoniR - 09.01.07 - klo:18.52
Lainaus
Siis .cvscedega kansiotako ei ole kotihakemistossa? (/home/XXX/.cvscedega)

Eipä ole ei
Koodia: [Valitse]
samu@samun:~$ cd .cvscedega
bash: cd: .cvscedega: No such file or directory
samu@samun:~$

Lainaus
Antaako se sitten virheilmoitusta? Mene kansioon oliko se /.WineCVS/sources ja siellä pitäisi olla virheilmoitustiedosto  (errorlog tms) jos tuo kansio nyt olikaan oikea ja jos sitä virheilmoitusta ylipäätään onkaan.

Ton niminen kansio löyty kotikansiostani, mutta en löytäny oikeen mitään lokitiedostoon viittaavaa sieltä...

Ihan offtopic: miten tuolla dir -komennolla saa piilotiedostot näkyviin?

dir-komennosta en tiedä mutta kokeileppas ls -la
oletkos kokeillut etstiä komennolla locate cvscedega
Otsikko: Re: cvsCedega
Kirjoitti: samu84 - 09.01.07 - klo:19.01
Lainaus
oletkos kokeillut etstiä komennolla locate cvscedega

Tämmöstä pukkaa:

Koodia: [Valitse]
samu@samun:~$ locate cvscedega
/home/samu/.WineCVS/Profiles/cvscedega_head
/home/samu/.WineCVS/sources/cvscedega
/home/samu/.WineCVS/sources/cvscedega/.OldState
/home/samu/.WineCVS/sources/cvscedega/.TipsScript
samu@samun:~$

Taitaa olla aikasen susi toi "Etsi" filu tuol "sijainneissa"... Se ei löytäny oikee mitää ku yritti sil ettii... ja muutenkii vaikutti ettei se ees eti kunnol...
Otsikko: Vs: cvsCedega
Kirjoitti: aku-88 - 03.04.07 - klo:16.17
juu samassa ongelmassa painiskellaan täälläkin.
mulla se tosin herjaa tällästä :
 Error log - file /home/pommi/.WineCVS/sources/cvscedega/ErrorLog : ---------
/home/pommi/.WineCVS/Functions/DefaultProfile: line 628: ./configure: No such file or directory

olis kiva jos joku osais auttaa  :)

juu elikkä ongelma ratkesikin jo :)
Otsikko: Vs: cvsCedega
Kirjoitti: samu84 - 04.04.07 - klo:20.19
Koodia: [Valitse]
mulla se tosin herjaa tällästä :
 Error log - file /home/pommi/.WineCVS/sources/cvscedega/ErrorLog : ---------
/home/pommi/.WineCVS/Functions/DefaultProfile: line 628: ./configure: No such file or directory

Mitenkäs sait pelittämään? Ite yritin taas pitkästä aikaa saaha tota toimimaa mut täl kertaa tössää tohon.

edit: Millä profiililla ootte saanu ton pelittämään? Ite oon käyttänu 0 tai 1:stä...
Otsikko: Vs: cvsCedega
Kirjoitti: artta - 11.04.07 - klo:13.23
Mikäs tässä nyt mättää? Jämähtää tuohon kohtaan 2.

Koodia: [Valitse]
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

-------------------------------------------

Checking out CVS ... May take a while

EOF from server, retry number 1

Ei suostu millään liikkumaan tuosta eteenpäin. Kyseessä Edgy, mihin tätä koitan soveltaa.
Otsikko: Vs: cvsCedega
Kirjoitti: Zade - 11.04.07 - klo:20.34

Koodia: [Valitse]
mulla se tosin herjaa tällästä :
 Error log - file /home/pommi/.WineCVS/sources/cvscedega/ErrorLog : ---------
/home/pommi/.WineCVS/Functions/DefaultProfile: line 628: ./configure: No such file or directory

Mulla sama homma, pitääkö sinne jokin tiedosto tehdä vai mitä? Ja itekki oon käyttäny niitä 0 tai 1 profiileja.