You need to build gdchart with the same settings as libgd was built with. Please answer the following questions: Build JPEG support? [y] y Build Freetype support? [y] y Build XPM support? [y] y Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgd Note (probably harmless): No library found for -lpng Note (probably harmless): No library found for -ljpeg Note (probably harmless): No library found for -lfreetype Note (probably harmless): No library found for -lXpm Note (probably harmless): No library found for -lgd Note (probably harmless): No library found for -lpng Note (probably harmless): No library found for -ljpeg Note (probably harmless): No library found for -lfreetype Note (probably harmless): No library found for -lXpm Writing Makefile for GD::Chart::gdchart Writing Makefile for GD::Chart cp Chart.pm blib/lib/GD/Chart.pm cd gdchart0.11.4dev && make make[1]: Entering directory `/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/GD-Chart/gdchart0.11.4dev' cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls -DVERSION=\"\" -DXS_VERSION=\"\" +Z "-I/home/cpanrun/parisc2.0-lp64/build/5.8.2/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/CORE" -DHAVE_LIBFREETYPE array_alloc.c cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls -DVERSION=\"\" -DXS_VERSION=\"\" +Z "-I/home/cpanrun/parisc2.0-lp64/build/5.8.2/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/CORE" -DHAVE_LIBFREETYPE gdc.c cpp: "gdc.h", line 27: error 4036: Can't open include file 'gd.h'. cpp: "gdc.h", line 28: error 4036: Can't open include file 'gdfonts.h'. cpp: "gdc.h", line 29: error 4036: Can't open include file 'gdfontt.h'. cpp: "gdc.h", line 30: error 4036: Can't open include file 'gdfontmb.h'. cpp: "gdc.h", line 31: error 4036: Can't open include file 'gdfontg.h'. cpp: "gdc.h", line 32: error 4036: Can't open include file 'gdfontl.h'. cpp: "gdc.h", line 52: warning 2001: Redefinition of macro MAX. cpp: "gdc.h", line 53: warning 2001: Redefinition of macro MIN. make[1]: *** [gdc.o] Error 1 make[1]: Leaving directory `/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/GD-Chart/gdchart0.11.4dev' make: *** [gdchart0.11.4dev/libgdc.a] Error 2