Latest version (0.1.1) build error.
Status: Alpha
Brought to you by:
galakhov
Can't build package version 0.1.1 and from git clone too, command dpkg-buildpackage -b output:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package cupscapt dpkg-buildpackage: source version 0.1.1 dpkg-buildpackage: source changed by Alexey Galakhov <agalakhov@gmail.com> dpkg-buildpackage: host architecture armel dpkg-source --before-build cupscapt-0.1.1 debian/rules clean dh clean dh_testdir dh_auto_clean make[1]: Entering directory `/root/cupscapt-0.1.1' deps libcupsxx.cpp deps hiscoa.cpp deps scoa.cpp deps bitstream.cpp deps captlp.cpp deps lp.cpp deps printfsm.cpp deps captmagic.cpp deps util.cpp deps findprinter.cpp deps usblp.cpp deps libusbxx.cpp deps capt.cpp make[1]: Leaving directory `/root/cupscapt-0.1.1' make[1]: Entering directory `/root/cupscapt-0.1.1' rm -f tmp/capt.o tmp/libusbxx.o tmp/usblp.o tmp/findprinter.o tmp/util.o tmp/captmagic.o tmp/printfsm.o tmp/lp.o tmp/captlp.o tmp/bitstream.o tmp/scoa.o tmp/hiscoa.o tmp/libcupsxx.o tmp/source.o tmp/capt.d tmp/libusbxx.d tmp/usblp.d tmp/findprinter.d tmp/util.d tmp/captmagic.d tmp/printfsm.d tmp/lp.d tmp/captlp.d tmp/bitstream.d tmp/scoa.d tmp/hiscoa.d tmp/libcupsxx.d tmp/source.d rm -rf tmp rm -f capt rm -rf ppd make[1]: Leaving directory `/root/cupscapt-0.1.1' dh_clean debian/rules build dh build dh_testdir dh_auto_configure dh_auto_build make[1]: Entering directory `/root/cupscapt-0.1.1' deps source.cpp deps libcupsxx.cpp deps hiscoa.cpp deps scoa.cpp deps bitstream.cpp deps captlp.cpp deps lp.cpp deps printfsm.cpp deps captmagic.cpp deps util.cpp deps findprinter.cpp deps usblp.cpp deps libusbxx.cpp deps capt.cpp make[1]: Leaving directory `/root/cupscapt-0.1.1' make[1]: Entering directory `/root/cupscapt-0.1.1' g++ capt.cpp In file included from captlp.h:4, from capt.cpp:1: util.h:86: error: ‘ssize_t’ has not been declared util.h:115: error: ‘ssize_t’ does not name a type util.h: In constructor ‘Input::Input(const Buffer&)’: util.h:84: error: class ‘Input’ does not have any field named ‘m_align’ util.h: In member function ‘void Input::set_margins(int, size_t, uint8_t)’: util.h:88: error: ‘m_align’ was not declared in this scope util.h: In member function ‘void Input::reset_margins()’: util.h:94: error: ‘m_align’ was not declared in this scope util.h: In member function ‘uint8_t Input::get_byte_internal(size_t)’: util.h:104: error: ‘m_align’ was not declared in this scope util.h:106: error: ‘m_align’ was not declared in this scope make[1]: *** [tmp/capt.o] Error 1 make[1]: Leaving directory `/root/cupscapt-0.1.1' dh_auto_build: make -j1 returned exit code 2
But version 0.1.0 builds Ok.
Please consider using https://github.com/agalakhov/captdriver instead.