php - configure: error: jpeglib.h not found - Ask Ubuntu


i trying compile php 5.3.29 on ubuntu 14.04. getting error - configure: error: jpeglib.h not found.

here options.sh :

#!/bin/bash # can override config options easily. # create custom options file; may version specific: # - custom-options.sh # - custom-options-5.sh # - custom-options-5.3.sh # - custom-options-5.3.1.sh # # don't touch file here - prevent "svn up" # phpfarm source code.  version=$1 vmajor=$2 vminor=$3 vpatch=$4  #gcov='--enable-gcov' configoptions="\ --enable-bcmath \ --with-mysqli \ --with-png \ --with-gd \ --enable-gd-native-ttf \ --enable-calendar \ --enable-exif \ --enable-ftp \ --enable-mbstring \ --enable-pcntl \ --enable-soap \ --with-pdo-mysql \ --enable-sockets \ --enable-sqlite-utf8 \ --enable-wddx \ --enable-zip \ --with-openssl \ --with-jpeg-dir=/usr/lib \ --with-png-dir=/usr/lib \ --with-freetype-dir=/urs/lib \ --with-zlib \ --with-gettext \ --with-mcrypt \ --with-bz2 \ --with-mysql=/usr \ $gcov"  echo $version $vmajor $vminor $vpatch 

i've googled error haven't found solution works me.

all appreciated.

edit:

before had line in options.sh --with-curl \. had remove temporary fix, since on compiling asked me reinstall curl, whereas installed. tried sudo yum install libcurl-devel, said package not found. did not know solution removed line temporary fix.

would appreciate if come better solution.

thanks in advance!

i'm not sure if using ubuntu @ all. sudo yum install libcurl-devel not work in ubuntu.

that said,jpeglib.h provided libjpeg-turbo8-dev. install using:

sudo apt-get install libjpeg-turbo8-dev 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User