Article 5STBR swi-prolog 8.4.1 wouldn't compile (amd64/Centos7/gcc-10.2)

swi-prolog 8.4.1 wouldn't compile (amd64/Centos7/gcc-10.2)

by
NevemTeve
from LinuxQuestions.org on (#5STBR)
Oh well, why would it compile?
Here is the build script I tried:
Code:#!/bin/bash

rm -rf build/

mkdir -p man/archive

mkdir -p build; cd build

set -e
set -o pipefail

export CFLAGS="$COMMON_CFLAGS64 -std=c17 $COMMON_CPPFLAGS"
export LDFLAGS="$COMMON_LDFLAGS64 -L/usr/local/lib64 -Wl,-R/usr/local/lib64"

cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. 2>&1 | tee ../log.cmake

make VERBOSE=yes 2>&1 | tee ../log.make.all

ctest -j 4 2>&1 | tee ../log.ctest

make VERBOSE=yes install 2>&1 | tee ../log.make.installlatest?d=yIl2AUoC8zA latest?i=Lxqter9pMGg:dFlaEry915A:F7zBnMy latest?i=Lxqter9pMGg:dFlaEry915A:V_sGLiP latest?d=qj6IDK7rITs latest?i=Lxqter9pMGg:dFlaEry915A:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments