timmerk / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr #279

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am building libnfc for Raspberry PI

when issue this line

./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr

it doesn't work,

I am following the steps from 
https://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/building-libnfc 

it worked for a long time once I formatted and I tried to redo the steps its 
not working any more????!!!!
Thank you.

Original issue reported on code.google.com by yazidin...@gmail.com on 3 Jun 2014 at 4:31

GoogleCodeExporter commented 9 years ago
Same for me:

pi@raspberrypi ~/libnfc-ec933731b775 $ ./configure.ac --with-drivers=pn532_uart 
--sysconfdir=/etc --prefix=/usr
./configure.ac: line 4: syntax error near unexpected token 
`[libnfc],[1.7.0],[nfc-tools@googlegroups.com]'
./configure.ac: line 4: `AC_INIT([libnfc],[1.7.0],[nfc-tools@googlegroups.com])'

Original comment by corentin...@gmail.com on 25 Jun 2014 at 5:39

GoogleCodeExporter commented 9 years ago
@corentinavril, you need to run ./configure not ./configure.ac

Original comment by ludovic....@gmail.com on 25 Jun 2014 at 8:20

GoogleCodeExporter commented 9 years ago
I tried ./configure first, but it doesn't exist:

pi@raspberrypi ~/libnfc-ec933731b775 $ ./configure --with-drivers=pn532_uart 
--sysconfdir=/etc --prefix=/usr
-bash: ./configure: No such file or directory

Original comment by corentin...@gmail.com on 26 Jun 2014 at 9:13

GoogleCodeExporter commented 9 years ago
@corentinavril configure is in the released versions:
https://bintray.com/nfc-tools/sources/libnfc
If you're working from the git repo, then follow the devel instructions
https://code.google.com/p/libnfc/
=>
autoreconf -vis

Original comment by yob...@gmail.com on 26 Jun 2014 at 9:44

GoogleCodeExporter commented 9 years ago
@yazidin:

If you follow the instructions of ardafruit, the sources are not correct.
Use the official libnc1.7.1 sources:  
https://bintray.com/nfc-tools/sources/libnfc

Original comment by corentin...@gmail.com on 26 Jun 2014 at 9:45