Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Compile Wine on Debian64

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
berillions
Posts: 41
Joined: 2010-06-12 18:40
Location: Nancy (France)

Compile Wine on Debian64

#1 Post by berillions »

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 ... 7aa692f9b1 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

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Compile Wine on Debian64

#2 Post by craigevil »

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
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

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

Re: Compile Wine on Debian64

#3 Post by berillions »

Thanks Craigevil,

but if i want to compile myself Wine's source to apply a patch for exemple, how to install the necessary libraries.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Compile Wine on Debian64

#4 Post by craigevil »

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.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: Compile Wine on Debian64

#5 Post by bugsbunny »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Compile Wine on Debian64

#6 Post by stevepusser »

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...
MX Linux packager and developer

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: Compile Wine on Debian64

#7 Post by bugsbunny »

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.

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

Re: Compile Wine on Debian64

#8 Post by berillions »

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

illbashu
Posts: 42
Joined: 2009-07-02 19:13

Re: Compile Wine on Debian64

#9 Post by illbashu »

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?

Post Reply