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 

ベストアンサー1

おすすめ記事