Changes between Version 1 and Version 2 of Library Dependencies


Ignore:
Timestamp:
09/09/11 14:28:52 (9 years ago)
Author:
beki01
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Library Dependencies

    v1 v2  
    2525= Boost C++ Libraries = 
    2626 
    27 In the most recent version, PET requires the Boost C++ graph libraries to 
    28 compile both 'flop' and 'cheap'. Since the Boost Graph libraries are 
    29 header-only libraries, it would suffice to put the Boost header files into an 
    30 appropriate location were the compiler can find them. 
     27PET requires the Boost C++ graph libraries to compile both 'flop' and 'cheap'. 
     28Similarly, the Boost Regex libraries are required. 
    3129 
    3230For Debian-based distributions, the following is the easiest way to install 
     
    3533 
    3634{{{ 
    37   sudo apt-get install libboost-graph-dev 
     35  sudo apt-get install libboost-graph-dev libboost-regex-dev 
    3836}}} 
    3937 
     
    4240path for Boost during ./configure 
    4341 
    44 Similarly the Boost Regex libraries are required. The Debian/Ubuntu package is 
    45 `libboost-regex-dev` 
    46  
    4742= UniCode Support = 
    4843 
    49 To process anything that exceeds 7-bit ASCII (which is no longer sufficient, 
    50 even, for the [http://www.delph-in.net/erg/ English Resource Grammar]), PET 
    51 makes use of the 
     44PET makes use of the 
    5245[http://icu.sourceforge.net/download/ International Components for UniCode] 
    5346(ICU) library which is available in open-source from 
    5447IBM. As of October 2010, ICU versions from 3.2 to up to the current 4.4.2 are 
    5548known to work, but earlier revisions (starting from, say, 2.6 upwards) should 
    56 also be suitable. 
     49also be suitable. Since on current distributions, even the boost regex libraries 
     50are linked against the ICU libraries, those libraries are now made mandatory to 
     51compile PET. 
    5752 
    5853On Ubuntu or Debian, simply invoke the following to get ICU installed into 
     
    8479In addition to the above, the 
    8580[http://xerces.apache.org/xerces-c/ Apache Xerces] XML Parser may be required 
    86 to compile the `cheap` parser, in case PiC or SMAF support (i.e. XML-formatted 
     81to compile the `cheap` parser, in case FSC support (i.e. XML-formatted 
    8782input to the parser) is to be compiled in. 
    8883 
     
    105100  sudo apt-get install libxerces-c-dev 
    106101}}} 
    107 Then configure PET with: 
    108 {{{ 
    109   ./configure --with-xml 
     102 
     103PET is configured to use the Xerces library if it can find it, so there's  
     104normally no need to pass a `--with-xml` parameter to `./configure`. If the 
     105library has been installed in a non-standard location, you have to provide 
     106 this location in the usual way: 
     107 
     108{{{ 
     109  ./configure --with-xml=/where/xerces/is/installed 
    110110}}} 
    111111 
    112112= XML-RPC = 
    113113 
    114 The chart-mapping branch of PET includes a preliminary XML-RPC mode. This requires the [http://xmlrpc-c.sourceforge.net/ XML-RPC-C library]. 
     114The chart-mapping branch of PET includes a preliminary XML-RPC mode.  
     115This requires the [http://xmlrpc-c.sourceforge.net/ XML-RPC-C library]. 
    115116 
    116117For debian-based distros, run: