Skip to content

pll is installed but not found during compile of modeltest #75

@pbpearman

Description

@pbpearman

Hello! I am trying to compile modeltest-ng on linux, Ubuntu 20.04.6 LTS. I get errors that result from not finding pll libraries, although they were compiled from source, from xflouris/libpll-2 (https://github.com/xflouris/libpll-2):

lib$ pwd
/usr/local/lib
lib$ ls libpll.* -lah
-rw-r--r-- 1 root root 4.8M Feb 6 11:43 libpll.a
-rwxr-xr-x 1 root root 929 Feb 6 11:43 libpll.la
lrwxrwxrwx 1 root root 15 Feb 6 11:43 libpll.so -> libpll.so.0.0.0
lrwxrwxrwx 1 root root 15 Feb 6 11:43 libpll.so.0 -> libpll.so.0.0.0
-rwxr-xr-x 1 root root 3.0M Feb 6 11:43 libpll.so.0.0.0

I cloned the modetest repository, created the build directory and cd into it, then did and got:

build$ cmake ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.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
-- Building RELEASE
-- Performing Test HAS_AVX2
-- Performing Test HAS_AVX2 - Success
-- Performing Test HAS_AVX
-- Performing Test HAS_AVX - Success
-- Performing Test HAS_SSE3
-- Performing Test HAS_SSE3 - Success
-- 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
-- ModelTest Using flags: -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable -mavx2 -D__AVX2 -DMULTITHREAD -pthread -D_NO_GUI_
-- ModelTest Compiler: GNU 9.4.0 => /usr/bin/c++
-- pll-modules not found
-- Downloading pll-modules from https://github.com/ddarriba/pll-modules/archive/182ae2823fa1f7b8c67ec68f491c4adea59e25db.zip
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bgppermp/Downloads/modeltest/build/pll-modulesDownload
Scanning dependencies of target pll-modules
[ 11%] Creating directories for 'pll-modules'
[ 22%] Performing download step (download, verify and extract) for 'pll-modules'
-- Downloading...
dst='/home/bgppermp/Downloads/modeltest/build/pll-modulesDownload/pll-modules-prefix/src/182ae2823fa1f7b8c67ec68f491c4adea59e25db.zip'
timeout='none'
-- Using src='https://github.com/ddarriba/pll-modules/archive/182ae2823fa1f7b8c67ec68f491c4adea59e25db.zip'
-- Retrying...
-- Using src='https://github.com/ddarriba/pll-modules/archive/182ae2823fa1f7b8c67ec68f491c4adea59e25db.zip'
-- Retry after 5 seconds (attempt #2) ...

After a few attempts there, it then tries to get them from the xflouris repo (from which I already did a build and installation):

make[2]: *** [CMakeFiles/pll-modules.dir/build.make:91: pll-modules-prefix/src/pll-modules-stamp/pll-modules-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/pll-modules.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
-- Cannot build pll-modules: 2
-- libpll not found
-- Downloading libpll from https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bgppermp/Downloads/modeltest/build/libpllDownload
Scanning dependencies of target libpll
[ 11%] Creating directories for 'libpll'
[ 22%] Performing download step (download, verify and extract) for 'libpll'
-- Downloading...
dst='/home/bgppermp/Downloads/modeltest/build/libpllDownload/libpll-prefix/src/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
timeout='none'
-- Using src='https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
-- Retrying...
-- Using src='https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip'
CMake Error at /home/bgppermp/Downloads/modeltest/build/libpllDownload/libpll-prefix/src/libpll-stamp/download-libpll.cmake:157 (message):
Each download failed!

error: downloading 'https://github.com/xflouris/libpll-2/archive/a3146f31ea044e3dc6a52175e2981fe3643dbbdf.zip' failed
     status_code: 1
     status_string: "Unsupported protocol"
     log:
     --- LOG BEGIN ---
     Protocol "https" not supported or disabled in libcurl

I don't understand why the pll files aren't found, although they are installed in a standard location.
Secondarily, my installed version of curl has https support, but this is a side issue to that of finding pll files:
bin$ curl -V
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets

Can you help me? I'd happily supply more info
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions