<div dir="ltr">Hi gene,<div><br></div><div>Try to install the following package `libnss3-dev` before you compile. And you may need following packages for compiling fprint_demo:</div><div><br></div><div><div>* libpam0g-dev</div>
<div>* libmagick++-dev</div><div>* libusb-1.0-0-dev</div><div>* libgtk2.0-dev</div><div>* libnss3-dev</div></div><div><br></div><div>FYI, this message is cc'ed to fprint mailing list for future references.</div><div>
<br>
</div><div><br></div><div class="gmail_extra"><div><div dir="ltr">best,<br>--<br>
jv ♫<br></div></div>
<br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 3:44 PM, Gene Nelms <span dir="ltr"><<a href="mailto:gnelms1963@yahoo.com" target="_blank">gnelms1963@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Juvenn,<br>
<br>
I just located your New Driver for the AES3500 in the Github
repository. I am fairly new to Ubuntu. I followed the directions and
got the libfprint source patched. But, when I enter the
./autogen.sh I receive a failure notification because of nss. Shown
below. The NSS folder is on my system at this location:
/usr/lib/x86_64-linux-gnu<br>
<br>
Could you please advise me how to make the necessary changes to
complete the driver installation?<br>
<br>
Thank you very much for your time..<br>
<br>
Gene<br>
<br>
<br>
<br>
gene@gene:~/Desktop/makingfprint/libfprint/v_0_5_1$ ./autogen.sh<br>
libtoolize: putting auxiliary files in `.'.<br>
libtoolize: copying file `./ltmain.sh'<br>
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.<br>
libtoolize: copying file `m4/libtool.m4'<br>
libtoolize: copying file `m4/ltoptions.m4'<br>
libtoolize: copying file `m4/ltsugar.m4'<br>
libtoolize: copying file `m4/ltversion.m4'<br>
libtoolize: copying file `m4/lt~obsolete.m4'<br>
configure: WARNING: unrecognized options: --enable-maintainer-mode<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
checking for a thread-safe mkdir -p... /bin/mkdir -p<br>
checking for gawk... gawk<br>
checking whether make sets $(MAKE)... yes<br>
checking whether make supports nested variables... yes<br>
checking for gcc... gcc<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables... <br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking for style of include used by make... GNU<br>
checking dependency style of gcc... gcc3<br>
checking build system type... x86_64-unknown-linux-gnu<br>
checking host system type... x86_64-unknown-linux-gnu<br>
checking how to print strings... printf<br>
checking for a sed that does not truncate output... /bin/sed<br>
checking for grep that handles long lines and -e... /bin/grep<br>
checking for egrep... /bin/grep -E<br>
checking for fgrep... /bin/grep -F<br>
checking for ld used by gcc... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
-B<br>
checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>
checking whether ln -s works... yes<br>
checking the maximum length of command line arguments... 1572864<br>
checking whether the shell understands some XSI constructs... yes<br>
checking whether the shell understands "+="... yes<br>
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop<br>
checking how to convert x86_64-unknown-linux-gnu file names to
toolchain format... func_convert_file_noop<br>
checking for /usr/bin/ld option to reload object files... -r<br>
checking for objdump... objdump<br>
checking how to recognize dependent libraries... pass_all<br>
checking for dlltool... no<br>
checking how to associate runtime and link libraries... printf %s\n<br>
checking for ar... ar<br>
checking for archiver @FILE support... @<br>
checking for strip... strip<br>
checking for ranlib... ranlib<br>
checking command to parse /usr/bin/nm -B output from gcc object...
ok<br>
checking for sysroot... no<br>
checking for mt... mt<br>
checking if mt is a manifest tool... no<br>
checking how to run the C preprocessor... gcc -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking for dlfcn.h... yes<br>
checking for objdir... .libs<br>
checking if gcc supports -fno-rtti -fno-exceptions... no<br>
checking for gcc option to produce PIC... -fPIC -DPIC<br>
checking if gcc PIC flag -fPIC -DPIC works... yes<br>
checking if gcc static flag -static works... yes<br>
checking if gcc supports -c -o file.o... yes<br>
checking if gcc supports -c -o file.o... (cached) yes<br>
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes<br>
checking whether -lc should be explicitly linked in... no<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking whether stripping libraries is possible... yes<br>
checking if libtool supports shared libraries... yes<br>
checking whether to build shared libraries... yes<br>
checking whether to build static libraries... yes<br>
checking for inline... inline<br>
checking whether gcc and cc understand -c and -o together... yes<br>
checking for g++... g++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>
checking dependency style of g++... gcc3<br>
checking how to run the C++ preprocessor... g++ -E<br>
checking for ld used by g++... /usr/bin/ld -m elf_x86_64<br>
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes<br>
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes<br>
checking for g++ option to produce PIC... -fPIC -DPIC<br>
checking if g++ PIC flag -fPIC -DPIC works... yes<br>
checking if g++ static flag -static works... yes<br>
checking if g++ supports -c -o file.o... yes<br>
checking if g++ supports -c -o file.o... (cached) yes<br>
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes<br>
checking dynamic linker characteristics... (cached) GNU/Linux ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking for pkg-config... /usr/bin/pkg-config<br>
checking pkg-config is at least version 0.9.0... yes<br>
checking for LIBUSB... yes<br>
checking for CRYPTO... no<br>
configure: error: Package requirements (nss) were not met:<br>
<br>
No package 'nss' found<br>
<br>
Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
installed software in a non-standard prefix.<br>
<br>
Alternatively, you may set the environment variables CRYPTO_CFLAGS<br>
and CRYPTO_LIBS to avoid the need to call pkg-config.<br>
See the pkg-config man page for more details.<br>
-------------------------------------------------------------------<br>
<br>
<br>
<br>
<br>
<pre><code># merge the diff into the master branch of libfprint
# and install libfprint (default to /usr/local/)
$ cd libfprint
$ git apply ../aes3500/src/aes3500.diff
$ ./autogen.sh
$ make
$ sudo make install
# build and install fprint_demo
$ cd ../fprint_demo
$ ./autogen.sh
$ ./configure PKG_CONFIG_PATH=/usr/local:$PKG_CONFIG_PATH
$ make
$ sudo make install
# everything is ready and try it with fprint_demo
$ sudo fprint_demo</code></pre>
<br>
<br>
</div>
</blockquote></div><br></div></div>