Não foi possível enviar o arquivo. Será algum problema com as permissões?
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anterior Revisão anterior Próxima revisão | Revisão anterior Próxima revisão Ambos lados da revisão seguinte | ||
software:art [2010/05/31 09:32] pedro |
software:art [2010/06/21 15:39] pedro |
||
---|---|---|---|
Linha 36: | Linha 36: | ||
===Linux=== | ===Linux=== | ||
- | * Automatic install of all dependencies: **install-aRT-dep {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-32.zip|32}} and {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-64.zip|64}} bits** are apt-based scripts (Debian, Ubuntu, and friends) to facilitate installing aRT dependencies. | + | * Automatic install of all dependencies: **install-aRT-dep {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-32.zip|32}} and {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-64.zip|64}} bits** are apt-based scripts (Debian, Ubuntu, and friends) to facilitate installing aRT dependencies. This script installs MySQL DBMS. |
* Individual dependencies | * Individual dependencies | ||
Linha 43: | Linha 43: | ||
- **[[http://www.postgresql.org/|PostgreSQL]] version 8.3 or greater**. PostgreSQL is also an open source DBMS. It is optional, but you have to install at least one DBMS. | - **[[http://www.postgresql.org/|PostgreSQL]] version 8.3 or greater**. PostgreSQL is also an open source DBMS. It is optional, but you have to install at least one DBMS. | ||
* apt install: <code> apt-get install postgresql postgis</code> | * apt install: <code> apt-get install postgresql postgis</code> | ||
- | - **[[http://www.trolltech.com/|Qt]] version 3.3.3**. Qt is a multiplatform toolkit in C++ for the development of graphic interfaces, implemented by Trolltech. | + | - **[[http://www.trolltech.com/|Qt]] version 3.3.3**. Qt is a multiplatform toolkit for the development of graphic interfaces, implemented by Trolltech. |
- | * apt: <code>apt-get install libqt3-mt-dev</code> | + | * apt install: <code>apt-get install libqt3-mt-dev</code> |
+ | - **[[http://www.gdal.org/|GDAL]]**. Geospatial Data Abstraction Library. | ||
+ | * apt install: <code>apt-get install libgdal1-dev</code> | ||
- **JPEG.** A library for working with jpeg image format. | - **JPEG.** A library for working with jpeg image format. | ||
- | * apt:<code> apt-get install libjpeg62-dev</code> | + | * apt install:<code> apt-get install libjpeg62-dev</code> |
- | - **Libdime**: A C++ class library for reading, constructing, manipulating, and writing DXF file data. Necessary to compile TerraView. | + | - **Libdime**: A library for reading, constructing, manipulating, and writing DXF file data. Necessary to compile TerraView. |
- | * apt:<code> apt-get install libdime-dev</code> | + | * apt install:<code> apt-get install libdime-dev</code> |
- **Libdrm** A direct interface with video hardware using the Linux kernel's Direct Rendering Modules. Necessary to compile TerraView. | - **Libdrm** A direct interface with video hardware using the Linux kernel's Direct Rendering Modules. Necessary to compile TerraView. | ||
- | * apt:<code> apt-get install libdrm-dev</code> | + | * apt install:<code> apt-get install libdrm-dev</code> |
- **[[http://cran-r.c3sl.ufpr.br/web/packages/sp/index.html|sp]] version at least 0.9-26**. sp is an R package with S4 classes and methods for spatial data. | - **[[http://cran-r.c3sl.ufpr.br/web/packages/sp/index.html|sp]] version at least 0.9-26**. sp is an R package with S4 classes and methods for spatial data. | ||
- **[[http://www.terralib.org/|TerraLib]] version 3.4.0**. TerraLib is a library of classes for GIS. It is available under svn:<code> | - **[[http://www.terralib.org/|TerraLib]] version 3.4.0**. TerraLib is a library of classes for GIS. It is available under svn:<code> | ||
Linha 58: | Linha 60: | ||
svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terralibx | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terralibx | ||
svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terraView | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terraView | ||
+ | </code>When using g++ 4.4.4, you have to change TePDIMixModelSpectralBandList.cpp, as follows:<code> | ||
+ | echo "#include <stdio.h>" > tmptefile | ||
+ | cat src/terralib/image_processing/TePDIMixModelSpectralBandList.cpp >> tmptefile | ||
+ | mv -f tmptefile src/terralib/image_processing/TePDIMixModelSpectralBandList.cpp | ||
+ | </code>After that, compile terraView:<code> | ||
cd terraView/linux | cd terraView/linux | ||
- | make | + | make</code>TerraLib directory needs to be registered in ''LD_LIBRARY_PATH''. Put the following lines in your ''.bashrc'' (change path to ''TERRALIBDIR'' if needed): <code> |
- | </code>The Makefile is in ''terraView/linux/''. TerraLib directory needs to be registered in ''LD_LIBRARY_PATH''. Put the following lines in your ''.bashrc'' (change path to ''TERRALIBDIR'' if needed): <code> | + | |
TERRALIBDIR=/usr/local/terralib | TERRALIBDIR=/usr/local/terralib | ||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TERRALIBDIR/terralibx/Release:/usr/lib/ogdi/ | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TERRALIBDIR/terralibx/Release:/usr/lib/ogdi/ | ||
export LD_LIBRARY_PATH | export LD_LIBRARY_PATH | ||
- | </code> If TerraLib is located at any another directory you can still install aRT by calling (replace ''/terralib/dir'' accordingly): <code> | + | </code> After that, you can running 'terraView' directly from bash. If TerraLib is located at any another directory you can still install aRT by calling (replace ''/terralib/dir'' accordingly): <code> |
R CMD INSTALL --configure-args=--with-terralib=/terralib/dir aRT | R CMD INSTALL --configure-args=--with-terralib=/terralib/dir aRT | ||
</code> | </code> |