Giter VIP home page Giter VIP logo

purc-midnight-commander's People

Contributors

ninexue avatar vincentwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

purc-midnight-commander's Issues

PurC-Midnight-Commander 编译打包时的问题

AUR 的 PKGBUILD

# Maintainer: taotieren <[email protected]>

pkgname=purc-midnight-commander-git
pkgver=1c08e99
pkgrel=1
pkgdesc="A generic HVML renderer in text mode for development and debugging. "
arch=('any')
url="https://github.com/HVML/PurC-Midnight-Commander"
license=('LGPL-3.0')
provides=(${pkgname%-git}  'PurC-Midnight-Commander')
conflicts=(${pkgname%-git})
#replaces=(${pkgname})
depends=('glib2')
makedepends=('git' 'cmake' 'ninja')
makedepends=('git' 'cmake' 'ninja' 'ccache' 'gcc' 'python' 'libxml2' 'ruby' 'curl' 'openssl' 'sqlite' 'pkgconf' 'zlib' 'icu' 'webkit2gtk-hvml')
optdepends=('domruler' 'purc-fetcher' 'purc' 'xguipro')
backup=()
options=('!strip')
#install=${pkgname}.install
source=("${pkgname%-git}::git+${url}.git")
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${pkgname%-git}/"
#     git describe --long --tags | sed 's/ver.//g;s/\([^-]*-g\)/r\1/;s/-/./g'
    git describe --always --tags | sed 's/ver.//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd "${srcdir}/${pkgname%-git}"

# CMake build
#     cmake -DCMAKE_BUILD_TYPE=Debug \
#         -DPORT=Linux \
#         -DCMAKE_INSTALL_PREFIX=/usr \
#         -DCMAKE_INSTALL_LIBDIR=lib \
#         -DCMAKE_INSTALL_LIBEXECDIR=lib \
#         -B build

#     cmake --build build

# Ninja build
    cmake -DCMAKE_BUILD_TYPE=Debug \
        -DPORT=Linux \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DCMAKE_INSTALL_LIBEXECDIR=lib \
        -B build \
        -G Ninja

    ninja -C build
}

