| Author |
Message |
hughc
Joined: 02 Nov 2009 Posts: 9
|
Posted: 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
|
|
 |
Burunduk
Joined: 21 Aug 2011 Posts: 52
|
Posted: 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
|
|
 |
hughc
Joined: 02 Nov 2009 Posts: 9
|
Posted: 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
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 864 Location: .ar
|
Posted: 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
|
|
 |
Burunduk
Joined: 21 Aug 2011 Posts: 52
|
Posted: 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
|
|
 |
hughc
Joined: 02 Nov 2009 Posts: 9
|
Posted: 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
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 864 Location: .ar
|
Posted: 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
|
|
 |
|