hostapd-rtl icon indicating copy to clipboard operation
hostapd-rtl copied to clipboard

Build on Ubuntu

Open shadowofdarkness opened this issue 9 years ago • 3 comments

Newer versions of Ubuntu only supply libnl-3-dev, could you update to support that?

As a workaround I grabbed the debs of libnl1 and libnl-dev for old versions of Ubuntu from its repos and successfully built hostapd-rtl. But that is a workaround and it would be better to work closer to out of the box.

shadowofdarkness avatar Nov 18 '15 02:11 shadowofdarkness

One just have to chage the file "control" in the "debian" folder and change libnl-dev to libnl-3-dev. This is the solution I used...

oangelo avatar Jul 23 '16 18:07 oangelo

@shadowofdarkness the dependency from libnl-3 was removed to make this code compatiple with the then-current Bananian that had the older version of the library. As noted by @oangelo simply adding the correct build dependency should fix it. I'll need to check if Debian Stable also includes libnl-3 so that we can re-add the dependencies and maybe even rebase to a newer version of hostapd.

jekader avatar Jul 24 '16 12:07 jekader

I would suggest to put a comment about this on the README.md, for ubuntu user, that he should install libnl-3-dev and not libnl-dev.

oangelo avatar Jul 24 '16 14:07 oangelo