Quote:
|
How do you get into wines source directory?
|
I use mostly RPM's but I could not find an rpm for FC5 so this is what I did and I am not real good at working with source code.
Where every you downloaded the source code you will find the .bz2 or .tar file (at least for me). If it is a .bz2 type file you use bunzip2 command to unzip it and you will see a that same directory that you will now have the same file but now it has only the .tar extention. Use the tar -xvf command to untar the file. When you do that a directory will be created and all of the individual files will be placed inside that "source" directory. This is where you are to go into that creted direactory and to the ./configure, make, make depend, and install commands to install the New wine source files.
For example I downloaded my wine source file "wine-0.9.36.tar.bz2" to a directory I simply call /Downloads: Look at my wine files:
Code:
thtv@245 Downloads]$ ls -ld wine*
drwxrwxr-x 11 mythtv mythtv 4096 Feb 17 13:22 wine-0.9.31
-rw-rw-r-- 1 mythtv mythtv 84684800 Feb 17 11:03 wine-0.9.31.tar
-rw-rw-r-- 1 mythtv mythtv 189 Feb 17 11:04 wine-0.9.31.tar.bz2.sign
drwxrwxr-x 11 mythtv mythtv 4096 May 6 16:56 wine-0.9.36
-rw-rw-r-- 1 mythtv mythtv 86374400 May 6 16:32 wine-0.9.36.tar
-rw-rw-r-- 1 mythtv mythtv 189 May 6 16:33 wine-0.9.36.tar.bz2.sign
Notice that you do not see a file called "wine-0.9.36.tar.bz2". That is because this snapshot is taken after I did the bunzip2 command. Something like: $ bunzip2 wine-0.9.36.tar.bz2. But the "wine-0.9.36.tar" file was unzipped. Next I did a $ tar -xvf wine-0.9.36.tar command which created the directory as you see here:
drwxrwxr-x 11 mythtv mythtv 4096 May 6 16:56 wine-0.9.36
Change directory to go to here $ cd wine-0.9.36 do to all of the ./configure make, make depend, install stuff for the new wine source code. Also down below I have place a link. NOTICE that user and root priveledges make a difference for the make, make depend, and install commands:
Quote:
$ ./configure
$ make depend
$ make
# make install
|
I have NO Idea what I was supposed to do with the .sign file so I did nothing /shrug
Oh BTW you need to uninstall the old wine first before instaling the new wine version. Now not confuse you any further but to uninstall wine if you installed it with source code origially you have (Ithink but not sure) to go to that directory to do the make uninstall command. For example look at my directories above you will see an older version of wine I had installed:
drwxrwxr-x 11 mythtv mythtv 4096 Feb 17 13:22 wine-0.9.31
I went into that directory to to the "make uninstall" command.
I found these sites very helpful:
For removing old Wine versions:
http://www.winehq.org/site/docs/wine...NG-WINE-SOURCE
For working with source code installations and tar files:
http://www.linuxquestions.org/linux/...ms_from_Source
Please let me know if I have errored