EnglishУкраїнськаmRussian
Login/New
Topic with many replies

Webvision problem in Debian and Ubuntu


First | 1 | 2 |
Author Message
Written on: 05. 08. 2009 [16:52]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 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.
Written on: 06. 08. 2009 [14:23]
Unaie
Unai Ezta
Topic creator
registered since: 30.06.2009
Posts: 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).



First | 1 | 2 |



1545