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
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
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
Most helpful comment
Are you installing libjpeg-turbo-devel ?