package() {
# make install
#     make -C "${srcdir}"/${pkgname%-git}/build install DESTDIR="${pkgdir}"

# ninja install
    DESTDIR="${pkgdir}" ninja -C "${srcdir}"/${pkgname%-git}/build install
}
purc-midnight-commander-git on  master 
❯ time makepkg -sf
==> 正在创建软件包:purc-midnight-commander-git 1c08e99-1 (2022年08月26日 星期五 22时31分26秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
  -> 正在升级 purc-midnight-commander git 仓库...
==> 正在验证 source 文件,使用sha256sums...
    purc-midnight-commander ... 已跳过
==> 正在释放源码...
  -> 正在建立 purc-midnight-commander git 仓库的拷贝...
正克隆到 'purc-midnight-commander'...
完成。
==> 正在开始 pkgver()...
==> 正在删除现存的 $pkgdir/ 目录...
==> 正在开始 build()...
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Debug
-- Found Perl: /usr/bin/perl (found suitable version "5.36.0", minimum required is "5.10.0") 
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.18", minimum required is "2.7.0") 
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter 
-- Enabling ccache: Setting ccache prefix for compiler.
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-fmax-errors=10
-- Performing Test C_COMPILER_SUPPORTS_-fmax-errors=10 - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fmax-errors=10
-- Performing Test CXX_COMPILER_SUPPORTS_-fmax-errors=10 - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMIC_INT64_IS_BUILTIN
-- Performing Test ATOMIC_INT64_IS_BUILTIN - Success
-- Performing Test CXX_COMPILER_SUPPORTS_GSPLIT_DWARF
-- Performing Test CXX_COMPILER_SUPPORTS_GSPLIT_DWARF - Success
-- Looking for features.h
-- Looking for features.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - found
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Looking for ncurses.h
-- Looking for ncurses.h - found
-- Looking for utime.h
-- Looking for utime.h - found
-- Looking for linux/fs.h
-- Looking for linux/fs.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/select.h
-- Looking for sys/select.h - found
-- Looking for sys/epoll.h
-- Looking for sys/epoll.h - found
-- Looking for sys/mount.h
-- Looking for sys/mount.h - found
-- Looking for sys/statfs.h
-- Looking for sys/statfs.h - found
-- Looking for sys/statvfs.h
-- Looking for sys/statvfs.h - found
-- Looking for sys/vfs.h
-- Looking for sys/vfs.h - found
-- Looking for sys/mntent.h
-- Looking for sys/mntent.h - not found
-- Looking for sys/ucred.h
-- Looking for sys/ucred.h - not found
-- Looking for sys/fs/s5param.h
-- Looking for sys/fs/s5param.h - not found
-- Looking for sys/fs/types.h
-- Looking for sys/fs/types.h - not found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for stropts.h
-- Looking for stropts.h - not found
-- Looking for openpty.h
-- Looking for openpty.h - not found
-- Looking for pty.h
-- Looking for pty.h - found
-- Looking for util.h
-- Looking for util.h - not found
-- Looking for libutil.h
-- Looking for libutil.h - not found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for IsDebuggerPresent
-- Looking for IsDebuggerPresent - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for vsyslog
-- Looking for vsyslog - found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for openpty
-- Looking for openpty - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strverscmp
-- Looking for strverscmp - found
-- Looking for utimensat
-- Looking for utimensat - found
-- Looking for get_process_stats
-- Looking for get_process_stats - not found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for posix_openpt
-- Looking for posix_openpt - found
-- Looking for getpt
-- Looking for getpt - found
-- Looking for grantpt
-- Looking for grantpt - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for statlstat
-- Looking for statlstat - not found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for pthread_main_np
-- Looking for pthread_main_np - not found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Looking for major
-- Looking for major - not found
-- Looking for major
-- Looking for major - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BLOCKS_value
-- Performing Test HAVE_STRUCT_STAT_ST_BLOCKS_value - Success
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE_value
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE_value - Success
-- Performing Test HAVE_STRUCT_STAT_ST_RDEV_value
-- Performing Test HAVE_STRUCT_STAT_ST_RDEV_value - Success
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_value
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_value - Success
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Performing Test HAVE_STRUCT_FSSTAT_F_FSTYPENAME_value
-- Performing Test HAVE_STRUCT_FSSTAT_F_FSTYPENAME_value - Failed
-- Performing Test HAVE_STRUCT_LINGER_L_LINGER_value
-- Performing Test HAVE_STRUCT_LINGER_L_LINGER_value - Failed
-- Performing Test HAVE_STRUCT_STATFS_F_FSTYPENAME_value
-- Performing Test HAVE_STRUCT_STATFS_F_FSTYPENAME_value - Failed
-- Performing Test HAVE_STRUCT_STATFS_F_TYPE_value
-- Performing Test HAVE_STRUCT_STATFS_F_TYPE_value - Failed
-- Performing Test HAVE_STRUCT_STATVFS_F_BASETYPE_value
-- Performing Test HAVE_STRUCT_STATVFS_F_BASETYPE_value - Failed
-- Performing Test HAVE_STRUCT_STATVFS_F_FSTYPENAME_value
-- Performing Test HAVE_STRUCT_STATVFS_F_FSTYPENAME_value - Failed
-- Performing Test HAVE_STRUCT_STATVFS_F_TYPE_value
-- Performing Test HAVE_STRUCT_STATVFS_F_TYPE_value - Failed
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Check size of uintmax_t
-- Check size of uintmax_t - done
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Check size of mode_t
-- Check size of mode_t - done
-- Check size of int
-- Check size of int - done
-- Found GLIB: /usr/include/glib-2.0;/usr/lib/glib-2.0/include (found suitable version "2.72.3", minimum required is "2.44.0") 
-- Found Ncurses: /usr/lib/libncursesw.so (found suitable version "6.3.20211021", minimum required is "5.0") 
-- Looking for ESCDELAY
-- Looking for ESCDELAY - not found
-- Looking for resizeterm
-- Looking for resizeterm - not found
-- Found PurC: /usr/lib/libpurc.so (found suitable version "0.8.1", minimum required is "0.0.1") 
-- Found LibXml2: /usr/lib/libxml2.so (found suitable version "2.9.14", minimum required is "2.8.0") 
-- Platform-specific CMakeLists not found: /home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/source/wtf/wtf/PlatformLinux.cmake
-- Using source list file: Sources.txt
-- Platform-specific CMakeLists not found: /home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/source/PlatformLinux.cmake
-- Enabled features:
--  ENABLE_API_TESTS ... OFF
--  ENABLE_CHARSET       ON
--  ENABLE_VFS_CPIO .... OFF
--  ENABLE_VFS_EXTFS     OFF
--  ENABLE_VFS_FISH .... OFF
--  ENABLE_VFS_FTP       OFF
--  ENABLE_VFS_NET ..... OFF
--  ENABLE_VFS_SFS       OFF
--  ENABLE_VFS_SFTP .... OFF
--  ENABLE_VFS_TAR       OFF
--  ENABLE_VFS_UNDELFS . OFF
--  ENABLE_XML           ON
-- Configuring done
-- Generating done
-- Build files have been written to: /home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/build
ninja: Entering directory `build'
[247/247] Linking C executable source/bin/purcmc
==> 正在进入 fakeroot 环境...
==> 正在开始 package()...
ninja: Entering directory `/home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/build'
[0/1] Install the project...
-- Install configuration: "Debug"
-- Installing: /home/taotieren/git_clone/aur/purc-midnight-commander-git/pkg/purc-midnight-commander-git/usr/bin/purcmc
CMake Error at source/bin/cmake_install.cmake:75 (file):
  file Copy failed: No such file or directory
Call Stack (most recent call first):
  source/cmake_install.cmake:57 (include)
  cmake_install.cmake:47 (include)


FAILED: CMakeFiles/install.util 
cd /home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/build && /usr/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.
==> 错误: 在 package() 中发生一个错误。
    正在放弃...
makepkg -sf  10.91s user 6.54s system 122% cpu 14.253 total

purc-midnight-commander/build/source/bin/cmake_install.cmake

# Install script for directory: /home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/source/bin

# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/usr")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")

# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  if(BUILD_TYPE)
    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
  else()
    set(CMAKE_INSTALL_CONFIG_NAME "Debug")
  endif()
  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()

# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
  if(COMPONENT)
    message(STATUS "Install component: \"${COMPONENT}\"")
    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
  else()
    set(CMAKE_INSTALL_COMPONENT)
  endif()
endif()

# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  set(CMAKE_INSTALL_SO_NO_EXE "0")
endif()

# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
  set(CMAKE_CROSSCOMPILING "FALSE")
endif()

# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
  set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()

if(NOT CMAKE_INSTALL_LOCAL_ONLY)
  # Include the install script for the subdirectory.
  include("/home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/build/source/bin/purcsex/cmake_install.cmake")
endif()

if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  if(EXISTS "$ENV{DESTDIR}/usr/bin/purcmc" AND
     NOT IS_SYMLINK "$ENV{DESTDIR}/usr/bin/purcmc")
    file(RPATH_CHECK
         FILE "$ENV{DESTDIR}/usr/bin/purcmc"
         RPATH "")
  endif()
  list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
   "/usr/bin/purcmc")
  if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
    message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  endif()
  if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
    message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  endif()
  file(INSTALL DESTINATION "/usr/bin" TYPE EXECUTABLE FILES "/home/taotieren/git_clone/aur/purc-midnight-commander-git/src/purc-midnight-commander/build/source/bin/purcmc")
  if(EXISTS "$ENV{DESTDIR}/usr/bin/purcmc" AND
     NOT IS_SYMLINK "$ENV{DESTDIR}/usr/bin/purcmc")
    if(CMAKE_INSTALL_DO_STRIP)
      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/bin/purcmc")
    endif()
  endif()
