Changes between Version 134 and Version 135 of FAQ


Ignore:
Timestamp:
Dec 14, 2017, 6:12:18 PM (6 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v134 v135  
    5050}}}
    5151
    52 
    53 === Using automake I get an error message "directory should not contain /" ===
    54 
    55  * Probably you have an outdated automake version installed, we have seen such problems with 1.7.9. Upgrade to at least 1.10.1.
    56 
    57 === ''./configure'' complains that some further packages are required during installation ===
    58 
    59  * These are summarized on the [wiki:RequiredPackages] page.
    60 
    61 === ''./configure'' complains about missing ''curses'' ===
    62 ... although ''ncurses'' is there.
    63 
    64  * You have run into a [http://bugs.gentoo.org/67481 bug in the ncurses package]; in /usr/lib, manually create symlinks ''libcurses.a -> libncurses.a'' and ''libcurses.so -> libncurses.so''.
    65 
    66 === ''./configure'' complains that some required files, like install-sh, cannot be found === 
    67 
    68  * retry ''./configure'' after running
    69 {{{
    70 $ automake --add-missing
    71 }}}
    72 
    73 === ''./configure'' complains that C++ compiler cannot create executables ===
    74 
    75  * This means that either you haven't installed gcc/g++ or something got corrupted. On Debian it seems to happen when adding LIBS='-lecpg -lgdal1.7.0' to the ./configure command.
    76 
    77 === make complains about missing Makefiles ===
    78 ...such as in the time/ directory, and issues error messages like "No rule to make target `../time/libtime.a', needed by `rasserver'.  Stop.".
    79 
    80  * retry ''./configure'' after running
    81 {{{
    82 $ autoreconf
    83 $ automake
    84 }}}
    85 
    8652=== I get C++ compilation errors. ===
    8753
     
    9460=== On a 64bit architecture I get linkage errors (e.g., when linking GDAL with the rasdaman driver) like "relocation R_X86_64_32 against `.bss' can not be used" ===
    9561
    96  * Make sure you use the proper compiler version (see [wiki:RequiredPackages]). GNU folks have a relaxed view on backwards compatibility even with minor release changes, and we have experienced problems related to this in the past.
    97  * retry ''./configure'' with these extra flags:
    98 {{{
    99 $ ./configure CFLAGS=-fPIC CXXFLAGS=-fPIC LDFLAGS=-fPIC ...other options...
    100 $ make install
    101 }}}
     62 * Make sure you use the proper compiler version. GNU folks have a relaxed view on backwards compatibility even with minor release changes, and we have experienced problems related to this in the past.
     63 * Retry ''cmake'' with `-DENABLE_PIC=ON`
    10264
    10365=== rview doesn't work in 64 bit systems ===
     
    145107
    146108=== After installing I cannot find the documentation in the install directory ===
    147 To include PDF and HTML documentation in the build process, which takes some time to build, you have to specify explicitly `--with-docs` when invoking `./configure`
     109
     110To include PDF and HTML documentation in the build process, which takes some time to build, you have to specify explicitly `-DGENERATE_DOCS=ON` when running `cmake`.
    148111
    149112=== How to reinitialize RASBASE ===
     
    201164  2. '''Socket directory:''' using '/var/lock/postgresql' as socket directory makes rasdl fail for a reason still to be found. Switching back to the default socket dir '/var/run/postgresql' resolves the issue. (thanks to Alexander Herzig!)
    202165
    203 === Undefined reference to 'ECPGconnect' ... ===
    204 In Ubuntu you may get this error:
    205 {{{
    206 adminif.cc:(.text+0x4b): undefined reference to `ECPGconnect'
    207 adminif.cc:(.text+0x71): undefined reference to `ECPGtrans'
    208 adminif.cc:(.text+0x80): undefined reference to `ECPGdisconnect'
    209 ../reladminif/libreladminif.a(databaseif.o): In function `DatabaseIf::disconnect()':
    210 
    211 mdddomaintype.cc:(.text+0x720): undefined reference to `ECPGdo'
    212 collect2: ld returned 1 exit status
    213 make[2]: *** [rasserver] Error 1
    214 make[2]: Leaving directory `/home/rasdaman/rasdaman/server'
    215 make[1]: *** [install-recursive] Error 1
    216 make[1]: Leaving directory `/home/rasdaman/rasdaman/server'
    217 make: *** [install-recursive] Error 1
    218 }}}
    219 
    220 To fix it, set the libs explicitly at configure, e.g.
    221 {{{
    222 ./configure --prefix=/home/rasdaman/install LIBS='-lecpg -lgdal1.7.0'
    223 }}}
    224 
    225166=== Deleting big collection imported rasimport results in 'Serializable database error...' ===
    226167The `rasgeo` toolbox which contains `rasimport` is phased out and de-supported. Use the standards-based [wiki:WCSTImportGuide WCS-T suite] for coverage management, in particular: the OGC WCS-T `DeleteCoverage` request for a clean deletion of coverages.
     
    341282...when trying to use ''hdf()'' or ''inv_hdf()'' - what can I do?
    342283
    343  * HDF4 needs to be compiled in explicitly. Re-generate rasdaman saying
    344 {{{
    345 $ make clean
    346 $ autoreconf
    347 $ ./configure --with-hdf4 ...other options...
    348 $ make
    349 $ make install
    350 }}}
     284 * HDF4 needs to be compiled in explicitly. Re-generate with cmake option `-DUSE_HDF4=ON`.
    351285
    352286
     
    354288...when trying to use ''netcdf()'' or ''inv_netcdf()'' - what can I do?
    355289
    356  * NetCDF needs to be compiled in explicitly. Re-generate rasdaman saying
    357 {{{
    358 $ make clean
    359 $ autoreconf
    360 $ ./configure --with-netcdf ...other options...
    361 $ make
    362 $ make install
    363 }}}
    364    Supported NetCDF library version is 4.0+. It provides netcdf4 (including HDF, classic, and 64) and netcdf3 (as the API is backwards compatible).
    365    Limitations: only atomic cell types, but no struct types are supported at this moment; and metadata are not preserved (they have to be stored separately in PostgreSQL tables)
     290 * NetCDF needs to be compiled in explicitly. Re-generate rasdaman with cmake option `-DUSE_NETCDF=ON`.
     291
     292Supported NetCDF library version is 4.0+. It provides netcdf4 (including HDF, classic, and 64) and netcdf3 (as the API is backwards compatible).
     293Limitations: only atomic cell types, but no struct types are supported at this moment; and metadata are not preserved (they have to be stored separately in PostgreSQL tables)
    366294
    367295=== The NetCDF generated by rasdaman is not recognized by NetCDF tools ===