02-12-2009
Trying to install libxml2-2.6.31.tar.gz on opensuse 11.0.
Hi
I am having the exact same problem. Trying to install libxml2-2.6.31.tar.gz on opensuse 11.0. Opened in terminal and am able to configure and make without any problem. But encounter the following error during make install...
---------------------------------------------------------
Making install in include
make[1]: Entering directory `/home/admin01/Desktop/libxml2-2.6.31/include'
Making install in libxml
make[2]: Entering directory `/home/admin01/Desktop/libxml2-2.6.31/include/libxml'
make[3]: Entering directory `/home/admin01/Desktop/libxml2-2.6.31/include/libxml'
make install-exec-hook
make[4]: Entering directory `/home/admin01/Desktop/libxml2-2.6.31/include/libxml'
/bin/sh ../../mkinstalldirs /usr/local/include/libxml2/libxml
mkdir -p -- /usr/local/include/libxml2/libxml
mkdir: cannot create directory `/usr/local/include/libxml2': Permission denied
make[4]: *** [install-exec-hook] Error 1
make[4]: Leaving directory `/home/admin01/Desktop/libxml2-2.6.31/include/libxml'
make[3]: *** [install-exec-am] Error 2
make[3]: Leaving directory `/home/admin01/Desktop/libxml2-2.6.31/include/libxml'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/admin01/Desktop/libxml2-2.6.31/include/libxml'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/admin01/Desktop/libxml2-2.6.31/include'
make: *** [install-recursive] Error 1
----------------------------------------------------------------------------
Can anyone help me?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
thanks (1 Reply)
Discussion started by: dsun5
1 Replies
2. UNIX for Dummies Questions & Answers
how can i install a *.tar file?
and if the file is dirver is it the same? (3 Replies)
Discussion started by: user666
3 Replies
3. Linux
Hi there
Have anybody been successful in getting the Aubit4GL compiler to successfully compile and install on OpenSuSE 11?
Regards
Libs (3 Replies)
Discussion started by: The_Librarian
3 Replies
4. Linux
I just tried to unzip the tar.gz installation file with gzip -d file.tar.gz
and then tar -xvf file.tar. ThenI tried to install with command ./install.sh, i got the following error...
The install tar.gz package must be specified as the first argument!
Any one have an idea why this error.... (1 Reply)
Discussion started by: s_linux
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to unpack and install .tar.bz2 library.
I was told to cd /
and than tar -jxvf /source-of-library-file?...tar.bz2
to get files unpacked and installed into /
Darius
$ pwd
/
$
$ tar -jxvf /tmp/local/root/ncurses-dev-addon.tar.bz2
ncurses-dev-addon/... (3 Replies)
Discussion started by: jack2
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I'm trying to install new version of tar under solaris "tar-1.23-sol9-sparc-local.gz" in Solaris, I downloaded this version from sunfreeware.com
I unzip it and I found only binaire file no Readme...
some one vcan help ??
Thanks (2 Replies)
Discussion started by: Sigma
2 Replies
8. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
9. AIX
Hello,
I have openssl.0.9.8.1103.tar.tgz file which I have downloaded from https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl siteThe website says that the file name is openssl.0.9.8.1103.tar.z but when downloaded I get openssl.0.9.8.1103.tar.tgz as the... (2 Replies)
Discussion started by: gaugeta
2 Replies
10. Linux
Hi Guys,
I need some suggestion as how to install
openssl-1.0.1.g-1-i686.pkg.tar.tar
openssl-1.0.1.g-1-x86_64.pkg.tar.tar
on Linux system?
is for 32bit system and other is for 64 bit system linux machine.
How to untar them?
I tried few commands but did not work.
I need to upgrade to... (5 Replies)
Discussion started by: manalisharmabe
5 Replies
LEARN ABOUT OSX
xml::libxml::common
XML::LibXML::Common(3) User Contributed Perl Documentation XML::LibXML::Common(3)
NAME
XML::LibXML::Common - Constants and Character Encoding Routines
SYNOPSIS
use XML::LibXML::Common;
$encodedstring = encodeToUTF8( $name_of_encoding, $sting_to_encode );
$decodedstring = decodeFromUTF8($name_of_encoding, $string_to_decode );
DESCRIPTION
XML::LibXML::Common defines constants for all node types and provides interface to libxml2 charset conversion functions.
Since XML::LibXML use their own node type definitions, one may want to use XML::LibXML::Common in its compatibility mode:
Exporter TAGS
use XML::LibXML::Common qw(:libxml);
":libxml" tag will use the XML::LibXML Compatibility mode, which defines the old 'XML_' node-type definitions.
use XML::LibXML::Common qw(:gdome);
":gdome" tag will use the XML::GDOME Compatibility mode, which defines the old 'GDOME_' node-type definitions.
use XML::LibXML::Common qw(:w3c);
This uses the nodetype definition names as specified for DOM.
use XML::LibXML::Common qw(:encoding);
This tag can be used to export only the charset encoding functions of XML::LibXML::Common.
Exports
By default the W3 definitions as defined in the DOM specifications and the encoding functions are exported by XML::LibXML::Common.
Encoding functions
To encode or decode a string to or from UTF-8, XML::LibXML::Common exports two functions, which provide an interface to the encoding
support in "libxml2". Which encodings are supported by these functions depends on how "libxml2" was compiled. UTF-16 is always supported
and on most installations, ISO encodings are supported as well.
This interface was useful for older versions of Perl. Since Perl >= 5.8 provides similar functions via the "Encode" module, it is probably
a good idea to use those instead.
encodeToUTF8
$encodedstring = encodeToUTF8( $name_of_encoding, $sting_to_encode );
The function will convert a byte string from the specified encoding to an UTF-8 encoded character string.
decodeToUTF8
$decodedstring = decodeFromUTF8($name_of_encoding, $string_to_decode );
This function converts an UTF-8 encoded character string to a specified encoding. Note that the conversion can raise an error if the
given string contains characters that cannot be represented in the target encoding.
Both these functions report their errors on the standard error. If an error occurs the function will croak(). To catch the error
information it is required to call the encoding function from within an eval block in order to prevent the entire script from being stopped
on encoding error.
A note on history
Before XML::LibXML 1.70, this class was available as a separate CPAN distribution, intended to provide functionality shared between
XML::LibXML, XML::GDOME, and possibly other modules. Since there seems to be no progress in this direction, we decided to merge
XML::LibXML::Common 0.13 and XML::LibXML 1.70 to one CPAN distribution.
The merge also naturally eliminates a practical and urgent problem experienced by many XML::LibXML users on certain platforms, namely
mysterious misbehavior of XML::LibXML occurring if the installed (often pre-packaged) version of XML::LibXML::Common was compiled against
an older version of libxml2 than XML::LibXML.
AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas
VERSION
2.0008
COPYRIGHT
2001-2007, AxKit.com Ltd.
2002-2006, Christian Glahn.
2006-2009, Petr Pajas.
perl v5.16.2 2012-10-22 XML::LibXML::Common(3)