We are desperate for help. We are trying to build the TK modules on Solaris 10. We downloaded Tk-804.027.tar.gz from CPAN and extracted the compressed tarfile using gunzip and tar, then we created the makefile by running the command perl Makefile.PL, which succeeded. However, when we ran make, we get the following errors:
cd pTk && make DEFINE=""
cd zlib && make libz.a "CC=cc" RANLIB=":"
`libz.a' is up to date.
cc -c -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/Tk -Ilibpng -Izlib -I/usr/openwin/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DVERSION=\"4.003\" -DXS_VERSION=\"800.025\" "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" PNG.c
PNG.xs:26: warning: data definition has no type or storage class
PNG.xs: In function `boot_Tk__PNG':
PNG.xs:35: `IMPORT_PHOTO' undeclared (first use in this function)
PNG.xs:35: (Each undeclared identifier is reported only once
PNG.xs:35: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `PNG.o'
Current working directory /tmp/Tk-804.027/PNG
*** Error code 1
The following command caused the error:
cd PNG && make -f Makefile all LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="" OPTIMIZE="" PASTHRU_DEFINE="" PASTHRU_INC=""
make: Fatal error: Command failed for target `subdirs'
Thanks!
(4)
]
