Perl/Tk install problem
Hi
*** While installing 'Perl/tk' module in my system i followed the below steps, but i got an error which is mentioned below. Can someone please suggest me how to resolve and install the module:-
Steps followed to install the 'Perl/Tk' module:
1*** bash$*cd*Tk800.022 (Tk module to install)
2*** bash$*perl*Makefile.PL
3*** bash$*make
4*** bash$*make*test
5*** bash$*su
6*** root#*make*install
At Step no.3 i got the below error
ERROR* :**
cp tkIntPlatDecls.t ../blib/arch/Tk/pTk/tkIntPlatDecls.t
cc -c* -I..* -I. -Ibitmaps* -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff*** -DVERSION=\"804.03\"* -DXS_VERSION=\"804.03\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"*** ClientWin.c
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `ClientWin.o'
Current working directory /Tk_dir/Tk-804.030/pTk
*** Error code 1
make: Fatal error: Command failed for target `pTk/libpTk.a'
I also exported the location of the file 'cc' to PATH.
Thanks
Umesh.K
Last edited by umesh_linuxq; 04-04-2012 at 04:43 AM.
|