Changes between Version 1 and Version 2 of BuildingOnUnix
- Timestamp:
- Dec 12, 2007, 10:49:15 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnUnix
v1 v2 21 21 * There are quite a few optional drivers that depend on "external libraries". Use ''configure --help'' to see the configure options. Some optional libraries include those for GRASS, FITS, OGDI, HDF4, JPEG2000 and ECW. 22 22 23 * check the output of configure carefully if there are any problems. The summary shows clearly what will be included in the build. The tests above can provide clues to an unexpected result. 24 23 25 * The shared library building is pretty specific to the GNU tool chain. If you are using something different than GNU C++, then you will likely finding that the .so files isn't built successfully. You could just link against the static libraries (normally gdal/gdal.a) or you could hack LD_SHARED command in gdal/GDALmake.opt to work on your platform. For the SGI a value of ''c++ -shared -all'' is often suitable. 24 26 … … 33 35 * If you are trying to install as other than root (to your own tree set with --prefix) you will likely have problems with the python since it always tries to install under the site-packages directory for the installed python tree. If you don't need python support you can suppress it at configure using --without-python, or override the python module output directory at configure time with the --with-pymodir='''directory''' 34 36 37 A Working Example - Ubuntu 7.1 w/ GDAL 1.5 35 38 39 * to add curl support, install the curl dev package in addition to the existing curl 40 41 * for external script languages, like Python, you MUST install '''SWIG 1.3''' 42 for Python support (''recommeded'') install Python Dev and optionally NumPy dev 43 44 45 46