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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
owensleftfootCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hoonexpertCommented:
why dont you try using rpm.

regards,

Manish.
Baroda.
India.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.