Find the answer to your Linux question:
Results 1 to 7 of 7
Hi all! I have xubuntu 9.10 and I'm trying to install iw-0.9.19. When I use the command "make" I get this error: /bin/sh: pkg-config: not found /bin/sh: pkg-config: not found ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    2

    pkg_config_path, makefile and libnl

    Hi all!

    I have xubuntu 9.10 and I'm trying to install iw-0.9.19.

    When I use the command "make" I get this error:

    /bin/sh: pkg-config: not found
    /bin/sh: pkg-config: not found
    Makefile:38: *** Cannot find development files for any supported version of libnl. Stop.

    I read the Readme file and it says:

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


    I guess the problem is linking Makefile (in iw-0.9.19 directory) to libnl (version 1.1 correctly installed on xubuntu) via pkg_config_file. I don't know how to do it, can someone help me?

  2. #2
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4
    Find the "iw-0.9.19.-devel" package in the repository. These are the header files you need to compile against a program.

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    2
    Quote Originally Posted by Alien51 View Post
    Find the "iw-0.9.19.-devel" package in the repository. These are the header files you need to compile against a program.
    Uhm I cannot find it in Synaptic. I'm a real noob at using linux but I don't want to come back to Windows...

    Where can I find iw-0.9.19.-devel?

    Besides I cannot connect to internet with my xubuntu powered laptop, so I must download everything from my desktop and then copy them to the laptop...

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    You really need to get the network going in Xubuntu, it makes life a lot easier and this is why you can't find the package with synaptic, you need networking for that to work. Try looking on the install CD/DVD for the file you need.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4
    Quote Originally Posted by Alien51 View Post
    Find the "iw-0.9.19.-devel" package in the repository. These are the header files you need to compile against a program.
    Ooops! My bad. Check out this link.

    linuxwireless.org/en/users/Documentation/iw]iw - Linux Wireless

  6. #6
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1

    question

    hello,
    which version of libnl i should take,if i work in ubuntu9.10,and i have allready use latest versions of compat-wireless and wireless redgb. ?? when i install version 3 and 5, there are problems,like no development...thank you

  7. #7
    Just Joined!
    Join Date
    Jan 2011
    Posts
    1
    You're best bet is probably trying this command

    sudo apt-get install iw
    I was having the same problem, ran that and all was fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •