Comments (3)
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.
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.
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)
- man page REPORTING BUGS HOT 2
- Considering C++17 as minimum requirement HOT 5
- Wrong version in the configure.ac
- CI needs pandoc HOT 6
- Drop support for AIX? HOT 2
- New IBM LTO8 drive firmware returns 0x24 error HOT 4
- Header of manpage is missing HOT 1
- stenc should not move the tape
- List new dependencies in changelog
- Blank tape HOT 6
- Compilation error HOT 1
- The manpage is not up to date HOT 3
- Compilation error after merge PR91 HOT 3
- License information in SPDX standard HOT 1
- need script to set version numbers properly
- Error when compiling for freeBSD HOT 9
- warning: The preprocessor macro `STDC_HEADERS' is obsolete. HOT 1
- LTO-9 density code not mapped HOT 3
- Invalid argument (Invalid IOCTL call) when using lin_tape device driver? (RHEL9 & ULT3580-HH8) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stenc.