Trying to build rpm on RHEL 7 with the supplied SPEC file has several issues:
- Wrong Version in SPEC file
- Needed to add compiler options to ~/.rpmrc:
optflags: x86_64 -O2 -g -Wno-unused-result -Wno-unused-parameter
- Kerberos support won't compile, I disabled with "rpmbuild -D'nokerberos 1'"
- Some mismatch between installed files and %files
- SIGSEGV when using lpr -V
Attached find SPEC file that worked for me and patch for SIGSEGV
Regards Heinrich
Hello Heinrich Mislik,
you patch did not apply. Are you using the latest src ?
I used http://www.lprng.com/DISTRIB/LPRng/LPRng-3.8.35.tgz
from http://www.lprng.com/downloads.html
I just saw othter Version (3.8.C) on sourceforge. I'm confused. What is the latest Vesion?
Cheers
Heinrich
Please use the git version on sf. the Version on lprng.com ist the latest release by the original autor.