Cannot get Perl Tk to install

Hi, I downloaded the laterst Stable version of Perl Tk (Tk8.00.024) and set about installing it manually.

I unzipped it to the /usr/local/ptk directory and ran the makefile on it using the command "perl makeFile.PL"

The seemed to run OK.

The next step was to run "make" after which the following erroe was reported:

cd pTk && /usr/ccs/bin/make DEFINE=""
cc -c -I.. -I/usr/openwin/include -I. -IBitmaps -I/usr/openwin/include -x03 -xdepend -DVERSION=\"800.024|" -DXS_VERSION=\"800.024|" -KPIC -Iuser/perl5/5.00503/sun4-solaris/CORE ClientWin.c
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `ClientWin.o'
Current working directory /usr/local/ptk/Tk800.024/pTk
*** Error code 1
make: Fatal error: Command failed for target `pTk/libpTk.a'

Any help greatly appreciated,

Thanks,
- Troy

TroyhAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
owensleftfootConnect With a Mentor Commented:
Are you actually running  solaris? The error message is  telling you that you dont have a compiler installed. Get more info here -
http://www.kempston.net/solaris/utilitysoftware.html
0
 
owensleftfootCommented:
The best way to install complicated packages in perl is to use the cpan module. This will download and install any dependencies for a package. To use just run
perl -MCPAN -e shell. This will give you an interactice shell. You can use "h" to get help. To install TK you would just use the command "install Perl::TK" This will download and install any required modules before downloading and installing Perk TK itself. The first time you run the CPAN module you will need to answer some questions - most of them are just a matter of accepting the default values.
0
 
TroyhAuthor Commented:
Unifrtunately, I cannot avail of this feature (although I'd like to) but my organisation used very secure, lockend down networks. I cannot link to the "outside world" to do this!

- T
0
 
hoonexpertCommented:
why dont you try using rpm.

regards,

Manish.
Baroda.
India.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.