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 | | |
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 | | |
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 | |
| 292 | Supported NetCDF library version is 4.0+. It provides netcdf4 (including HDF, classic, and 64) and netcdf3 (as the API is backwards compatible). |
| 293 | 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) |