2013年9月26日

install gnuplot with libgd with libpng

GNUPLOT 4.6 patch 3 on mac 10.6.8:


cd freetype-2.5.0.1 ./configure prefix=/usr/local/freetype make && sudo make install cd ../libpng-1.6.6 ./configure --prefix=/usr/local/libpng export PNG_DIR=/usr/local/libpng/ make && sudo make install cd ../libgd-2.1.0 make clean which glibtool ./configure --with-png=/usr/local/libpng --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-freetype=/usr/local/freetype/ make && sudo make install gdlib-config --features cd ../gnuplot-4.6.3 make clean ./configure make && sudo make install gnuplot gnuplot> show version long