Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • johannes
  • partial_parser
  • Aloui_Dary
  • ignore_punct
  • AC
  • classifier
  • fixhelp
  • libmacaon2
  • error_predictor
  • morpho
  • ssrnn
  • tfparsing
  • silvio
  • tagger_options
  • maca_trans_frame_parser
  • alexis
  • new_config
  • tagparse
  • maca_graph_parser
20 results

INSTALL

Blame
  • INSTALL 1.10 KiB
    make -B
    =======
    CMAKE install procedure
    =======================
    
    The basic procedure to build and install macaon from sources is the following.
    - Create a build directory.
      If the sources are in the macaon-X.X.X/ directory:
        cd macaon-X.X.X
        mkdir build
        cd build
    - Launch the cmake command:
        cmake ..
    
      If you want to compile macaon with debugging options type:
        cmake -DCMAKE_BUILD_TYPE=Debug ..
    
      If you want to install macaon locally, you can specify the install path with :
        cmake -DCMAKE_INSTALL_PREFIX:PATH=/absolute/path/to/macaon_install_dir ..
    
      If you want to create a library to use in python or java
        cmake -DMACA_EXPORT=TRUE ..
      you need to install the following packages on Ubuntu
    	sudo apt-get install swig
    	sudo apt-get install libpython2.7-dev
    
    	sudo apt-get install openjdk-8-jdk 
         or
    	sudo apt-get install openjdk-7-jdk 
    
       Attention: if you have libpython2.7-dev and libpython3.X-dev installed, cmake will choose the latter
       in this case the generated libraries for Python will only work with Python 3
    
    - Build the sources with:
        make
    - Install macaon
        make install