Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails on debian 9 #813

Closed
unxed opened this issue Oct 21, 2020 · 2 comments
Closed

build fails on debian 9 #813

unxed opened this issue Oct 21, 2020 · 2 comments

Comments

@unxed
Copy link
Contributor

unxed commented Oct 21, 2020

Make fails without libfmt3-dev installed:

make[2]: *** Нет правила для сборки цели «/usr/lib/libfmt.a», требуемой для «install/Plugins/colorer/plug/colorer.far-plug-wide».  Останов.
CMakeFiles/Makefile2:534: ошибка выполнения рецепта для цели «colorer/CMakeFiles/colorer.dir/all»
make[1]: *** [colorer/CMakeFiles/colorer.dir/all] Ошибка 2
Makefile:149: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2

With libfmt3-dev installed even configure fails:

# cmake -DUSEWX=no -DCMAKE_BUILD_TYPE=Release ..

-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type: Release
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'openssl'
-- Found openssl, version 1.0.2u
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
-- OpenSSL found -> enjoy FTPS support in NetRocks
-- Found LibSSH: /usr/lib/x86_64-linux-gnu/libssh.so (Required is at least version "0.5.0")
-- libssh found -> enjoy SFTP support in NetRocks
-- libsmbclient found -> enjoy SMB support in NetRocks
-- Found LibNfs: /usr/lib/x86_64-linux-gnu/libnfs.so
-- libnfs found -> enjoy NFS support in NetRocks
-- Could NOT find LibNEON (missing: LIBNEON_LIBRARY LIBNEON_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:133 (message):
libneon not found, NetRocks will not have WebDav protocol support.
Install libneon*-dev if you want WebDav protocol available in
NetRocks.

-- Found PCRE: /usr/lib/x86_64-linux-gnu/libpcre.so
-- Found LibArchive: /usr/lib/x86_64-linux-gnu/libarchive.so (found version "3.2.2")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- generating headers and languages
-- Found UCHARDET: /usr/lib/libuchardet.so
-- Build Colorer: 1.0.5
-- Found Spdlog: /usr/include
-- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so
CMake Error at cmake/modules/Findfmt.cmake:15 (math):
math cannot parse the expression: " % 100": syntax error, unexpected
exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
colorer/CMakeLists.txt:43 (FIND_PACKAGE)

CMake Error at cmake/modules/Findfmt.cmake:16 (math):
math cannot parse the expression: "( - ) / 100": syntax error, unexpected
exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (3)
Call Stack (most recent call first):
colorer/CMakeLists.txt:43 (FIND_PACKAGE)

CMake Error at cmake/modules/Findfmt.cmake:15 (math):
math cannot parse the expression: " % 100": syntax error, unexpected
exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
colorer/CMakeLists.txt:43 (FIND_PACKAGE)

CMake Error at cmake/modules/Findfmt.cmake:16 (math):
math cannot parse the expression: "( - ) / 100": syntax error, unexpected
exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (3)
Call Stack (most recent call first):
colorer/CMakeLists.txt:43 (FIND_PACKAGE)

CMake Error at cmake/modules/Findfmt.cmake:15 (math):
math cannot parse the expression: " % 100": syntax error, unexpected
exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
colorer/CMakeLists.txt:43 (FIND_PACKAGE)

CMake Error at cmake/modules/Findfmt.cmake:16 (math):
math cannot parse the expression: "( - ) / 100": syntax error, unexpected
exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (3)
Call Stack (most recent call first):
colorer/CMakeLists.txt:43 (FIND_PACKAGE)

-- Found fmt: /usr/include (found version "..")
-- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so
CMake Warning at CMakeLists.txt:231 (message):
Python plugin not enabled by default, use -DPYTHON=yes if you really
want it
-- Configuring incomplete, errors occurred!
See also "/home/aik/temp/far/far2l/build/CMakeFiles/CMakeOutput.log".
See also "/home/aik/temp/far/far2l/build/CMakeFiles/CMakeError.log".
@unxed
Copy link
Contributor Author

unxed commented Oct 21, 2020

not reproducing any more

https://habr.com/ru/post/524370/#comment_22209330

@unxed unxed closed this as completed Oct 21, 2020
@alexshtin
Copy link

I had the same issue but updating all dependencies (apt install libwxgtk3.0-gtk3-dev libxerces-c-dev libspdlog-dev libuchardet-dev libssh-dev libssl-dev libsmbclient-dev libnfs-dev libneon27-dev libarchive-dev ) fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants