JPEGライブラリがないと判断する理由

config.logを見てみると...

configure:23319: checking for jpeg_destroy_decompress in -ljpeg
configure:23349: gcc -o conftest -g -O2 -I/usr/local/include -I/home/libra55/include  -I${prefix}/include -I/home/libra55/include -L/home/libra55/lib -L/usr/local/lib conftest.c -ljpeg   -lX11 -lm  >&5
usr/bin/ld: cannot find -lX11
configure:23355: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "imlib"
| #define VERSION "1.9.15"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define RETSIGTYPE void
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_BASENAME 1
| #define HAVE_STDARGS 1
| #define X_DISPLAY_MISSING 1
| #define HAVE_IPC_H 1
| #define HAVE_SHM_H 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char jpeg_destroy_decompress ();
| int
| main ()
| {
| jpeg_destroy_decompress ();
|   ;
|   return 0;
| }
configure:23380: result: no
configure:23386: error: *** JPEG library not found ***

-lX11がついてるせいだな。サーバだからXなんて入ってねーよ。