Re: Attempting to build PCSC-Lite 1.8.11 RPM for Centos 6
Ludovic Rousseau <[email protected]>
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <CAGstE8AdwuK0v-KhPvOcfHjoEqBA0HhTpNKh7y2vNd8eELoq_Q@mail.gmail.com> |
2014-03-13 17:53 GMT+01:00 Gavin Williams <[email protected]>: > Afternoon all, Hello, > I’m currently trying to build a drop-in replacement RPM for PCSC-Lite 1.8.11 > on CentOS 6 to replace the shipped 1.5.x version… > > > > I’ve pulled the spec file for the current distro release, and made a few > tweaks to support the 1.8.11 source, mainly removing un-necessary patch > files. > > > > However the RPMBuild fails due to there being no pcscd.init file L > > Snip of log file: > > … > > + install -dm 755 > /home/rpmbuild/rpmbuild/BUILDROOT/pcsc-lite-1.8.11-1.el6.x86_64/usr/lib64/pcsc/drivers > > + install -Dpm 755 etc/pcscd.init > /home/rpmbuild/rpmbuild/BUILDROOT/pcsc-lite-1.8.11-1.el6.x86_64/etc/rc.d/init.d/pcscd > > install: cannot stat `etc/pcscd.init': No such file or directory > > error: Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.jrzA9t > (%install) > > > > Looking through the source, I can see that it’s now exclusively trying to > use systemd, which EL6 doesn’t use… L > > CVS History seems to suggest that the old style init scripts were removed in > rev 4947, and systemd support was added in rev 5933. > > > > Is it possible to get these init scripts re-instated and thereby support > both systemd and init.d? You should be able to reuse the init script from the version 1.5.x you had installed on your system. Bye -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com