{"action":"closed","issue":{"url":"https://api.github.com/repos/libjpeg-turbo/libjpeg-turbo/issues/18","labels_url":"https://api.github.com/repos/libjpeg-turbo/libjpeg-turbo/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/libjpeg-turbo/libjpeg-turbo/issues/18/comments","events_url":"https://api.github.com/repos/libjpeg-turbo/libjpeg-turbo/issues/18/events","html_url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/18","id":106099910,"number":18,"title":"v1.4.1 does not install needed header file jinclude.h ","user":{"login":"Corin-EU","id":498138,"avatar_url":"https://avatars.githubusercontent.com/u/498138?v=3","gravatar_id":"","url":"https://api.github.com/users/Corin-EU","html_url":"https://github.com/Corin-EU","followers_url":"https://api.github.com/users/Corin-EU/followers","following_url":"https://api.github.com/users/Corin-EU/following{/other_user}","gists_url":"https://api.github.com/users/Corin-EU/gists{/gist_id}","starred_url":"https://api.github.com/users/Corin-EU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corin-EU/subscriptions","organizations_url":"https://api.github.com/users/Corin-EU/orgs","repos_url":"https://api.github.com/users/Corin-EU/repos","events_url":"https://api.github.com/users/Corin-EU/events{/privacy}","received_events_url":"https://api.github.com/users/Corin-EU/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-11T21:44:11Z","updated_at":"2015-09-12T03:35:08Z","closed_at":"2015-09-12T03:35:08Z","body":"As per the resolution of issue #17 \r\n\r\n\"libjpeg requires that you include jinclude.h before including jpeglib.h.\"\r\n\r\nlibjpeg-turbo v1.4.1 source has the file jinclude.h but does not install it from the make install command.\r\n\r\n     export DESTDIR=/var/tmp/libjpeg-turbo\r\n\r\n(just to put the test run installation into an obvious scratch directory)\r\n\r\n     make V=1 install\r\n\r\n     /bin/mkdir -p '/var/tmp/libjpeg-turbo/usr/local/X11R6/include'\r\n      /usr/bin/install -c -m 644 jerror.h jmorecfg.h jpeglib.h turbojpeg.h '/var/tmp/libjpeg-turbo/usr  /local/X11R6/include'\r\n      /bin/mkdir -p '/var/tmp/libjpeg-turbo/usr/local/X11R6/share/man/man1'\r\n      /usr/bin/install -c -m 644 cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1 '/var/tmp/libjpeg-turbo/usr/local/X11R6/share/man/man1'\r\n      /bin/mkdir -p '/var/tmp/libjpeg-turbo/usr/local/X11R6/include'\r\n     /usr/bin/install -c -m 644 jconfig.h '/var/tmp/libjpeg-turbo/usr/local/X11R6/include'\r\n     make[2]: Leaving directory '/usr/src/build/libjpeg-turbo-1.4.1'\r\n\r\n     ls -aFls /var/tmp/libjpeg-turbo/usr/local/X11R6/include/\r\n     total 160\r\n      4 drwxr-xr-x 2 root root  4096 2015-09-11 22:21 ./\r\n      4 drwxr-xr-x 6 root root  4096 2015-09-11 22:21 ../\r\n      4 -rw-r--r-- 1 root root  2211 2015-09-11 22:21 jconfig.h\r\n     16 -rw-r--r-- 1 root root 15081 2015-09-11 22:21 jerror.h\r\n     16 -rw-r--r-- 1 root root 13507 2015-09-11 22:21 jmorecfg.h\r\n     52 -rw-r--r-- 1 root root 49594 2015-09-11 22:21 jpeglib.h\r\n     64 -rw-r--r-- 1 root root 64668 2015-09-11 22:21 turbojpeg.h\r\n\r\nSo as you can see above, no jinclude.h file is installed.\r\n\r\nTherefore jinclude.h needs to be added to the list of header files to install in the target include directory, appending it in Makefile.am to whichever is more appropriate of\r\n\r\n     include_HEADERS = jerror.h jmorecfg.h jpeglib.h\r\n\r\nor\r\n\r\n     nodist_include_HEADERS = jconfig.h"}}