#1  
Old 9th May 2010, 14:37
matt_thumper matt_thumper is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default How to Install Perl/Tk

Hi,

I have downloaded and unpackaged Tk-804.028

When I try to install it via the README.linux instructions I get:

> perl Makefile.PL
/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0
Cannot find X include files via /usr/include
Cannot find X include files anywhere at ./myConfig line 369.
Compilation failed in require at Makefile.PL line 37.
BEGIN failed--compilation aborted at Makefile.PL line 39.

So I did this search:

> find / -name 'libX11.so*' -print
/usr/lib/libX11.so.6
/usr/lib/libX11.so.6.2.0

Anyone know what's wrong? Or more importantly how to resolve it?
I'm running Red Hat Enterprise.

Thanks,
Matt
Reply With Quote
Sponsored Links
  #2  
Old 9th May 2010, 20:01
matt_thumper matt_thumper is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Question also problems with it as a package

When I try to install the package I get very similar reults:

<snip>
Tk-804.028/pTk/mTk/tclGeneric/tclPanic.c
Tk-804.028/pTk/mTk/tclGeneric/tclIndexObj.c
Tk-804.028/pTk/mTk/tclGeneric/regerror.c
Tk-804.028/pTk/mTk/tclGeneric/tclFCmd.c
Tk-804.028/pTk/mTk/tclGeneric/tclThreadAlloc.c
Tk-804.028/pTk/mTk/tclGeneric/tclCompCmds.c
Tk-804.028/pTk/mTk/tclGeneric/tclAlloc.c

CPAN.pm: Going to build S/SR/SREZIC/Tk-804.028.tar.gz

/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0
Cannot find X include files via /usr/include
Cannot find X include files anywhere at ./myConfig line 369.
Compilation failed in require at Makefile.PL line 37.
BEGIN failed--compilation aborted at Makefile.PL line 39.
Warning: No success on command[/opt/ActivePerl-5.10/bin/perl-static Makefile.PL INSTALLDIRS=site]
SREZIC/Tk-804.028.tar.gz
/opt/ActivePerl-5.10/bin/perl-static Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
SREZIC/Tk-804.028.tar.gz : writemakefile NO '/opt/ActivePerl-5.10/bin/perl-static Makefile.PL INSTALLDIRS=site' returned status 512

And:
I'm on Red Hat 5.1.19.6

Thanks Again,
Matt
Reply With Quote
  #3  
Old 10th May 2010, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please install the libX11-devel package and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 14th May 2010, 01:36
matt_thumper matt_thumper is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default Wow That Didn't Work

Wow, that didn't work.
The x11 package and install screwed up Gnome and I had to completely reinstall Red Hat.
That's not the answer.
Won't try that again.
Reply With Quote
  #5  
Old 18th May 2010, 05:12
alexrock23 alexrock23 is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello friends
I was looking at p5-tk when I was having problem with PerlTK. But I could not find a single solitary site with info/manuals/docs about the package. And it appears that it is what Linux people call an 'orphaned' package. That is, there appears to be no maintainer of the code which to me, means that it is dead.
__________________
promotional codes
Reply With Quote
  #6  
Old 7th June 2010, 11:29
kendustin7 kendustin7 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I was having similar issue but after downloading libpng separately on my windows my problem was solved and never had any issue after that. I think you should also try this, may be possible you problem can be solved.
__________________
Cavas prints
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 09:53
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 03:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.