Сборка wine1.4 из git на Ubuntu 12.04 x64

taras taras.perebeynosov на gmail.com
Сб Мар 24 12:31:34 UTC 2012


Доброго дня всем!

Нашел в wine1.4 багу, которая мне мешает, запостил, выкатили патч. 
Стянул wine из git, применил патч и пытаюсь теперь это все собрать.
Действую по инструкции http://wiki.winehq.org/Wine64 пункт "Building a
shared WoW64 setup (most likely what you want)"

Т.е. вот так:
cd $HOME

mkdir wine64
cd wine64
../wine-git/configure --enable-win64 CC=/usr/local/gcc/bin/gcc
make > make.log 2>&1
cd ..
mkdir wine32
cd wine32
../wine-git/configure --with-wine64=../wine64
make > make.log 2>&1

Проблема со сборкой 32-битной версии:
~/wine32$ ../wine-git/configure --with-wine64=../wine64
...
checking for -lfreetype... not found
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

Ставить из репозитория не вариант:
$ sudo apt-get install libfreetype6-dev:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libexpat1-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libc6-dev:i386 linux-libc-dev:i386 zlib1g-dev:i386
Suggested packages:
  glibc-doc:i386 manpages-dev:i386
Recommended packages:
  gcc:i386 c-compiler:i386
The following packages will be REMOVED:
  build-essential dkms g++ gcc gcc-multilib libfontconfig1-dev libfreetype6-dev virtualbox-dkms
The following NEW packages will be installed:
  libc6-dev:i386 libfreetype6-dev:i386 linux-libc-dev:i386 zlib1g-dev:i386
0 upgraded, 4 newly installed, 8 to remove and 0 not upgraded.


Скачал исходники freetype-2.4.9.tar.gz, сделал ./configure && make && sudo make install
Как теперь wine указать на эту либу?

Пробовал так, но не помогает.
~/wine32$ ls /usr/local/lib
libfreetype.a  libfreetype.la  libfreetype.so  libfreetype.so.6  libfreetype.so.6.8.1  pkgconfig  python2.7
~/wine32$ ../wine-git/configure --with-wine64=../wine64 --with-freetype=/usr/local/lib

----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20120324/4e68bb8d/attachment.html>


Подробная информация о списке рассылки ubuntu-ru