From owner-freebsd-hackers@freebsd.org Tue Nov 14 13:00:43 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B55BDBE3D5 for ; Tue, 14 Nov 2017 13:00:43 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF0437D776 for ; Tue, 14 Nov 2017 13:00:42 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.208.100]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAED0MnY016110 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 21:00:23 +0800 (CST) (envelope-from by@meetlost.com) From: by Message-Id: <366305D1-CA76-4FFF-80A2-CB267082A96D@meetlost.com> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions Date: Tue, 14 Nov 2017 21:00:38 +0800 In-Reply-To: Cc: FreeBSD Hackers To: Zhihao Yuan References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 13:00:43 -0000 > 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 = >=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=