RUN CONFIGURE not working, unable to build libnfc

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
asad04
 
Posts: 1
Joined: Mon Nov 25, 2013 10:45 am

RUN CONFIGURE not working, unable to build libnfc

Post by asad04 »

I'm following the tutorial on this website: (learn.adafruit[.][com]/adafruit-nfc-rfid-on-raspberry-pi?view=all)
My problem begins at step 3: Run Config.

Every time I attempt to run the command ($ ./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr)
I get the error: "-bash: ./configure: No such file or directory"

I am using a raspberry pi rev.b with an 8 GB sd card, on Raspbian(NOOBS).

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: RUN CONFIGURE not working, unable to build libnfc

Post by ktownsend »

Which folder are you in when you run configure? You might also try 'chmod +x configure'

rexchan7
 
Posts: 1
Joined: Thu May 22, 2014 3:49 pm

Re: RUN CONFIGURE not working, unable to build libnfc

Post by rexchan7 »

I have the same problem. Please tell me which folder should i be in when i am configure.

I am now in the folder of /home/pi/libnfc.1.7.0/libnfc

thanks alot

pnr
 
Posts: 2
Joined: Wed Jul 30, 2014 5:50 am

Re: RUN CONFIGURE not working, unable to build libnfc

Post by pnr »

Same problem here. libnfc 1.7.1 + RPi B + Raspbian (clean install).

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: RUN CONFIGURE not working, unable to build libnfc

Post by adafruit_support_mike »

What do you get from `ls -l`?

pnr
 
Posts: 2
Joined: Wed Jul 30, 2014 5:50 am

Re: RUN CONFIGURE not working, unable to build libnfc

Post by pnr »

Code: Select all

    pi@raspberrypi ~/libnfc/libnfc-1.7.1 $ ls -l
    total 220
    -rw-r--r-- 1 pi pi   900 Jul 30  2014 AUTHORS
    -rw-r--r-- 1 pi pi 35491 Jul 30  2014 ChangeLog
    drwx------ 3 pi pi  4096 Jul 30  2014 cmake
    -rw-r--r-- 1 pi pi  6734 Jul 30  2014 CMakeLists.txt
    -rw-r--r-- 1 pi pi  5852 Jul 30  2014 configure.ac
    drwx------ 7 pi pi  4096 Jul 30  2014 contrib
    -rw-r--r-- 1 pi pi  7637 Jul 30  2014 COPYING
    -rw-r--r-- 1 pi pi 64390 Jul 30  2014 Doxyfile.in
    drwx------ 4 pi pi  4096 Jul 30  2014 examples
    -rw-r--r-- 1 pi pi  2077 Jul 30  2014 HACKING
    drwx------ 3 pi pi  4096 Jul 30  2014 include
    drwx------ 5 pi pi  4096 Jul 30  2014 libnfc
    -rw-r--r-- 1 pi pi   958 Jul 30  2014 libnfc.conf.sample
    -rw-r--r-- 1 pi pi   247 Jul 30  2014 libnfc.pc.in
    drwx------ 2 pi pi  4096 Jul 30  2014 m4
    -rw-r--r-- 1 pi pi  1510 Jul 30  2014 Makefile.am
    -rw-r--r-- 1 pi pi  1604 Jul 30  2014 make_release.sh
    -rw-r--r-- 1 pi pi  7608 Jul 30  2014 manual-test-results.txt
    -rw-r--r-- 1 pi pi  2880 Jul 30  2014 mingw-cross-configure.sh
    -rw-r--r-- 1 pi pi 15279 Jul 30  2014 NEWS
    -rw-r--r-- 1 pi pi  5069 Jul 30  2014 README
    -rw-r--r-- 1 pi pi  2554 Jul 30  2014 README-Windows.txt
    drwx------ 2 pi pi  4096 Jul 30  2014 test
    drwx------ 2 pi pi  4096 Jul 30  2014 utils
    pi@raspberrypi ~/libnfc/libnfc-1.7.1 $

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: RUN CONFIGURE not working, unable to build libnfc

Post by adafruit_support_mike »

Oh lovely.. they've migrated their toolchain to the GNU autoreconf system.

First of all, check to see if you have the relevant program on your machine now:

Code: Select all

which autoreconf
If that returns the path to a file with that name (probably in /bin/ or /user/bin/), you're good. If it doesn't do anything, install the autoreconf tools with:

Code: Select all

sudo apt-get install dh-autoreconf
Once you have the correct software, do:

Code: Select all

autoreconf -vis
./configure
make
make install

User avatar
GavinAlle
 
Posts: 1
Joined: Thu Mar 24, 2016 4:44 pm

Re: RUN CONFIGURE not working, unable to build libnfc

Post by GavinAlle »

adafruit_support_mike wrote:Oh lovely.. they've migrated their toolchain to the GNU autoreconf system.

First of all, check to see if you have the relevant program on your machine now:

Code: Select all

which autoreconf
If that returns the path to a file with that name (probably in /bin/ or /user/bin/), you're good. If it doesn't do anything, install the autoreconf tools with:

Code: Select all

sudo apt-get install dh-autoreconf
Once you have the correct software, do:

Code: Select all

autoreconf -vis
./configure
make
make install
Brilliant Mike, I'm all sorted now with the install.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”