CESNET / libnetconf

C NETCONF library
Other
113 stars 83 forks source link

Freebsd, make returns error #270

Closed mirza-ubaid closed 6 years ago

mirza-ubaid commented 6 years ago

Freebsd 11.1 x64 VirtualBox: ./configure ended without any error. when I run make it returns: make

michalvasko commented 6 years ago

Hi, libnetconf never supported FreeBSD so errors are expected. Also, libnetconf itself is no longer supported, if you plan to port something on FreeBSD, it should be libnetconf2.

Regards, Michal

mirza-ubaid commented 6 years ago

Used gmake instead and it worked. Freebsd libc is missing shadow.h that causes make to fail for libnetconf2. I not able to find a way to get libshadow for freebsd.

michalvasko commented 6 years ago

Hi, there is no libshadow, you would have to rewrite the mechanism of how system usernames and passwords are retrieved. I think it is still preferable to using this old libnetconf because you will not get any support for this. All the common use-cases should be working but anything slightly advanced or recent will not work and it will only get worse in time.

Regards, Michal