Changeset 34657 for gs3-extensions


Ignore:
Timestamp:
2021-01-14T17:29:58+13:00 (3 years ago)
Author:
davidb
Message:

Updated details after compiling on AWS Linux2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mars-src/trunk/README.txt

    r34362 r34657  
    1 To build an Essentia-processing based collectin
     1#====
     2# Getting the extension
     3#====
    24
    3   activate python3
    4   source ./gs3-setup.bash
    5   cd .../collect/amc-essentia
    6   ./IMPORT.pl -maxdocs 2
    7   ./BUILDCOL.pl
    8   ./ACTIVATE.ps
     5Assuming you are in the Greensotne3 top-level (i.e. GSDL3SRCHOME) directory,
     6(if not already done so) this extension can be checked out as follows:
     7
     8  svn co https://svn.greenstone.org/gs3-extensions/mars-src/trunk ext/mars
     9
     10The extension is desigend to combine with an interface and site of the same name:
     11
     12  cd web/sites
     13  svn co https://svn.greenstone.org/main/trunk/model-sites-dev/mars
     14  cd ../interfaces/
     15  svn co https://svn.greenstone.org/main/trunk/model-interfaces-dev/mars
     16  cd ../..
     17
     18
     19#====
     20# Compiling the extension
     21#====
     22
     23#--
     24#<One-time-only>
     25#--
     26
     27cd ext/mars
     28./CREATE-VENV-PYTHON3.sh
     29cd ../..
     30
     31ln -s ext/mars/SETUP.sh SETUP.sh
     32#--
     33#</One-time-only>
     34#--
     35
     36source ./SETUP.sh
     37cd ext/mars
     38./CASCADE-MAKE.sh
     39
     40
     41####=======
     42# Currently bails on essentia if:
     43####=======
     44
     45
     46Checking for 'libavcodec' >= 55.34.1     : not found
     47Checking for 'libavformat'               : not found
     48Checking for 'libavutil'                 : not found
     49Checking for 'libavresample'             : not found
     50Checking for 'samplerate'                : not found
     51Checking for 'taglib' >= 1.9             : not found
     52Checking for 'yaml-0.1'                  : not found
     53Checking for 'fftw3f'                    : not found
     54Checking for 'libchromaprint'            : not found
     55
     56
     57and python-config missing
     58
     59####=======
     60
     61
     62To build an Essentia-processing based collection
     63
     64
     65  cd web/sites/.../collect/amc-essentia
     66  ./IMPORT.sh -maxdocs 2
     67  ./BUILDCOL.sh
     68  ./ACTIVATE.sh
     69
     70
     71
     72#====
     73
     74More (but scrapy) notes below
     75
     76
     77====
     78
     79Getting started with running Greenstone3+Mars commands
     80
     81Setting up your environment
     82
     83#  activate python3
     84#  source ./gs3-setup.bash
     85
     86# Above now superseded with:
     87
     88  source ./SETUP.sh
     89 
    990
    1091
Note: See TracChangeset for help on using the changeset viewer.