[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Cannot get Perl Tk to install

Posted on 2004-10-21
Medium Priority
Last Modified: 2013-12-16
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,

- Troy

Question by:Troyh
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 17

Expert Comment

ID: 12375465
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.

Author Comment

ID: 12378696
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
LVL 17

Accepted Solution

owensleftfoot earned 400 total points
ID: 12378747
Are you actually running  solaris? The error message is  telling you that you dont have a compiler installed. Get more info here -

Expert Comment

ID: 12398811
why dont you try using rpm.



Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question