Changeset 4982


Ignore:
Timestamp:
07/27/12 04:39:45 (6 years ago)
Author:
quintiliani
Message:

notes on ew2moledb compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/archiving/mole/README

    r4956 r4982  
    133133 
    134134  * Compiling ew2moledb: 
    135         Dependencies: 
    136             - Earthworm environment configuration. 
    137             - Connector/C (libmysql), a MySQL client library for C development. 
    138               Source from http://www.mysql.com/downloads/connector/c/ must be 
    139               compiled as 32-bit ! 
    140             - Compiling Connector/C (libmysql) requires 'cmake'. 
    141  
    142         Automatic compilation procedure: 
    143                 # cd mole 
    144                 # make -f makefile.XXX  
    145             Set in your environment the variable LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH), i.e.: 
     135      - Dependencies: 
     136          1) Earthworm environment configuration, for sure. 
     137          2) 32-bit Connector/C (libmysql), a MySQL client library for C development. 
     138             Download the 32-bit binary library for your platform 
     139             ( http://www.mysql.com/downloads/connector/c/ ) or compile the sources. 
     140             Only the sources of  "MySQL Connector/C (libmysql)" have been added it 
     141             within the ew repository, under earthworm/src/archiving/mole/mysql-connector-c-6.0.2 
     142             If you decide to compile libmysql from source on your Unix/Solaris computer, you need 'cmake'. 
     143             For Windows users, cmake is not strictly needed. 
     144             Get 'cmake' for your platform from http://www.cmake.org/cmake/resources/software.html 
     145 
     146      - Automatic compilation procedure: 
     147 
     148         From the directory earthworm/src/archiving/mole, you can run the usual commands: 
     149 
     150           Windows 
     151             # nmake /f makefile.nt 
     152 
     153           Unix systems 
     154             # make -f makefile.ux 
     155 
     156           Solaris 
     157             # make -f makefile.sol 
     158 
     159            On Unix/Solaris system you could have to set in your environment the 
     160            variable LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH), i.e.: 
     161 
    146162                export LD_LIBRARY_PATH=$EW_HOME/$EW_VERSION/src/archiving/mole/mysql-connector-c-build/lib 
    147163                setenv LD_LIBRARY_PATH $EW_HOME/$EW_VERSION/src/archiving/mole/mysql-connector-c-build/lib 
    148164 
    149165  * Configure ew2moledb: 
     166 
    150167        - Use one of the following files: 
    151168                ew2moledb_hyporing.d 
     
    164181                GetMsgLogo .... 
    165182 
    166   * Details about compilation of  ew2moledb: 
     183  * Some UNNECESSARY notes about ew2moledb compilation: 
    167184 
    168185        The automatic procedure approximately executes, for example on a unix machine: 
     
    174191                 # make install  
    175192                 # cd ../ew2moledb 
    176                  # make makefile.ux 
     193                 # make -f makefile.ux 
    177194 
    178195        If the compilation is not static, then set properly the variable LD_LIBRARY_PATH, i.e. 
Note: See TracChangeset for help on using the changeset viewer.