compile it in mac osx

62 views
Skip to first unread message

Jose Silva

unread,
Oct 31, 2011, 6:40:29 AM10/31/11
to nfc-tools
Hi,

i have the libnfc 1.5.1 compiled, up and running in my system. for
example I'm able to run a nfc-poll or nfc-list successfully.

i did install it with a sudo make install, and my lib is installed
under /usr/local/lib


the problem is, if i try to configure mfoc it cannot find my lib.. how
can i pass to my configure where is it located? i saw some references
to --with-libnfc=/path but the configure script shipped with mfoc
don't support it. any idea how to do it?

regards

Jose Silva

unread,
Oct 31, 2011, 7:07:37 AM10/31/11
to nfc-tools
just to let it here as hint for other users:

my pkg-config for this package was located under /usr/local/lib/
pkgconfig.

so i added it to my ./configure

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

more information at man 1 pkg-config
Reply all
Reply to author
Forward
0 new messages