GRASS-GIS 開発版、バージョン7のコンパイル その2
昨日の記事id:Say-no:20120130#1327939635の続き。
昨日の段階のソースで引き続きテスト。
今日のトライでは、以下のようにやったところconfigureが通った。
昨日の宣言通り、ようやくconfigure結果でopenmp=yesとなった。単純にオプションに--with-openmp="yes"をつければ良かったらしい…orz。
CFLAGS="-O3 -Wall -Werror-implicit-function-declaration -fno-common -fopenmp" LDFLAGS="-lgomp" ./configure --with-tcltk-includes="/usr/include/tcl8.5" --with-freetype-includes="/usr/include/freetype2" --with-openmp="yes"
その結果、
GRASS is now configured for: x86_64-unknown-linux-gnu Source directory: /usr/local/src/grass_trunk Build directory: /usr/local/src/grass_trunk Installation directory: ${prefix}/grass-7.0.svn Startup script in directory: ${exec_prefix}/bin C compiler: gcc -O3 -Wall -Werror-implicit-function-declaration -fno-common -fopenmp C++ compiler: c++ -g -O2 Building shared libraries: yes OpenGL platform: X11 MacOSX application: no MacOSX architectures: MacOSX SDK: Tcl/Tk NVIZ: yes BLAS support: no C++ support: yes Cairo support: yes DWG support: no FFMPEG support: no FFTW support: yes FreeType support: yes GDAL support: yes GEOS support: no JPEG support: yes LAPACK support: no Large File support (LFS): yes libLAS support: no MySQL support: no NLS support: no ODBC support: no OGR support: yes OpenGL support: yes OpenMP support: yes PNG support: yes POSIX thread support: no PostgreSQL support: no Readline support: no Regex support: yes SQLite support: no TIFF support: yes Tcl/Tk support: yes wxWidgets support: no X11 support: no
こんな感じになった。
どうも、configureのオプションに--with-○○="yes"としてあげればいいみたい。
というわけで、環境は整えてないなぁ、と思いつつ、ダメもとで--with-wxwidgets="yes"とやってみると案の定怒られて、
checking for wx-config... no configure: error: *** couldn't find wx-config wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.8.1 or above.
こんな感じのエラーが…。
明日以降、このへんをもう少し調べていきたい。
追記
libwxgtk2.8-dev及びその依存関係パッケージを入れたら、
wxWidgets support: yes
になった。なーんだ。
明日はいよいよコンパイルかな?