LibNFC Set up help

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
user9333
 
Posts: 11
Joined: Fri Jun 20, 2014 8:35 am

LibNFC Set up help

Post by user9333 »

Hi everyone. I'v been following the adafruit LibNFC tutorial to try and get it working on my raspberry pi (https://learn.adafruit.com/adafruit-nfc ... i/overview). I'v got to a stage where it says to enter the following into the terminal

Code: Select all

./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr
but when I do this it says that the ./configure directory doesn't exist. Can anyone suggest what i'v done wrong?
Thanks, Tekk3y

User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: LibNFC Set up help

Post by Franklin97355 »

A couple of things to check,
from the directory type ls -la and see if you do infact have a directory called configure and, if you do try running the command as sudo (depending on the configure script I have been known to break things using sudo when I was not supposed to so be careful and deviate from the instructions only as a last resort.

User avatar
user9333
 
Posts: 11
Joined: Fri Jun 20, 2014 8:35 am

Re: LibNFC Set up help

Post by user9333 »

If I don't have the configure directory should I simply create one?

Thanks, Tekk3y

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

Re: LibNFC Set up help

Post by adafruit_support_mike »

./configure isn't a directory.. it's a file. Specifically, it's a file full of instructions that tell the RasPi how to set prepare all the code so it can compile properly.

What do you get from:

Code: Select all

/bin/pwd
ls -la

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”