On Mon, Jan 06, 2003 at 12:52:15PM -0700, Lance Murray wrote:

> Hello:
> 
> Try as I might I cannot seem to get the Tk module to install on either Solaris
> or NT.  As I fought the thing, I think I got the dependencies modules loaded
> (i.e., ExtUtils-MakeMaker-6.05.tar.gz, File-Spec-0.82.tar.gz).  However, when I
> try to install Tk-800.024.tar.gz (tK module), it always hangs, although in
> different places in either NT or Solaris, e.g.:
> 
> Let me know if I should be posting this elsewhere.  At this point I don't want
> to learn all the internals of Tk, I just want to get a Perl GUI application up
> and working (e.g. regexEvaluater1.2.pl).  Any help would be appreciated
> 
> Lance
> 
> 
> ### Solaris 9 (breakes on make)
> make
> [...]
> /usr/ucb/cc:  language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `ClientWin.o'
> Current working directory /export/home/murraylk/perl/Tk800.024/pTk
> *** Error code 1
> make: Fatal error: Command failed for target `pTk/libpTk.a'

Sun, in their wisdom, decided that a C compiler was an optional part of
a Unix system.  If you want to build Perl/Tk from source, I would
suggest first building Perl from source.  You can get gcc from

  http://www.sunfreeware.com/

> ### W2K/cygwin X (breaks on Makefile.PL)
> # By the way, Cygwin X/X11 is loaded and works great, e.g.:
> # $ ls /usr/X11R6/include/X11
> # [...] Xfuncproto.h [...] Xutil.h [...]  Xlib.h
> $ perl Makefile.PL
> perl is installed in /usr/lib/perl5/5.6.1/cygwin-multi okay
> PPM for perl5.006001
> Test Compiling config/signedchar.c
> ...
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lcomdlg32
> Note (probably harmless): No library found for -lgdi32
> [...]
> Cannot find 'X11/Xutil.h' assume made
> Cannot find 'X11/Xlib.h' assume made
> Cannot find 'X11/Xfuncproto.h' assume made
> [...]
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Tk::demos
> Note (probably harmless): No library found for -lcomdlg32
> Note (probably harmless): No library found for -lgdi32
> [...same library error x about 100]
> Finding dependancies for tkWin32Dll.c
> Writing Makefile for Tk
> $

It seems that the X headers and libraries were not found.

If you are on Windows, it's probably easier to get perl from
ActiveState.  It comes with Perl/Tk.

  http://www.activestate.com/Products/ActivePerl/

Let me know offlist if you need more help.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to