[Omaha.pm] Preparation for use of GD::Graph & Perl on Mac G5

philip terry pterry2 at mac.com
Sun Jan 8 19:17:06 PST 2006


Hello,

Jay, Mat, thanks for your responses on Jan. 05.  I followed Jay's approach and now apparently have zlib & libpng installed.  Default "Parent" dir for both appears to be /usr/local for both.

So, with zlib & libpng apparently installed, time to try to install gd-2.0.33 (libgd): (gd-2.0.33.tar.gz from www.boutell.com/gd/)
cd src
cp gd-2.0.33.tar.gz .
gnutar xvzf gd-2.0.33.tar.gz
cd gd-2.0.33
./configure
In output: line 124, etc., "configure" found png, but not jpeg, or freetype as expected (since have installed libpng, but not jpeg or freetype).
new Makefile has 19 pages
make check   #  in documentation (install file), says optionally can do "make check" in place of "make" ?????
In screen output:  approx. 265 lines, approx. last 125 lines with ***warnings, errors***** like syntax errors would see when compiling say a C pgm.  Looks like the file is gdft.c, a file found in gd-2.0.33 dir, is causing these errors.
Opening gdft.c in BBEdit, it appears the purpose of this file is "gd interface to freetype library".  As currently have not installed freetype library, what to think?

Anyway try:
sudo make install
In screen output: most lines are syntax type errors referencing gdft.c.  Comparing the screen output of "make install" between gd-2.0.33 and libpng installations, looks like perhaps the install for gd may have stopped prematurely?

Question: How to recover, succeed installing Boutell gd graphics library?  Might this be available on darwinports as Mat indicated libpng was?

Thanks for any comments,
Mike Terry



More information about the Omaha-pm mailing list