CMake 错误:当前目录不同于

CMake 错误:当前目录不同于

我正在尝试编译 Shrewsoft VPN 的源代码。说明说要在第 4 步编译源代码。但是...我收到此错误:

user@ubuntu:~/Ubuntu One/Programs/ShrewSoft VPN$ sudo cmake –DQTGUI=YES –DETCDIR=/etc –DNATT=YES
CMake Error: The current CMakeCache.txt directory /home/user/Ubuntu One/Programs/ShrewSoft VPN/CMakeCache.txt is different than the directory /home/user/Programs/ShrewSoft VPN where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source directory "/home/user/Ubuntu One/Programs/ShrewSoft VPN/–DNATT=YES" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

指示:

Compile the Source Code for the Shrew Soft VPN Client
1.  $> cd ~/Downloads

2.  $> tar –xzvf shrewsoft-client.tgz

Change to Download directory
$> cd ~/Downloads
Unpack the Source files.
$> tar –xzvf shrewsoft-client.tgz
3.   Change to the source directory.
     $> cd ~/Downloads/ike
4.   Run cmake.
     For GUI Installation (recommended):

$> cmake –DQTGUI=YES –DETCDIR=/etc –DNATT=YES
     For non-GUI Installation:

$> cmake -DNATT=YES
5.   Run make.
     $> make
6.   Run make install. NOTE: Run 

相关内容