Configure Error Freetype.h Not Found
Contents |
here for a quick overview of the site Help php configure error freetype-config not found Center Detailed answers to any questions you might have Meta configure error libjpeg a so not found Discuss the workings and policies of this site About Us Learn more about Stack configure error your t1lib distribution is not installed correctly please reinstall it Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask configure: error: freetype.h not found ubuntu Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Configure php 5.3 fail with error : freetype.h not found (but libfreetype6-dev is installed) up vote
Configure: Error: Cannot Find Mysql Header Files Under Yes.
4 down vote favorite 1 I have configured php with the following command: ./configure \ --prefix=/opt/phpfcgi-5.3.28 \ --with-pdo-pgsql \ --with-zlib-dir \ --with-freetype-dir=/usr/include/freetype2 \ --with-libpng-dir=/usr/include/libpng \ --with-xpm-dir=/usr \ --enable-mbstring \ls \ --with-libxml-dir=/usr \ --enable-soap \ --enable-calendar \ --with-curl \ --with-mcrypt \ --with-zlib \ --with-gd \ --with-pgsql \ --disable-rpath \ --enable-inline-optimization \ --with-bz2 \ --with-zlib \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-pcntl \ --enable-mbregex \ --with-mhash \ --enable-zip \ --with-pcre-regex \ --with-mysql \ --with-mysql-dir=/etc/mysql/ \ --with-pdo-mysql \ --with-mysqli \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --enable-gd-native-ttf \ --with-openssl \ --with-libdir=/lib/x86_64-linux-gnu \ --enable-ftp \ --with-kerberos \ --with-gettext \ --enable-cgi \ --with-fpm-user=www-data \ --with-fpm-group=www-data But if I try to compile, I got the Error-Message: configure: error: freetype.h not found php compiler-errors share|improve this question asked Oct 13 '14 at 14:52 suther 1,63711225 also see bug reports bugs.php.net/66259 and bugs.php.net/64405 –Cybot Sep 22 '15
Support Search GitHub
Configure: Error: Freetype-config Not Found Centos
This repository Watch 100 Star 2,163 Fork 609 configure: error: unable to locate gmp.h centos Homebrew/homebrew-php Code Issues 26 Pull requests 15 Projects 0 Wiki Pulse Graphs utf8_mime2text() has new signature, but u8t_canonical is missing. New issue error freetype.h not found installing php53 #885 Closed colinstuart opened this Issue Nov 28, 2013 · 58 comments http://stackoverflow.com/questions/26342868/configure-php-5-3-fail-with-error-freetype-h-not-found-but-libfreetype6-dev-i Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 24 participants and others colinstuart commented Nov 28, 2013 config info in: https://gist.github.com/colinstuart/7687091 I'm having an install failure for php53: OS: OSX 10.8.5 Steps: Installed Homebrew Installed tapped https://github.com/Homebrew/homebrew-php/issues/885 successfully: brew install git brew tap homebrew/dupes brew tap josegonzalez/homebrew-php Attempted php53 install: brew install php53 --with-mysql Installs dependencies without error: libpng, freetype, gettext, jpeg, unixodbc, homebrew/dupes/zlib and fails on php53: ==> Installing php53 ==> Downloading http://www.php.net/get/php-5.3.27.tar.bz2/from/this/mirror ######################################################################## 100.0% Warning: Backing up all known pear.conf and .pearrc files Warning: If you have a pre-existing pear install outside of homebrew-php, or you are using a non-standard pear.conf location, installation may fail. ==> ./configure --prefix=/usr/local/Cellar/php53/5.3.27 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-z checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir= configure: error: freetype.h not found. danpoltawski commented Nov 28, 2013 I'm experiencing t
Firewall exim MySql scripts Utilities Web-ART WordPress Wallpapers Our Forums Donate to CryBit It's new!!! How to install Adminer on CentOS server? How to change PHP handler from SuPHP to FastCGI in a cPanel server https://crybit.com/20-common-php-compilation-errors-and-fix-unix/ Manage passwords using LastPass - Live safely How to install and configure csf http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 on CentOS/RHEL servers? [Solved] Default email account's disk space usage not updating - cPanel 20+ common PHP compilation errors and fix - Unix Posted by: Arunlal Ashok in Errors 39 Comments Compiling PHP is not an easy process by comparing with the installation of PHP using package managers like Yum or Apt-get. The main advantage not found of compiling PHP from its source code is the customization. That means you can customize your own PHP with custom modules. A lot of dependencies are required for the compilation of PHP from its source code. By using package manager the dependencies are automatically detected and install with the corresponding package. Here I am listing some common PHP compilation error and fix. This will helpful for compiling freetype.h not found PHP on your server. Php compilation on server means the building and installation of PHP from its source. You may get a lot of error while compiling the PHP, here I am listing some common PHP compilation errors and their fixes. ERROR I : checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution Solution: yum install bzip2-devel ERROR II : checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ Solution: yum install curl-devel ERROR III : checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found. checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found. Solution: yum install libpng-devel ERROR IV : checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no configure: error: DBA: Could not find necessary header file(s). Solution: yum install db4-devel ERROR V : checking for png_write_image in -lpng… yes If configure
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