Hhvm: jpeglib.h: No such file or directory - CentOS 7

Created on 1 Apr 2015  路  7Comments  路  Source: facebook/hhvm

Hello there, as title says i try to install hhvm on centos 7 i have already install libjpeg 1.4 ( latest rpms ) but i get this error :100:

[ 76%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/gd_jpeg.cpp.o
/tmp/hhvm/hphp/runtime/ext/gd/libgd/gd_jpeg.cpp:38:21: fatal error: jpeglib.h: No such file or directory

include "jpeglib.h"

compilation terminated.
make[2]: ** [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/gd_jpeg.cpp.o] Error 1
make[1]: *
* [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all] Error 2
make: *** [all] Error 2

build

Most helpful comment

Are you installing libjpeg-turbo-devel ?

yum install libjpeg-turbo-devel

All 7 comments

do you have /usr/include/jpeglib.h ?

what cmake command did you use?

Are you installing libjpeg-turbo-devel ?

yum install libjpeg-turbo-devel

in any case though, hhvm should error out at the cmake step if it can't find any required libraries.

sudo yum -y install libjpeg*

LibJpeg has been properly required for a while now.

@paulm17 Works also on Red Hat 7.5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fredemmott picture fredemmott  路  3Comments

ZhijieWang picture ZhijieWang  路  6Comments

simonwelsh picture simonwelsh  路  6Comments

octmoraru picture octmoraru  路  5Comments

leetwiz picture leetwiz  路  7Comments