УкраїнськаEnglishmRussian
Вход/Новый
В теме много сообщений

Webvision problem in Debian and Ubuntu


Автор Сообщение
Сообщение создано: 05. 08. 2009 [16:52]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3750
This problem early detected on Debian and libgd2. LibGD2 use fontconfig for fonts search but can not open base fonts 'Arial' and 'Times'. Perhaps fontconfig configuration broken. In this case image not draw. I am corrected this for draw only trends without text, but text write it is Debian system bug.

Learn, learn and learn better than work, work and work.
Сообщение создано: 06. 08. 2009 [14:23]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 42
roman wrote:

This problem early detected on Debian and libgd2. LibGD2 use fontconfig for fonts search but can not open base fonts 'Arial' and 'Times'. Perhaps fontconfig configuration broken. In this case image not draw. I am corrected this for draw only trends without text, but text write it is Debian system bug.



SOLVED

The problem in Debian and Ubuntu is that libgd2 is built without fontconfig.

How to solve:

>apt-get source libgd2-noxpm //Download the source
>cd libgd2-2.0.36~rc1~dfsg //Enter Source Dir
>apt-get build-dep ligd2-noxpm //Download Dependencies

Edit debian/rules
delete --whithout-fontconfig in line:
DEB_CONFIGURE_FLAGS_noxpm = --without-x --without-xpm --without-fontconfig

And then built the new packages:

dpkg-buildpackage -rsudo -uc -b


And that's all, trends and text in webvision are OK in Debian and Ubuntu (Debian Based and the most popular Linux in western Europe I think).






9704