maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Perl packages for the n900 (https://talk.maemo.org/showthread.php?t=66068)

extendedping 2010-11-30 01:37

Re: Perl packages for the n900
 
Thanks I am going to install easy debian, I thought that the modules installed on any linux not on specific distributions, am I wrong there?

sjgadsby 2010-11-30 01:53

Re: Perl packages for the n900
 
Quote:

Originally Posted by extendedping (Post 883155)
btw, is there any reason I would need to use easy debian to download and work with cpan modules as opposed to maemo?

If you need to install modules that pull in, configure, and compile shared libraries or the like, trying to get gcc, make, and the rest into the root filesystem on the N900 can be a headache. I'm sure it can be done, but I take the easy way out use Easy Debian.

visiting01 2011-06-26 09:10

Perl LibXSLT on N900 Re: Perl packages for the n900
 
I would like to execute perl scripts with following modules:

use XML::LibXML;
use XML::LibXSLT;

Are those available somehow on n900?

Would any of those be in libxml-perl?
I tried to check libxml-perl, but it does not get installed. There are missing dependencies:
# apt-get install libxml-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libxml-perl: Depends: libxml-parser-perl but it is not installable
E: Broken packages

libxml-parser-perl has been mentioned to be missing, on the following page too:
http://talk.maemo.org/showthread.php?t=39937

lma 2011-06-26 16:38

Re: Perl packages for the n900
 
According to http://maemo.org/packages/view/libxml-parser-perl/ it's in the SDK repository. I wouldn't recommend adding that on the device, but you could download and install the .deb manually.

visiting01 2011-06-26 19:28

Re: Perl packages for the n900
 
Quote:

Originally Posted by lma (Post 1039474)
According to http://maemo.org/packages/view/libxml-parser-perl/ it's in the SDK repository. I wouldn't recommend adding that on the device, but you could download and install the .deb manually.

Thanks for the link! I am new to these.
The "SDK" version does not seem to install on the N900 device, if that was meant:
"Fremantle SDK free armel"

N900 rejects the packet. There does not seem to be any packets for the real N900 device? Regarding libxml-parser-perl.
I searched from the mentioned page and with an Internet search engine too.


Following libxml-perl page notificies about the missing dependency, libxml-parser-perl missing (red):
http://maemo.org/packages/package_in.../0.08-1maemo0/
"Warning: This package has missing dependencies!"

lma 2011-06-26 22:01

Re: Perl packages for the n900
 
Quote:

Originally Posted by visiting01 (Post 1039556)
Thanks for the link! I am new to these.
The "SDK" version does not seem to install on the N900 device, if that was meant:
"Fremantle SDK free armel"

N900 rejects the packet.

Does it say why? Anything interesting in the application manager's log?

You could also try setting up the SDK repository temporarily (but make sure you disable it afterwards). The details are:

Code:

deb http://repository.maemo.org/ fremantle/sdk free non-free
Quote:

There does not seem to be any packets for the real N900 device? Regarding libxml-parser-perl.
I searched from the mentioned page and with an Internet search engine too.
Probably not. IIRC extras-devel won't accept packages that already exist in Nokia repositories, so this case is a bit unfortunate. Normally you would file a bug for libxml-parser-perl to be copied to the device repository, but it's probably too late now.

visiting01 2011-06-27 04:31

Re: Perl packages for the n900
 
Quote:

Originally Posted by lma (Post 1039635)
Does it say why? Anything interesting in the application manager's log?

I did not check the logs from any directories. GUI just rejected it with simple words.

I tried to install it from command line. I found some errors from there: There were only some dependency problems. Those were easily solved.
Then libxml-parser-perl and libxml-perl got installed. So, I am happy regarding that now. :)

The commands which were executed now:
# dpkg -i libxml-parser-perl_2.34-4osso1_armel.deb
Selecting previously deselected package libxml-parser-perl.
(Reading database ... 32667 files and directories currently installed.)
Unpacking libxml-parser-perl (from libxml-parser-perl_2.34-4osso1_armel.deb) ...
dpkg: dependency problems prevent configuration of libxml-parser-perl:
libxml-parser-perl depends on liburi-perl; however:
Package liburi-perl is not installed.
libxml-parser-perl depends on libwww-perl; however:
Package libwww-perl is not installed.
dpkg: error processing libxml-parser-perl (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libxml-parser-perl



# apt-get install liburi-perl libwww-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libwww-perl: Depends: libhtml-parser-perl (>= 3.56) but it is not going to be installed
Depends: libhtml-tree-perl (>= 3.23) but it is not going to be installed
Depends: libhtml-tagset-perl (>= 3.20) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


# apt-get install liburi-perl libwww-perl libhtml-parser-perl libhtml-tree-perl libhtml-tagset-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libio-socket-ssl-perl
Recommended packages:
libmailtools-perl libhtml-format-perl libcompress-zlib-perl
The following NEW packages will be installed:
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl liburi-perl libwww-perl
0 upgraded, 5 newly installed, 0 to remove and 24 not upgraded.
1 not fully installed or removed.
Need to get 787kB of archives.
After this operation, 2331kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle-1.3/free liburi-perl 1.35.dfsg.1-1maemo2 [86,4kB]
Get:2 http://repository.maemo.org fremantle-1.3/free libhtml-tagset-perl 3.20-2maemo2 [13,7kB]
Get:3 http://repository.maemo.org fremantle-1.3/free libhtml-parser-perl 3.56-11maemo6 [107kB]
Get:4 http://repository.maemo.org fremantle-1.3/free libhtml-tree-perl 3.23-1maemo5.1 [209kB]
Get:5 http://repository.maemo.org fremantle-1.3/free libwww-perl 5.813-1maemo3 [371kB]
Fetched 787kB in 1s (494kB/s)
Selecting previously deselected package liburi-perl.
(Reading database ... 32724 files and directories currently installed.)
Unpacking liburi-perl (from .../liburi-perl_1.35.dfsg.1-1maemo2_all.deb) ...
Selecting previously deselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2maemo2_all.deb) ...
Selecting previously deselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.56-11maemo6_armel.deb) ...
Selecting previously deselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_3.23-1maemo5.1_all.deb) ...
Selecting previously deselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_5.813-1maemo3_all.deb) ...
Setting up liburi-perl (1.35.dfsg.1-1maemo2) ...
Setting up libhtml-tagset-perl (3.20-2maemo2) ...
Setting up libhtml-parser-perl (3.56-11maemo6) ...
Setting up libhtml-tree-perl (3.23-1maemo5.1) ...
Setting up libwww-perl (5.813-1maemo3) ...
Setting up libxml-parser-perl (2.34-4osso1) ...


# dpkg -i libxml-parser-perl_2.34-4osso1_armel.deb
(Reading database ... 32979 files and directories currently installed.)
Preparing to replace libxml-parser-perl 2.34-4osso1 (using libxml-parser-perl_2.34-4osso1_armel.deb) ...
Unpacking replacement libxml-parser-perl ...
Setting up libxml-parser-perl (2.34-4osso1) ...


# apt-get install libxml-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libxml-perl
... 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 117kB of archives.
After this operation, 426kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle-1.3/free libxml-perl 0.08-1maemo1 [117kB]
Fetched 117kB in 0s (248kB/s)
Selecting previously deselected package libxml-perl.
(Reading database ... 32979 files and directories currently installed.)
Unpacking libxml-perl (from .../libxml-perl_0.08-1maemo1_all.deb) ...
Setting up libxml-perl (0.08-1maemo1) ...
I will later check what it will bring. I would like to execute xslts too, in perl.


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

vBulletin® Version 3.8.8