PDA

View Full Version : WineCVS.sh per installare HL2 su linux


m4dmax
13-08-2008, 18:06
innanzi tutto vi dico che ho Ubuntu 8.04, vi premetto che sono piuttosto a 0 per quel che riguarda linux/unix, un pò di basi le ho in java e php... ma qui le cose si complicano un pò viste le differenze.

cmq... stavo provando ad installare HL2 (counterstrike source) su UBU seguendo questa guida: http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO%20Steam

il primo problema quando mi chiede di installare alcune app / librerie etc, fortuna c'è la stringa per installare tutto il necessario

Debian or Ubuntu users can just use:

apt-get install cvs build-essential bison flex-old libasound2-dev x-window-system-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libttf-dev msttcorefonts libfontconfig1-dev

solo che non installa x-window-system-dev, quindi ho eliminato questa parte di stringa, sperando non servisse e tutto è filato liscio.

poi lancio l' .sh bash WineCVS.sh e seguo le istruzioni, mi da un errore, ma sistemo tutto installando l'autoconf sudo apt-get install autoconf

ora però mi sono fermato a quest'ERRORE:

Configuring ...


TIP: You can get basic support for Wine/Cedega by IRC:
Server: irc.freenode.net
--------- Error log - file /home/mio_utente/.WineCVS/sources/cvscedega/ErrorLog : ---------ine support: go to channel #winehq
checking for shm_unlink... yes
checking for lclint... no
checking for lint... no
checking if the preloader should be built... yes
checking for pthread_create in -lpthread... yes
checking for pthread_attr_setstack... no
checking for sqrt in -lm... yes
checking for i386_set_ldt in -li386... no
checking for _oss_ioctl in -lossaudio... no
checking for iswalnum... yes
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for _xpg4_setrunelocale in -lxpg4... no
checking for mmap in -lmmap... no
checking for openpty... no
checking for openpty in -lutil... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for main in -lz... yes
checking for png_create_write_struct in -lpng... yes
checking for res_9_init in -lresolv... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking for XkbQueryExtension in -lX11... no
checking for X11/extensions/XShm.h... no
configure: WARNING: XShm extension not found, Wine will be built without it
checking for X11/Xutil.h... yes
checking for X11/Intrinsic.h... no
configure: error: Missing required package libXt.


Error in Configure

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


manca qualke pacchetto, libXt non so cosa sia e dove trovarlo. chiedo aiuto. Grazie !

m4dmax
13-08-2008, 18:18
saltato il problema installando: libxext-dev

ora sono al passo 5 - MAKE

0 = Uninstall
1 = Cleanup
2 = CVS checkout
3 = Configure
4 = Make depend
5 = Make
6 = Make install
7 = Finish up

sto perdendo un sacco di tempo, perchè voglio capire gli errori che mi dà, anche se non so di preciso a cosa servono tutte le librerie, almeno apprendo qualcosa.

installazione riuscita. THX, cmq ! ;)