Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

@corentinavril, you need to run ./configure not ./configure.ac

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

@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
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant