Compile Wine on Debian64

Everything about X, Gnome, KDE, ... and everything running on it

Compile Wine on Debian64

Postby berillions » 2010-07-22 07:29

Hello,

On Debian32, to compile Wine, i must to install more library with "apt-get build-dep wine".

How to compile Wine on Debian 64?
Because, i read the Wine Wiki for Debian64 http://wiki.winehq.org/WineOn64bit#head-64ba498d52dd0a3ccae1c52c5d913d7aa692f9b1 but it's obsolete. the package "ia32-apt-get" doesn't exist.

How to install the library to compile correctly Wine ?
With "apt-get build-dep wine" too ?

Thanks
berillions
 
Posts: 37
Joined: 2010-06-12 18:40
Location: Nancy (France)

Re: Compile Wine on Debian64

Postby craigevil » 2010-07-22 11:13

Ignore the ia32-apt-get that is an old package.

You might want to download the amd64 version of wine 1.2 from http://dev.carbon-project.org/debian/wine-unstable/

You might also consider using the Mepis repo to install wine 1.2
http://main.mepis-deb.org/mepiscr/repo/ ... in/w/wine/

You can add the repo to your sources.list
Code: Select all
deb http://main.mepis-deb.org/mepiscr/repo/ mepis85cr main non-free
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5151
Joined: 2006-09-17 03:17
Location: Oz

Re: Compile Wine on Debian64

Postby berillions » 2010-07-22 13:32

Thanks Craigevil,

but if i want to compile myself Wine's source to apply a patch for exemple, how to install the necessary libraries.
berillions
 
Posts: 37
Joined: 2010-06-12 18:40
Location: Nancy (France)

Re: Compile Wine on Debian64

Postby craigevil » 2010-07-22 14:16

apt-get build-dep wine
should install the necessary packages.

You can check what it would install by doing
apt-get build-dep wine -s

apt-get build-dep wine -s
Code: Select all
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  bison comerr-dev flex freeglut3 freeglut3-dev krb5-multidev libasound2-dev
  libaudio-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev
  libcapi20-3 libcapi20-dev libcelt-dev libcelt0-0 libcups2-dev libdbus-1-dev
  libesd0-dev libexif-dev libexpat1-dev libffado-dev libffado2
  libfontconfig1-dev libfreetype6-dev libgcrypt11-dev libgl1-mesa-dev
  libglu1-mesa-dev libglu1-xorg-dev libgnutls-dev libgpg-error-dev
  libgphoto2-2-dev libgssrpc4 libhal-dev libice-dev libieee1284-3-dev
  libjack-dev libjpeg62-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4
  libkrb5-dev liblcms1-dev libldap2-dev libncurses5-dev libodbcinstq1c2
  libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libsamplerate0-dev
  libsane-dev libsane-extras-dev libsm-dev libssl-dev libtasn1-3-dev
  libtiff4-dev libtiffxx0c2 libusb-dev libv4l-dev libx11-dev libxau-dev
  libxcb1-dev libxcomposite-dev libxcursor-dev libxdmcp-dev libxext-dev
  libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxml++2.6-2
  libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxslt1-dev
  libxt-dev libxxf86dga-dev libxxf86vm-dev mesa-common-dev unixodbc-dev
  x11proto-composite-dev x11proto-core-dev x11proto-fixes-dev
  x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev
  x11proto-xext-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev
  x11proto-xinerama-dev xlibmesa-gl-dev xtrans-dev zlib1g-dev
0 upgraded, 94 newly installed, 0 to remove and 0 not upgraded.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5151
Joined: 2006-09-17 03:17
Location: Oz

Re: Compile Wine on Debian64

Postby bugsbunny » 2010-07-22 23:10

You can also get the dependencies from the debianized source itself, since the dependencies may be different from the version of wine that's available.

Download and extract the debianized source. Install pbuilder. From the root of the source directory run:
Code: Select all
/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude

This will install the required dependencies and also installs a package called pbuilder-satisfydepends-dummy, which depends on the dependencies. That means that after compiling you can simply remove pbuilder-satisfydepends-dummy and the dependencies will be removed (assuming autoremove). Note that you need to do that before using this for dependencies on a different package.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Compile Wine on Debian64

Postby stevepusser » 2010-07-23 04:26

That command will automatically use aptitude as the backend if it's installed...and I never have to remove the dummy package to build another package, the Debian developers have already handled that. Running the command a second time removes the first dummy package automatically. In Debian, it seems that everything is handled the smart way, compared to some other operating systems...
stevepusser
 
Posts: 3726
Joined: 2009-10-06 05:53

Re: Compile Wine on Debian64

Postby bugsbunny » 2010-07-23 11:48

I knew it runs aptitude as the backend, which is why I use it :) I think that /usr/lib/pbuilder/pbuilder-satisfydepends (without the -aptitude) also uses aptitude, if it's installed (at least on squeeze). If you want to force apt-get use /usr/lib/pbuilder/pbuilder-satisfydepends-classic.

And thinking about it the automatic removal of the dummy package makes sense. It "upgrades" the dummy package, which will remove anything not in the "new" version.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Compile Wine on Debian64

Postby berillions » 2010-08-20 15:01

Hello,

I up this topic because i'm now on Debian Sid (i changed my wifi card : It's a dongle usb wifi) and to compile correctly Wine, i install the build dependance.
So, after to compile the Wine source (./compile), i have these message at the end :
Code: Select all
configure: libhal/libdbus 32-bit development files not found, no dynamic device support.
configure: libv4l 32-bit development files not found.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.


To try, i installed libopenal 64 even if i know he wants the 32-bit development files. So, how to install the 32-bit development files to configure correctly Wine ?

Thanks
berillions
 
Posts: 37
Joined: 2010-06-12 18:40
Location: Nancy (France)

Re: Compile Wine on Debian64

Postby illbashu » 2010-08-23 05:33

berillions wrote:Hello,

I up this topic because i'm now on Debian Sid (i changed my wifi card : It's a dongle usb wifi) and to compile correctly Wine, i install the build dependance.
So, after to compile the Wine source (./compile), i have these message at the end :
Code: Select all
configure: libhal/libdbus 32-bit development files not found, no dynamic device support.
configure: libv4l 32-bit development files not found.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.


To try, i installed libopenal 64 even if i know he wants the 32-bit development files. So, how to install the 32-bit development files to configure correctly Wine ?

Thanks


I have the same prob. Does any one have a way to install those packages?
illbashu
 
Posts: 42
Joined: 2009-07-02 19:13


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable