Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 21:00:38 +0800
From:      by <by@meetlost.com>
To:        Zhihao Yuan <lichray@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Build nvi 2.1.3 on Mac, missing build instructions
Message-ID:  <366305D1-CA76-4FFF-80A2-CB267082A96D@meetlost.com>
In-Reply-To: <CAGsORuCsoGcKr4OM6hc90sZisiWVs8m2vCDZdn%2Br25qz5qbGuA@mail.gmail.com>
References:  <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <CAGsORuASq46zRKi123iiNwY8%2BUvi0h2AKpqW7pYzpHJvUxQbkg@mail.gmail.com> <BF1F59A8-D41A-4CB9-A45D-3AA9A6EDE7C1@meetlost.com> <a1db0e55436ef63eb22bb841504371a3@nuxi.ca> <DFF521E1-35D6-47EE-AB72-6594D82922F8@meetlost.com> <CAGsORuCs7v4T9jwNJx5snvFHVy%2BLJy64Ah=AsjAxcjvMMGur0g@mail.gmail.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> <B96AB7F8-6373-4C42-A4F8-72BB43E9E258@meetlost.com> <CAGsORuCsoGcKr4OM6hc90sZisiWVs8m2vCDZdn%2Br25qz5qbGuA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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 =A1=AFnvi=A1=AF 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).
>=20
> 3. Make some changes, there is a diff file available via below link
>=20
> 	http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt =
<http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt>;
>=20
>=20
> And I'm curious why libresolv is needed.
When trying to run =A1=AEbsdmake=A1=AF, it puts the error message like =
below, add =A1=AE-lresolv=A1=AF 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?366305D1-CA76-4FFF-80A2-CB267082A96D>