View Full Version : [SOLVED] Setting "the PKG_CONFIG_PATH environment variable"?

Mr. ViC
January 21st, 2011, 03:15 PM
Hi guys.

So, I'm following this tutorial:

http://www.danets.com/turbotenna/LinuxPatchDriverSetup.phpI'm in here:

"5. Upgrading the package "IW""

In this step:

"sudo make"

But it gives me this error:

"Makefile:34: *** Cannot find development files for any supported version of libnl. Stop."

Ok. Now, the drivers folder has a readme. And inside, it says this:

To build iw, just enter 'make'. If that fails, set the
PKG_CONFIG_PATH environment variable to allow the Makefile
to find libnl.

How do I set that PKG thing?

Thanks in advance!

January 21st, 2011, 05:05 PM
I don't think you can show it how to find what you probably don't have. Please open Synaptic and see if you have installed libnl-dev. Did you carefully follow this step?
sudo apt-get install linux-headers-$(uname -r) build-essential make patch gettext gcc python-psyco autoconf subversion tcl8.5 libssl-dev libnl1 libnl-devI tried the 'make' process and it works fine for me.

Mr. ViC
January 21st, 2011, 05:43 PM
Thank you! Got some error with that, but installed with Synaptic and works fine.