Reply
Thread Tools
Posts: 6 | Thanked: 2 times | Joined on Jun 2008
#1
Is it possible to install perl CPAN module n810 with latest os2008?

CPAN depends on ExtUtils::MakeMaker, MakeMaker depends on some File::* modules. Some of them depends on ExtUtils::MakeMaker. I manually downloaded some of them, but when:

Code:
Nokia-N810-51-3:~/ExtUtils-MakeMaker-6.44# perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Pod::Man 0 not found.
Writing Makefile for ExtUtils::MakeMaker
Nokia-N810-51-3:~/ExtUtils-MakeMaker-6.44# make
-sh: make: not found
please, help!
 
Posts: 65 | Thanked: 21 times | Joined on Feb 2008
#2
Welcome, fellow perl hacker.

I'm not sure I understand your issue. You say "Is it possible to install perl CPAN module". Do you mean you can't install the CPAN module itself? Or do you mean that you are unable to _use_ the CPAN module to install some other module from CPAN?

I have verified that the CPAN module is present on my N810. There are other problems that need solving with it. But the CPAN module itself _is_ present.

For what it's worth, I have done:

apt-get install perl-base
and apt-get install perl

...and that may be where I got the CPAN module. Or it may have already been there. Those two packages are in the Maemo Chinook repository. There are other module packages available from there as well. Try: "apt-cache search perl".

You can check on the contents of any specific package with: "apt-cache show package_name"

Does any of this help?
__________________
Just another perl hacker coding python in a bottle.
 

The Following 2 Users Say Thank You to dvergin For This Useful Post:
Posts: 65 | Thanked: 21 times | Joined on Feb 2008
#3
I failed to mention in my previous post that you can: "apt-get install make"
__________________
Just another perl hacker coding python in a bottle.
 
Posts: 6 | Thanked: 2 times | Joined on Jun 2008
#4
Thank you! i have added "chinook" repository and everything become good.. )
 
Posts: 6 | Thanked: 2 times | Joined on Jun 2008
#5
but something strange with gzip.. when i try to install something using CPAN:
Code:
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
/bin/gzip: unrecognized option `--decompress'
so i try to install gzip:
Code:
> apt-get install gzip
and it gives:
Code:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  coreutils debianutils libacl1 libattr1 mktemp
The following packages will be REMOVED:
  bluez-utils busybox dnsmasq hal ke-recv libconbtui0 lsb-base maemo-pan
  netbase osso-af osso-applet-device osso-applet-languageregional
  osso-applet-location osso-applet-memory osso-bluez-compat osso-connectivity
  osso-connectivity-ui osso-connectivity-ui-btsettings
  osso-connectivity-ui-conndlgs osso-connectivity-ui-connmgr
  osso-connectivity-ui-gwsettings osso-connectivity-ui-gwwizard
  osso-connectivity-ui-iapsettings osso-connectivity-ui-statusbar osso-core
  osso-core-busybox osso-dsm osso-filemanager osso-ic osso-software-version
  osso-startup-wizard ppp
The following NEW packages will be installed:
  coreutils debianutils gzip libacl1 libattr1 mktemp
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  busybox
0 upgraded, 6 newly installed, 32 to remove and 3 not upgraded.
Need to get 2769kB of archives.
After unpacking 1164kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase ...
Please, help with solution..
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#6
gzip on the N8x0 is not the real one, but a busybox version.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
maillaxa's Avatar
Posts: 149 | Thanked: 13 times | Joined on May 2008
#7
so what ?

I also suffer of this and given the list of packages that will be removed, I fear my n810 would become unusable.

How do you workaround this ?
 
Posts: 65 | Thanked: 21 times | Joined on Feb 2008
#8
gnutar is available from the Elkins repository to replace the limited tar that comes with a fresh Maemo install.

Sadly, that repository does not have a gnuzip.

I tried entering the cpan tool and setting the gzip option to null with

o conf gzip ''

(That's two single-quotes, not one double quote.) My hope was that the cpan tool would skip over gzip and use a different tool. No joy. I was successful in zero-ing out the field. But the cpan tool went ahead and tried it anyway.

I'm out of time. ToDo: 1)find a proper gzip build for maemo, 2)try a manual install with the newly installed 'make'.
__________________
Just another perl hacker coding python in a bottle.
 

The Following User Says Thank You to dvergin For This Useful Post:
Posts: 6 | Thanked: 2 times | Joined on Jun 2008
#9
I successfully compiled gzip from sources, but CPAN hangs out when trying to process CPAN database:
Code:
cpan[1]> install Moose
CPAN: Storable loaded ok (v2.09)
Going to read /root/.cpan/Metadata
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
............................................................................DONE
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Tue, 10 Jun 2008 07:06:46 GMT
  HTTP::Date not available
...................................................................
..and n810 went to restart..

is it dead end?..
 

The Following User Says Thank You to egor For This Useful Post:
Posts: 65 | Thanked: 21 times | Joined on Feb 2008
#10
Dead end? I think not yet...

Would you be willing to share your copy of gzip?
__________________
Just another perl hacker coding python in a bottle.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:00.