Build nvi 2.1.3 on Mac, missing build instructions

by by at meetlost.com
Tue Nov 14 13:00:43 UTC 2017


> I'm not sure what's the benefit, and you may not be
> creating a wide character / UTF-8 capable build with
> this, as I saw you linked to libncurses rather than
> libncursesw.
I just want to make sure porting the ’nvi’ which runs on my FreeBSD(2.1.2) box to macOS directly is doable.
And yes, it is lost some features, but I can run the binary now :-)
After make sure the basic thing works, I can go further later(maybe go to your nvi2 directly).
> 
> 3. Make some changes, there is a diff file available via below link
> 
> 	http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt <http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt>
> 
> 
> And I'm curious why libresolv is needed.
When trying to run ‘bsdmake’, it puts the error message like below, add ‘-lresolv’ suppresses this.

Undefined symbols for architecture x86_64:
  "_res_9_b64_ntop", referenced from:
      	_rcv_dlnwrite in recover.o
  "_res_9_b64_pton", referenced from:
      	_rcv_dlnread in recover.o
ld: symbol(s) not found for architecture x86_64


by


More information about the freebsd-hackers mailing list