Giter Site home page Giter Site logo

Comments (3)

MikeCockrem avatar MikeCockrem commented on May 24, 2024 1

Please correct me if this is wrong....

You are not wrong :(

For a newer g++ on CentOS 7 you can check Devloper Toolset 8

Can confirm that works, however OP will also need to install newer pkg-config e.g from rpm.pbone.net (usual disclaimer about replacing rpms from different releases)

yum install centos-release-scl
yum install devtoolset-8
scl enable devtoolset-8 bash
#wget your updated pkgconfig
rpm -U pkgconfig-0.28-3.fc20.x86_64.rpm
...build steps from readme...
# stenc --version
stenc 2.0.0 - SCSI Tape Encryption Manager
https://github.com/scsitape/stenc

I hope the above proves useful to you @caiolopesdasilva

from stenc.

MikeCockrem avatar MikeCockrem commented on May 24, 2024

I face the same issue. I believe Centos 7.9 has too old a version of pkg-config (0.27.1) supposedly the functionality relied upon here was added in 0.28.0 ? Please correct me if this is wrong....

./configure: line 4556: syntax error near unexpected token `BASH_COMPLETION_DIR,'
./configure: line 4556: `PKG_CHECK_VAR(BASH_COMPLETION_DIR, bash-completion >= 2.0, completionsdir,'

Just for fun I snipped out the whole bash completion block from configure and was able to proceed. It broke at the make stage though. I believe GCC is too old on this platform, causing the error:
g++: error: unrecognized command line option ‘-std=c++17’

Centos 7 is EOL this year, however quite a few people will be stuck on this release for one reason or another so it would be a nice thing to support. I'm happy to volunteer my services as a tester on this platform (IBM HH LTO5 external SAS and a HH IBM LTO4 in a Dell Powervault autoloader)

from stenc.

sunwire avatar sunwire commented on May 24, 2024

Please correct me if this is wrong....

You are not wrong :(

For a newer g++ on CentOS 7 you can check Devloper Toolset 8

from stenc.

Related Issues (20)

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.