Configure Error Freetype.h
(HY000): Can't connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock' April 11, 2016 Force redirect to HTTPS April 11, 2016 Git Pull is not possible because you have unmerged files April 4, 2016 Recent CommentsArchives April 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 December 2014 Categories commands errors notes quiz snippets Meta Log in Entries RSS Comments RSS WordPress.org PHP configure: error: freetype.h not found July 14, 2015 adminphp On Centos: sudo yum install freetype-devel On Ubuntu: sudo apt-get install libfreetype6-dev mkdir /usr/include/freetype2/freetype ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h PHP configure: error: freetype.h not found Post navigation ←PHP configure: freetype-config not foundPHP configure: Please reinstall readline - I cannot find readline.h→ Proudly powered by WordPress | Theme: Minnow by WordPress.com.
23:28 UTC Modified: 2013-12-11 21:07 UTC From: pgnet dot dev+phpbugs at gmail dot com Assigned: Status: Duplicate Package: GD related PHP Version: 5.5Git-2013-12-10 OS: linux/64 Private report: No CVE-ID: View Add Comment Developer Edit [2013-12-10 23:28 UTC] pgnet dot dev+phpbugs at gmail dot com Description: ------------ building a new pull of php 5.5, cd /usr/local/src/php-src http://www.code4foodblog.com/errors/php-configure-error-freetype-h-not-found/ git log | head commit 41cd53329871cb99799cd9a8f76151312be2e960 Merge: bc8f776 b1b23ab Author: Stanislav Malyshev
braku bibliotek developerskich, oto jeden z nich: http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 configure: error: freetype.h not found. W celu wyeliminowania w/w błędu instaliujemy następujący pakiet: configure error Debian / Ubuntu : aptitude install libfreetype6-dev (32/64 bit) RedHat / CentOS / Fedora : yum install freetype-devel.x86_64 (64 bit) / yum install freetype-devel (32 configure error freetype.h bit) Powrót » share this: facebook twitter Nawigacja Strona Główna Linux - Administacja Linux - Programy Linux - Tips and Tricks Kontakt Statystyki uptime: 410 dni, 11 godziny, 35 minut, 58 sekund IP: 31.204.154.30 Kraj: Poland Host: hosted-by-i3d.net Czas generowanie strony: 0.339s. social ulos.pl Strona poświęcona szeroko pojętej tematyce jaką jest Linux. Zawiera szereg tutoriali dotyczących administracji systemem Linux dla początkujących i trochę bardziej zaawansowanych. © 2009-2016 Świtkowski Dominik | Polityka prywatności | Mapa Strony
better with PHP 5.2. Even though D6 core is compatible with PHP 5.3 for quite some time now, a lot of contributes modules still get nasty hiccup when asked to run on the newer version. Therefore developing for both D7 and D6 at the same time becomes much less painful when running both versions of PHP in parallel. One way of doing it is using mod_php5 Apache module to serve PHP 5.3 applications, while running PHP 5.2 applications using fastcgi module. Under Ubuntu 12.04 this can be achieved by installing PHP 5.3 from the repositories and manually compiling and installing PHP 5.2 afterwards. Installing PHP 5.3 from repositories is fairly easy process, which you most probably already have under your belt, so let's just say that it looks more or less like this: sudo apt-get install php5 php5-common php5-cli php5-dev php5-mysql phpmyadmin php5-pgsql phppgadmin php5-gd php5-mcrypt php5-curl php-pear libapache2-mod-php5 php5-xdebug php5-codesniffer What is much more interesting though, and what this post will focus on, is how to add PHP 5.2 to the whole picture and make both those versions work nicely together. Please note that this tutorial is for Apache's name-based virtual hosts, and essentially leaves PHP 5.3 enabled globally while allowing to use PHP 5.2 on specific, selected virtual hosts only. Download PHP sources Let's then start with downloading PHP 5.2 sources from Unsupported Historical Releases list. I have originally started with version 5.2.10 (as it is the same version that we have on our production servers), but then was stopped short by OpenSSL error during configuration stage: /usr/include/openssl/conf.h:132:7: note: expected 'struct lhash_st_CONF_VALUE *' but argument is of type 'int *'
make: *** [ext/openssl/openssl.lo] Error 1 to which I was not able to find any good fix (relatively easy to apply anyway), so finally ended up with the most recent version from 5.2 branch - 5.2.17, where those errors haven't occured anymore. Let's then download and uncompress PHP sources into ~/Downloads/php-5.2.17 directory: mkdir -p ~/Downloads/php-5.2.17
cd ~/Downloads/php-5.2.17
wget http://museum.php.net/php5/php-5.2.17.tar.gz
tar zxf php-5.2.17.tar.gz Configure Time to configure the package. Example ./configure call could look as follows: sudo ./configure \
--prefix=/usr/share/php52 \
--datadir=/u