Apps :: Perl install on dsl4 help reuqested



I have a small app that was on a machine that died so now using this one which is running dsl4. When I try to run the app, I get;
Quote

Can't locate LWP/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at ./getdata.pl line 3.
BEGIN failed--compilation aborted at ./getdata.pl line 3.


I am used to yum, thought apt had an aptitude which was a search, but to 'play', I did an apt-get install perl to see what I found and I get;
Quote

The following packages have unmet dependencies:
liblwp2: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-10 is to be installed
perl: Depends: perl-base (= 5.6.1-8.9) but 5.8.0-18 is to be installed
Depends: perl-modules (>= 5.6.1-8.9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I did the -f which really did nothing, so I am stuck.  I don't know much on the DSL side, but I can't instsall cpan, gcc is also not intalled and can't be installed via apt, but I really think it's just the perl module lwd that needs to be installed.

I need this box shipped out Thursday (the 13th) so would really appreciate any help in resolving this.

dsl has a stripped down version of perl-5.8.0 - occasionally you get this kind of error due to dsl missing some of the files from the full version.

apt-get will not install perl on dsl without complaining of dependency issues - probably the easiest way out if you can manage it is to compile perl-5.8.0 from source - you can use the gcc1-with-libs or compile-3.3.5 extensions to do this.

The gtk2-0705.dsl extension includes full perl 5.8.7
Thanks, I must have along the way posed as a DSL guy, my bad.  I do have 5+ years with redhat/suse, etc. but I might need a bit more help (sorry).

I did download the full 5.8.8 and started by following the INSTALL doc's.  It say's do delete the Policy.sh file, none exists although there is a Policy_sh.SH file (not sure if I should delete that.)

As for the compile, I am not sure, as this is way before my gcc days.  I started by doing the  sh Configure -de script which 1st gave an error saying I was missing a Policy file, but after the <enter> came back with a few missing things, it did say thats ok, but ended with;

I don't see zip out there, either.
I can't find make or gmake, and my life depends on it.
Go find a public domain implementation or fix your PATH setting!

I assume this is the gcc1 stuff.  Is that something I can install via apt or another way.  I do appreciate the help as this is the only missing thing to be done with this project.  It is an out of the box dsl4 so nothing else has changed (if that helps)

Quote
The gtk2-0705.dsl extension includes full perl 5.8.7


Not sure what that means exactly.  Well i know it's the gtk2 update but;
1. how / where do you get
2. how to install.

I will google around a bit, but if you could answer that, it could simply solve it.

------------
upd: I found the mydsl browser, clicked gtk2, found the file you referenced and downling now.  man, if it's this easy!  Will update shortly
------------


Tnx

Next Page...
original here.