Skip to content

Instantly share code, notes, and snippets.

@lucasw
Last active June 25, 2017 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasw/91d1bd8b4c7cf23d2cb6c06793d3f483 to your computer and use it in GitHub Desktop.
Save lucasw/91d1bd8b4c7cf23d2cb6c06793d3f483 to your computer and use it in GitHub Desktop.
wine install from source

Ubuntu 16.04 64-bit

Cloning the whole repo is super slow, probably should just get desired branch with a depth of 1.

sudo apt install bison libx11-dev:i386 libfreetype6-dev:i386

git clone git://source.winehq.org/git/wine.git wine
cd wine
git checkout remotes/origin/stable
cd ..
mkdir build_wine
../wine/configure --prefix=$HOME/other/install

Dev

configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.

Install libx11-dev:i386 libfreetype6-dev:i386

Then:

configure: libxcursor 32-bit development files not found, the Xcursor extension won't be supported.
configure: libxi 32-bit development files not found, the Xinput extension won't be supported.
configure: XShm 32-bit development files not found, X Shared Memory won't be supported.
configure: XShape 32-bit development files not found, XShape won't be supported.
configure: libXxf86vm 32-bit development files not found, XFree86 Vidmode won't be supported.
configure: libxrandr 32-bit development files not found, XRandr won't be supported.
configure: libxinerama 32-bit development files not found, multi-monitor setups won't be supported.
configure: libxcomposite 32-bit development files not found, Xcomposite won't be supported.
configure: libGLU 32-bit development files not found, GLU won't be supported.
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: pcap 32-bit development files not found, wpcap won't be supported.
configure: libdbus 32-bit development files not found, no dynamic device support.
configure: lib(n)curses 32-bit development files not found, curses won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libv4l 32-bit development files not found.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms2 32-bit development files not found, Color Management won't be supported.
configure: libpulse 32-bit development files not found or too old, Pulse won't be supported.
configure: gstreamer-1.0 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libudev 32-bit development files not found, plug and play won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: fontconfig 32-bit development files not found, fontconfig won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libtiff 32-bit development files not found, TIFF 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
configure: openal-soft 32-bit development files not found (or too old), XAudio2 won't be supported
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.

configure: WARNING: libxrender 32-bit development files not found, XRender won't be supported.

configure: WARNING: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.

configure: WARNING: libxml2 32-bit development files not found (or too old), XML won't be supported.

configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.

configure: WARNING: libgnutls 32-bit development files not found, no schannel support.

configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.

configure: WARNING: No sound system was found. Windows applications will be silent.
libglu1-mesa-dev:i386 oss4-dev:i386 libjpeg-dev:i386 libgnutls-dev:i386 libxrender-dev:i386 libldap-dev:i386 libopenal-dev:i386 libudev-dev:i386  libmpg123-dev:i386 libxcursor-dev:i386 libxslt-dev:i386 libncurses5-dev:i386 libtiff-dev:i386 libgsm1-dev:i386 libv4l-dev:i386 libdbus-1-dev:i386 libosmesa6-dev:i386 libsane-dev:i386 libxinerama-dev:i386 libxrandr-dev:i386 libxxf86vm-dev:i386 liblcms2-dev:i386 libgphoto2:i386 libfontconfig1-dev:i386 libcapi20-dev:i386 libcups2-dev:i386 
 ocl-icd-opencl-dev

Installed gstreamer1.0-plugins-base:i386, libgnutls-dev but still get message about them missing

libxi-dev:i386, libxcomposite-dev:i386 want to uninstall a lot of non i386 packages

libxi-dev:i386 wants to uninstall libxi-dev! (libgazebo7-dev libgtk2.0-dev libsdl2-dev libsdl2-mixer-dev libsimbody-dev libxi-dev)

libpulse-dev:i386 wants libglib2.0-dev:i386, but that wants to uninstall non i386 packages as well.

There is no ibpcap-dev:i386

So still have these:

configure: libxi 32-bit development files not found, the Xinput extension won't be supported.
configure: libxcomposite 32-bit development files not found, Xcomposite won't be supported.
configure: pcap 32-bit development files not found, wpcap won't be supported.
configure: libhal 32-bit development files not found, no legacy dynamic device support.
configure: libgnutls 32-bit development files too old, no bcrypt hash support.
configure: libpulse 32-bit development files not found or too old, Pulse won't be supported.
configure: gstreamer-1.0 base plugins 32-bit development files not found, gstreamer support disabled
winecfg
wine: '/home/lucasw/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
mv ~/.wine ~/.wine_old_64

Let wine install .net, gecko.

Tried out Homeworld2 install, it says no valid sound hardware detected.

@lucasw
Copy link
Author

lucasw commented Jun 25, 2017

Winetricks install from source

git clone https://github.com/Winetricks/winetricks
cd winetricks
make install DESTDIR=$HOME/other/install PREFIX=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment