Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do I get past an HTML::entities discrepancy on an RPM? Post 302130683 by sysgate on Tuesday 7th of August 2007 10:47:05 AM
Old 08-07-2007
Aparently, the application won't run without HTML::Entities, so later or now you will have to install it. If you want to supress this error message, use "--nodeps" flag, and then install HTML::Entities.. The other way for installing such perl packages is
Code:
perl -MCPAN -e install Packet::Name

...Ops. I'm reading the post again, it seems that you're doing the installation via "yum", so --nodeps won't be available. It's option to "rpm" command. If I got it correctly, first install the perl module, and then "yum"

Last edited by sysgate; 08-07-2007 at 11:54 AM..
 

9 More Discussions You Might Find Interesting

1. Linux

Failed dependencies of rpm / how does RPM check for ?

Hey, I've a problem installing a package. rpm -ivh brings the errors: libjvm.so is needed by libverify.so is needed by But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them. I have also... (2 Replies)
Discussion started by: mod
2 Replies

2. Linux

Converting source rpm to binary rpm

Hi, I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm. so I tried this rpm --rebuild somethin.src.rpm But I am gettin '--rebuild:Invalid option' as output Is there another way to rebuild source rpm.? Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies

3. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

4. Shell Programming and Scripting

Extract RPM name from path to .rpm file

It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from: /home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'. I can't get the awk syntax right: awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies

5. Shell Programming and Scripting

Change Hex character strings to HTML entities

Hi! I am not a whiz at awk and very unsure about the aplication of awk solve my problem. I was hoping for some quick pointers so I can figure this out. I have a file that looks like so: label.Asked=\u8CEA\u554F\u6E08\u307F button.Edit=\u7DE8\u96C6... (3 Replies)
Discussion started by: pinnochio
3 Replies

6. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

7. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

8. Shell Programming and Scripting

Call two files and merge all entities to create all combos

Hello, I am preparing an expanded verb morphology of Indian languages for the Open Source Community and have developed two files. The first file called root contains the verbal roots and the second (called prefix) contains all the syntactic elements which can be appended to the root file. An... (8 Replies)
Discussion started by: gimley
8 Replies

9. Shell Programming and Scripting

Copy and past html text use wrong character set - Firefox

Hello. The source code is here : WMI query to find memory slot and installed memory on each slot at post nbr 7 Looking at the text from firefox show nothing special. Then I Copy the text to notepad and make some change and save to file. Then I open the file in powershell and try to... (2 Replies)
Discussion started by: jcdole
2 Replies
HTML::Entities(3)					User Contributed Perl Documentation					 HTML::Entities(3)

NAME
HTML::Entities - Encode or decode strings with HTML entities SYNOPSIS
use HTML::Entities; $a = "Våre norske tegn bør &#230res"; decode_entities($a); encode_entities($a, "200-377"); DESCRIPTION
This module deals with encoding and decoding of strings with HTML character entities. The module provides the following functions: decode_entities($string) This routine replaces HTML entities found in the $string with the corresponding ISO-8859/1 (or with perl-5.7 or better Unicode) charac- ter. Unrecognized entities are left alone. encode_entities($string, [$unsafe_chars]) This routine replaces unsafe characters in $string with their entity representation. A second argument can be given to specify which characters to concider as unsafe. The default set of characters to expand are control chars, high-bit chars and the '<', '&', '>' and '"' characters. Both routines modify the string passed as the first argument if called in a void context. In scalar and array contexts the encoded or decoded string is returned (and the argument string is left unchanged). If you prefer not to import these routines into your namespace you can call them as: use HTML::Entities (); $encoded = HTML::Entities::encode($a); $decoded = HTML::Entities::decode($a); The module can also export the %char2entity and the %entity2char hashes which contain the mapping from all characters to the corresponding entities. COPYRIGHT
Copyright 1995-2001 Gisle Aas. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.0 2001-11-05 HTML::Entities(3)
All times are GMT -4. The time now is 07:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy