安装doris

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

以下摘自:/37550393.html
装fftw是安装doris的前奏,按照doris的INSTALL进行。

把fftw 拷贝到doris的目录下,进入,输“./configure --prefix=`pwd`
--enable-float”命令,结果报错,错误提示是:
configure:error:expected an absolute directory name for
--prefix:pwd
于是改为输“./configure”,自动执行,很长时间装完了,不知道行否。

有网友说可以,--prefix=是指定安装路径,不指定当然也行。

至于怎么装的,装哪儿了,不知道。

第二天,装doris,输“./configure”,提示文问有没有“g++”,有。

问有没有“libfftw3.a”,google一下,是装了fftw后的一个函数库文件,到windows下,搜索,无。

晕了,不知道fftw装在哪里的后遗症出来了。

找,在fftw的解压目录下看到一个INSTALL文件,cat 它,读到如下文字,
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX'.
于是到/usr/local/bin中找,没有。

到/usr/local/include中,也没有。

再到/usr/local/lib中,有了。

自带的说明文件居然也不准确。

奶*个熊。

指明fftw的路径,继续,类似的制定其他几个函数库的路径,经验:linux中库函数文件一般以.a结尾,一般放lib中。

一下是全过程。

===> What is your C++ compiler? [g++]
===> Do you have the FFTW library (y/n)? [n]
y
===> What is the path to the FFTW library (libfftw3f.a)? []
/usr/local/lib
===> What is the path to the FFTW include file (fftw3.h)?
[/usr/include]
/usr/local/include
you entered a non existing directory: /usr/local/include
===> What is the path to the FFTW library? [/usr/local/include] ===> Do you have the VECLIB library (y/n)? [n]
n
===> Do you have the LAPACK library (y/n)? [y]
Using default: [y]
===> What is the path to the LAPACK library liblapack.a? [/lib] /lib
Checking whether you have FORTRAN LAPACK library:
FORTRAN
===> Are you working on a Little Endian (X86 PC, Intel) machine (y/n)? [y]
y
===> Do you want to compile a more verbose DEBUG version (y/n)? [n]
(You can first compile an optimal version, then perform a make clean,
and then compile a debug version, which you can use in case doris
does not produce expected results)
n
===> Installation of Doris in directory: /usr/local/bin (y/n)? [y]
n
===> Enter installation directory (use absolute path):
/usr/local/bin/doris
===> Installation directory: /usr/local/bin/doris does not exist. ===> Should I create it (y/n)? [y]
Creating Makefile for:
compiler: g++
fftw: y
FFTW LIB DIR: /usr/local/lib
FFTW INCLUDE DIR: /usr/local/include
veclib: n
lapack: y
LAPACK dir: /lib
Little endian: y
DEBUG version: n
Install in dir: /usr/local/bin/doris
file: Makefile will be OVERWRITTEN.
===> Press enter to continue (CTRL-C to exit).
Adding lib for lapack
Adding extra lib flag for fftw: -lm (must be at end) configure has finished creating: Makefile
-------------------------------------------------
To compile the Doris software do the following:
1. Inspect the created Makefile named: Makefile
*TIP* If you like to use other compiler flags (CFLAGS), change them in file: Makefile
change them at line: 71 in file: Makefile
*TIP* the command: make -f Makefile -n
will show what happens without executing.
2. At the prompt, enter the command:
make -f Makefile
to compile an version of Doris.
*TIP* if compilation FAILS due to strptime, try uncommenting DEF8
*TIP* if compilation FAILS due to something else, please report the
problem to the mailing list, after checking the user manual
and the FAQ.
3. Enter the command: make -f Makefile install
to install the executable in directory:
/usr/local/bin/doris
This will also install the scripts residing in
directory ../bin
and it will clean up this directory (remove the object files).
4. After installation, the command:
doris -v [should now give the version number] doris -h [should give help]
doris -c [should give the copyright notice]
doris -q [should give help also]
*TIP* Make sure the installation directory is in your path.
(do a rehash or login again)
5. You are adviced to create a (slower, much more verbose) debug
version of Doris. If you get an error during running the normal
version of Doris, you can repeat the processing with this debug
executable. In order to compile a debug version, make sure the
normal version is installed. next, run the configure script again
(or set appropriate CFLAGS in file Makefile at line 72), and indicate that you do want a debug version. Then give the commands:
make clean
make -f Makefile
This compiles a debug version, named "doris". Do not use make install,
instead move this executable to "doris.debug" in the installation
directory by hand.
----------------------------------------------------------------------
DO NOT FORGET to go to directory SARtools and do a make install, and also in directory ENVISAT_TOOLS. The programs in these directories
are used in doris.
Before compiling doris, create the fftw library if you want to use it.
----------------------------------------------------------------------
MORE INFORMATION
----------------
- See the README file, the Makefile, or the users manual (at: http://enterprise.lr.tudelft.nl/doris/)
- Consider installing the Matlab InSAR toolbox.
- Report problems with this script to
b.m.kampes\@lr.tudelft.nl。

相关文档
最新文档