shell:/usr/local/php-5.1.2# './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd' '--with-zlib-dir=/lib/modules/2.4.27-2-386/kernel/lib/zlib_deflate' '--with-mysql' '--with-jpeg-dir=/usr/lib/' | grep -i jpeg
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: 2.3).
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: 2.5.33).
checking for the location of libjpeg... /usr/lib/
checking for jpeg_read_header in -ljpeg... yes
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none).
shell:/usr/local/php-5.1.2#