Changes between Initial Version and Version 1 of Libxml2-install


Ignore:
Timestamp:
08/26/08 03:42:42 (16 years ago)
Author:
skbhate
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Libxml2-install

    v1 v1  
     1== Installation: libxml2 and Perl bindings (LibXML) ==
     2
     3Follow the steps below to download and install the required softwares. Create a local install directory 'xmllibs'[[BR]]
     4(or any other convenient name) in your home directory or anywhere.We will use ''''$HOME/xmllibs'''' as an example here for local install.[[BR]]
     5All of the following installations will be done in the same base local directory i.e ''$HOME/xmllibs''.
     6
     7A.  '''Libxml2:'''[[BR]]   
     8Libxml2 is the XML C parser and toolkit. It is free software available under the [http://www.opensource.org/licenses/mit-license.html MIT License]. For more information visit [http://xmlsoft.org/][[BR]]
     9
     10 1. Download libxml2 version 2.6.28:  ftp://xmlsoft.org/libxml2/libxml2-2.6.28.tar.gz
     11
     12 2. Unzip and untar the file to a tmp directory.
     13 
     14 3. Run ''configure'' as shown below. Specify the local install directory as ''$HOME/xmllibs''
     15{{{
     16$ ./configure --prefix=$HOME/xmllibs
     17}}}
     18 4. Run
     19{{{
     20$ make
     21}}}
     22 5. Run ''make install''. This will install the required libs and executables into ''$HOME/xmllibs''.
     23{{{
     24$ make install
     25}}}
     26 6. Add ''''$HOME/xmllibs/bin'''' to the system PATH.
     27{{{
     28export PATH=$HOME/xmllibs/bin:$PATH
     29or
     30setenv PATH $HOME/xmllibs/bin:$PATH
     31}}}
     32[[BR]]
     33
     34B. '''XML::LibXML::Common-0.13''':
     35
     36
     37 1. Download ''XML-LibXML-Common'' version 0.13:  http://search.cpan.org/CPAN/authors/id/P/PH/PHISH/XML-LibXML-Common-0.13.tar.gz
     38
     39 2. Unzip and untar the file to a tmp directory.
     40 
     41 3. Generate ''Makefile'' as shown below. Specify the local install directory as ''$HOME/xmllibs''
     42{{{
     43$ perl Makefile.PL INSTALLSITEARCH=$HOME/xmllibs
     44}}}
     45 4. Run
     46{{{
     47$ make
     48}}}
     49 5. Run ''make test''. This will test the install.
     50{{{
     51$ make test
     52}}}
     53 6. Run ''make install''. This will install the required libs and executables into ''$HOME/xmllibs.''
     54{{{
     55$ make install
     56}}}
     57[[BR]]
     58
     59C. '''XML::LibXML: 1.65:'''
     60
     61 1. Download ''XML-LibXML'' version 1.65:  http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.65.tar.gz
     62
     63 2. Unzip and untar the file to a tmp directory.
     64 
     65 3. Generate ''Makefile'' as shown below. Specify the local install directory as ''$HOME/xmllibs''
     66{{{
     67$ perl Makefile.PL INSTALLSITEARCH=$HOME/xmllibs
     68}}}
     69 4. Run
     70{{{
     71$ make
     72}}}
     73 5. Run ''make test''. This will test the install.
     74{{{
     75$ make test
     76}}}
     77 6. Run ''make install''. This will install the required libs and executables into ''$HOME/xmllibs.''
     78{{{
     79$ make install
     80}}}
     81[[BR]]
     82