While compiling release 6b on a Linux box (RHEL4 in my case) I get the following error message:
$ ./configure --enable-shared --enable-static ... checking for ranlib... ranlib checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
The way that I found to fix this was to add this CPU (x86_64) to config.sub file like the following:
*** config.sub.orig 2015-09-14 15:19:45.000000000 -0400 --- config.sub 2015-09-14 15:23:21.000000000 -0400 *************** *** 171,177 **** exit 1 ;; # Recognize the basic CPU types with company name. ! vax-* | tahoe-* | i[3456]86-* | i860-* | m32r-* | m68k-* | m68000-* \ | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ --- 171,177 ---- exit 1 ;; # Recognize the basic CPU types with company name. ! vax-* | tahoe-* | i[3456]86-* | x86_64-* | i860-* | m32r-* | m68k-* | m68000-* \ | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
Anonymous
This project is a dead project. Look at http://www.ijg.org/ or http://www.libjpeg-turbo.org/ for projects which are still alive. The former is the official IJG version and supports major new features (rarely used) and the latter is a performance refinement of the 6b version to be quite a lot faster. There is also the Mozilla JPEG project at https://github.com/mozilla/mozjpeg, which focuses on producing smaller files.