Forums

[question] how-to create .pol from source / compile

Auteur Réponses
fekir Mercredi 21 September 2011 à 17:45
fekirAnonymous

I was searching for a tutorial for compiling wine and running it from source.
If I "simply" do ./configure && make i obtain a directory that 200mb.

I noticed that the .pol packages are ca 75mb heavy, so I was asking myself how you do it, and it is possible to run wine from the pol package without having wine installed...

if i do make clean my directory occupies ca 125mb and I can't run wine from source...

thanks to everyone!
Quentin PÂRIS Mercredi 21 September 2011 à 22:20
Quentin PÂRISAnonymous

You can build wine like this :

./configure --prefix=/
make
make install DESTDIR="$HOME/.PlayOnLinux/wine/linux-x86/version-name"
fekir Vendredi 23 September 2011 à 22:09
fekirAnonymous

thank you, I'll try
fekir Dimanche 25 September 2011 à 12:48
fekirAnonymous

if I want to remove the installed package I just need to remove "$HOME/.PlayOnLinux/wine/linux-x86/version-name" , right?
Quentin PÂRIS Dimanche 25 September 2011 à 12:58
Quentin PÂRISAnonymous

yep
fekir Dimanche 25 September 2011 à 14:03
fekirAnonymous

ok, now I'm compiling, I'll check after "make install" how much space it'll take.

Because I have more than one user on my laptop I would like to "install" different versions of wine (and after it some windows-programs) under /opt, so i thought I could do

./configure --prefix=/
make
make install DESTDIR="/opt/wine-version"

or is it

./configure --prefix=/opt/wine-version
make
make install

better? are there any difference?

thank you very much Tinou
Quentin PÂRIS Dimanche 25 September 2011 à 14:47
Quentin PÂRISAnonymous

I think that the second one is better, but with the first one, you can choose where to install after building
fekir Dimanche 25 September 2011 à 19:34
fekirAnonymous

Ok, thanks

Now I've tried to install the package as you wrote before, I do not have Playonlinux installed so the only thing under the directory .Playonlinux is the wine version i just installed and it is ca 200mb big, if I download a .pol file and unzip it it's only 90mb big, ca. the half; am I doing something wrong? Are there some files that you have removed? Or how is it possible?
fekir Dimanche 25 September 2011 à 21:09
fekirAnonymous

doing some more research I've noticed that in my /lib/wine directory I have 177mb of things in ca. 600 files, in the /lib/wine directory of the unzipped .pol file I have 68mb of things in ca. 550 files...

edit: using meld I can view the differences between the two directories, is it somehow possible to save in a text file the result so that I can post it here?

And, (this would be the last question) what do you think would be the best way for doing a package for different wine versions that installs them in /opt and creates a link in bin?

For example I would like to run from the terminal "wine1.1.38" and the 1.1.38 wine versions under opt would be called...

I only managed to do packages with checkinstall, but I don't know how to insert the link in bin and add the needed dependencies for running wine (I think I'll need the same dependencies of the normal wine package...

again: thank you very much for all the help you gave me!

Edité par fekir

Quentin PÂRIS Dimanche 25 September 2011 à 22:18
Quentin PÂRISAnonymous

Yep, it's normal. Our building server also clean the build and remove developement files

A symbolic link should work yes
fekir Dimanche 25 September 2011 à 22:28
fekirAnonymous

Our building server also clean the build and remove developement files

Quote from Tinou

Ah, ok, does it exists some sort of guide/documentation that explains what I could clean?

A symbolic link should work yes

Quote from Tinou

Again: do you know where I could learn from? Some sort of guide/documentation?
Until now I only used checkinstall for making packages, I have no idea how I could modify one (adding a symlink and where to write the dependencies...)
BackpackJoe Lundi 11 Aoüt 2014 à 1:23
BackpackJoeAnonymous

is there a Way to do this for 64-bit versions of Wine, too?

i'm trying to recompile some for Arch, since the POL-versions seem to not work with the newer Versions of gnutls in arch.

in 32-bit the above 

./configure --prefix=/ 
make 
make install DESTDIR="$HOME/.PlayOnLinux/wine/linux-x86/version-name"

works like a charm, but with 64bit, even if i make 

./configure --enable-win64

it doesnt get reckognized as a 64bit wine version by POL.

is there a Way to change this?

 

Thanks a lot.

Quentin PÂRIS Lundi 11 Aoüt 2014 à 11:24
Quentin PÂRISAnonymous

Two problems here: 

  • Read the section "Building both 32- and 64-bit Wine from the same source tree" in the WineHQ wiki (http://wiki.winehq.org/Wine64)
  • make install DESTDIR="$HOME/.PlayOnLinux/wine/linux-amd64/version-name"
BackpackJoe Lundi 11 Aoüt 2014 à 15:15
BackpackJoeAnonymous

Thanks a Lot for your hint.

Sorry if i didnt mention, of course i already had put the Compiled 64bit version (--enable-win64) into the linux-amd64 subdir.

what i had to do was actually the Section "Building a shared WoW64 setup" in http://wiki.winehq.org/Wine64

with that Version i get past Login in League of Legends and Hearthstone.

Thanks again

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com