endif()

if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(CREATE_LINK "/usr/bin/purcmc" "/usr/bin/purcmcdiff" COPY_ON_ERROR SYMBOLIC)
endif()

if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(CREATE_LINK "/usr/bin/purcmc" "/usr/bin/purcmcview" COPY_ON_ERROR SYMBOLIC)
endif()

if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(CREATE_LINK "/usr/bin/purcmc" "/usr/bin/purcmcedit" COPY_ON_ERROR SYMBOLIC)
endif()

构建错误

[ 5%] Generating ../../../assets/about-purc.html
[ 6%] Generating ../../../DerivedSources/ForwardingHeaders/wtf/PlatformLegacy.h
[ 7%] Generating ../../clock.html
[ 7%] Generating ../../../assets/about-hvml.html
[ 4%] Generating ../../../DerivedSources/ForwardingHeaders/wtf/Compiler.h
[ 7%] Generating ../../../assets/layout-sidebar.html
[ 7%] Generating ../../../assets/about-xguipro.html
[ 8%] Generating mc.hlp...
[ 8%] Generating ../../bootstrap.html
[ 9%] Generating ../../../DerivedSources/ForwardingHeaders/wtf/PlatformHave.h
[ 9%] Building C object source/lib/CMakeFiles/PurcMC.dir/lib/avl-cmp.c.o
In file included from /home/deepin/data/sda/test/HVML/build/purc-m-c/build-test/hvml-purc-midnight-commander-0.0.1/source/lib/config.h:30,
from /home/deepin/data/sda/test/HVML/build/purc-m-c/build-test/hvml-purc-midnight-commander-0.0.1/source/bin/consaver/cons.saver.c:52:
/home/deepin/data/sda/test/HVML/build/purc-m-c/build-test/hvml-purc-midnight-commander-0.0.1/DerivedSources/ForwardingHeaders/wtf/Platform.h:45:10: fatal error: wtf/PlatformOS.h: No such file or directory
#include <wtf/PlatformOS.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [source/bin/CMakeFiles/consaver.dir/build.make:76: source/bin/CMakeFiles/consaver.dir/consaver/cons.saver.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:369: source/bin/CMakeFiles/consaver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 9%] Linking C static library libWTF.a
[ 9%] Generating ../../simplest.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.