Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 May 2013, 12:23
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
[Solved] Perl module Tk install problem
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
hughc

Joined: 02 Nov 2009
Posts: 9

PostPosted: Fri 27 Jan 2012, 11:24    Post subject:  [Solved] Perl module Tk install problem
Subject description: Missing libs
 

Does Puppy linux have the X dev libs available?

I need x-dev and libxll-dev to compile additional perl libraries. To compile the Perl Tk module X dev libs and/or libx11-dev code must be present. Where are these libs located in the repository?

Thanks in advance

Last edited by hughc on Thu 15 Mar 2012, 23:35; edited 1 time in total
Back to top
View user's profile Send private message 
Burunduk

Joined: 21 Aug 2011
Posts: 52

PostPosted: Fri 27 Jan 2012, 17:26    Post subject:  

These libraries are in the devx sfs file. Are you sure it is loaded properly?

You can try to install the perl-tk package from the Ubuntu or Slackware repos but the devx.sfs is needed anyway, it contains the most of the Perl modules.
Back to top
View user's profile Send private message 
hughc

Joined: 02 Nov 2009
Posts: 9

PostPosted: Fri 27 Jan 2012, 19:10    Post subject: Sure its loaded properly  

I'm not a Perl guru. I can run simple Perl scripts. I can invoke Tkx module, its isn't as useful as Tk.
The path to Perl/bin and Perl/lib are the first entrys in my path
Any other test that could answer your question?
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 864
Location: .ar

PostPosted: Fri 27 Jan 2012, 20:12    Post subject:  

First be sure of being booting the right devxx, which contains those libs and adds core modules to you Perl.
I've installed Tk manually, just grabbing the tarballs of the CPAN site (you can check dependencies there).

Depending on the Puppy Version all that packed modules for Perl from other distros could be useless if are not compatibles (perl version and/or path issues), better install those manually or cpanm way.

_________________

Back to top
View user's profile Send private message 
Burunduk

Joined: 21 Aug 2011
Posts: 52

PostPosted: Fri 27 Jan 2012, 21:39    Post subject:  

I also was able to compile the tk module on Lupu 525 successfully. But Puppy's Perl (5.10.1 on Lupu 525/528) doesn't have the Tkx module. Do you have ActivePerl installed? I don't know much about this distribution. Maybe having more than one Perl installation can cause troubles.

Anyway, if Makefile.PL reports about missing X libraries I guess it's a problem with the devx.sfs file. To compile anything on Puppy (including Perl modules) you definitely need it.

Type make command in the terminal — "make: command not found" means the devx.sfs is not loaded.

If you have questions about the devx sfs file, please read this explanation.
Back to top
View user's profile Send private message 
hughc

Joined: 02 Nov 2009
Posts: 9

PostPosted: Mon 30 Jan 2012, 11:00    Post subject: Success
Subject description: Tk installed and works
 

Thanks for the help. The devx sfs libraries are the answer.

The process used:
Install Active Perl
Set the path to Active Perl (edit /etc/profile and update PATH)
Reboot
Install devx.sfs
cpan -fi Tk
The -fi flags are necessary. Cpan does a check after the compile and my system fails two test out of 200 plus.
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 864
Location: .ar

PostPosted: Sun 11 Mar 2012, 11:00    Post subject:  

You didn't need Active Perl as 'Perl' is there, but glad it worked for you.
Add a [SOLVED] tag in the title if this is a solved issue.

_________________

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0409s ][ Queries: 11 (0.0038s) ][ GZIP on ]