add some info how to make on raspberry/debian
i remember to build nfc-eventd without errors. but today i checked this branch out and tried to make it on actual raspbian on raspberry 2 i got errors (in german). maybe you can add a minimal readme how to make it. automake failed and autoreconf -vis also. what to do?
Makefile.am: required file ./INSTALL' not found Makefile.am:automake --add-missing' can install INSTALL' configure.ac:3: required fileconfig.h.in' not found
root@raspberry-plus01:/usr/src/nfc-eventd-master# automake --add-missing
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
conf/Makefile.am:4: DBUS_ENABLED does not appear in AM_CONDITIONAL
src/Makefile.am: installing ./depcomp' /usr/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am: The usual way to defineam__fastdepCC' is to add AC_PROG_CC' /usr/share/automake-1.11/am/depend2.am: toconfigure.ac' and run aclocal' andautoconf' again.
/usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.11/am/depend2.am: The usual way to define AMDEP' is to add one of the compiler tests /usr/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.11/am/depend2.am: toconfigure.ac' and run aclocal' andautoconf' again.
src/debug/Makefile.am:4: Libtool library used but LIBTOOL' is undefined src/debug/Makefile.am:4: The usual way to defineLIBTOOL' is to add LT_INIT' src/debug/Makefile.am:4: toconfigure.ac' and run aclocal' andautoconf' again.
src/debug/Makefile.am:4: If LT_INIT' is inconfigure.ac', make sure
src/debug/Makefile.am:4: its definition is in aclocal's search path.
src/modules/Makefile.am:13: DBUS_ENABLED does not appear in AM_CONDITIONAL
src/modules/Makefile.am:5: Libtool library used but LIBTOOL' is undefined src/modules/Makefile.am:5: The usual way to defineLIBTOOL' is to add LT_INIT' src/modules/Makefile.am:5: toconfigure.ac' and run aclocal' andautoconf' again.
src/modules/Makefile.am:5: If LT_INIT' is inconfigure.ac', make sure
src/modules/Makefile.am:5: its definition is in aclocal's search path.
src/nfcconf/Makefile.am:10: Libtool library used but LIBTOOL' is undefined src/nfcconf/Makefile.am:10: The usual way to defineLIBTOOL' is to add LT_INIT' src/nfcconf/Makefile.am:10: toconfigure.ac' and run aclocal' andautoconf' again.
src/nfcconf/Makefile.am:10: If LT_INIT' is inconfigure.ac', make sure
src/nfcconf/Makefile.am:10: its definition is in aclocal's search path.
Makefile.am: installing ./INSTALL' configure.ac:3: required fileconfig.h.in' not found
root@raspberry-plus01:/usr/src/nfc-eventd-master# autoreconf
aclocal: couldn't open directory 'm4': Datei oder Verzeichnis nicht gefunden
autoreconf: aclocal failed with exit status: 1
root@raspberry-plus01:/usr/src/nfc-eventd-master# ./configure
-bash: ./configure: Datei oder Verzeichnis nicht gefunden
root@raspberry-plus01:/usr/src/nfc-eventd-master# ./configure
-bash: ./configure: Datei oder Verzeichnis nicht gefunden
root@raspberry-plus01:/usr/src/nfc-eventd-master#
i looked for help here:https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=57561 installed all mentioned packages:
"sudo apt-get -y install subversion autoconf libusb-dev libpcsclite-dev libpcsclite1 libccid pcscd libusb-1.0-0-dev libtool "
and this:
"autoreconf - vis
./configure
make
sudo make install
"
nothing helps. alltime compile errors. also with "automake"
bytheway: ----after installing all this packages i must blacklist the pn533 modules from one of this packages for libnfc to run without error. before that libnfc was build without all this packages on this system errorfree.
than i found my old install package "nfc-eventd-0.1.7.tar.gz" i untarred.made "./configure" and "make" and everthing was ok. master-branch seems broken (on rasperry.) hope someone will fix it ...
It seems libtool is missing : "autoreconf -vis" does need it.
Please note that development version and archives differs on this point : tarball do embedded all files generated by "autoreconf -is"
I managed to resolve the issue by editing the nfc-eventd/debian/control file. Specifically this line here: Depends: ${shlibs:Depends}, libnfc2 (>= 1.5.1), libdbus-1-3, libdbus-glib-1-2
Please see pull request #6