如何从 github repo 编译 kdesvn
how to compile kdesvn from githib repo
我已经从 github 存储库下载了 kdesvn
的源代码,因为我正在考虑对项目进行补充。现在证明,我什至无法正确编译下载的源代码:我创建了一个目录 kdesvn-build
并将其更改并启动 cmake ../
(如 https://github.com/KDE/kdesvn/blob/master/INSTALL-cmake 中所述)一些东西但随后停止说:
CMake Error: The following variables are used in this project, but
they are set to NOTFOUND. Please set them or make sure they are set
and tested correctly in the CMake files: SUBVERSION_INCLUDE_DIR
现在,我不知道 SUBVERSION_INCLUDE_DIR
应该设置成什么,也无法在网上搜索它。任何人?
这是一个包含 svn_*.h
个文件的目录。如果您使用的是 Linux,则需要安装类似 subversion-dev
的软件包。在 FreeBSD 上,头文件与主包一起安装,目录为 /usr/local/include/subversion-1/
.
我已经从 github 存储库下载了 kdesvn
的源代码,因为我正在考虑对项目进行补充。现在证明,我什至无法正确编译下载的源代码:我创建了一个目录 kdesvn-build
并将其更改并启动 cmake ../
(如 https://github.com/KDE/kdesvn/blob/master/INSTALL-cmake 中所述)一些东西但随后停止说:
CMake Error: The following variables are used in this project, but
they are set to NOTFOUND. Please set them or make sure they are set
and tested correctly in the CMake files: SUBVERSION_INCLUDE_DIR
现在,我不知道 SUBVERSION_INCLUDE_DIR
应该设置成什么,也无法在网上搜索它。任何人?
这是一个包含 svn_*.h
个文件的目录。如果您使用的是 Linux,则需要安装类似 subversion-dev
的软件包。在 FreeBSD 上,头文件与主包一起安装,目录为 /usr/local/include/subversion-1/
.