#author("2022-10-14T18:32:46+09:00","default:Miyashita","Miyashita")
#author("2023-10-27T12:04:36+09:00","default:Miyashita","Miyashita")
*GEOS インストール メモ [#e4ce486f]
**ソースのダウンロード [#z7f7a714]
公式サイト [[GEOS>https://libgeos.org]] からソースをダウンロードしてくる.~

**コンパイル [#l7242b91]
**3.10.2 [#l47f9c9e]
#codeprettify{{
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/home/miyashita/local/src/geos-3.10.2 -DCMAKE_BUILD_TYPE=Release
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=${HOME}/local/src/geos-3.10.2 -DCMAKE_BUILD_TYPE=Release
cd ..
make
make install
}}
DCMAKE_BUILD_TYPE=Release の部分は必須と INSTALL.md に書いてあった.~
make をするには build から抜ける必要がある.

**3.10.3 [#ea8a1416]
公式ページにほぼそのまま書いてある通り.
#codeprettify{{
# Unpack and setup build directory
tar xvfj geos-3.10.3.tar.bz2
cd geos-3.10.3
mkdir build
cd build
# Set up the build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/local/src/geos-3.10.3 
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${HOME}/local/src/geos-3.10.3 
# Run the build, test, install
make
make check
make install
}}

Front page   Edit Diff Attach Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes