From owner-freebsd-ports@freebsd.org Mon Dec 12 11:05:33 2016 Return-Path: Delivered-To: freebsd-ports@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 429ADC71FBD for ; Mon, 12 Dec 2016 11:05:33 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailbox.org", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BD8B194F for ; Mon, 12 Dec 2016 11:05:32 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 8437843DDB; Mon, 12 Dec 2016 12:05:29 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id 6BD4DpXFyEEF; Mon, 12 Dec 2016 12:05:19 +0100 (CET) Date: Mon, 12 Dec 2016 12:05:17 +0100 Message-ID: <86oa0hcsr6.wl-herbert@mailbox.org> From: "Herbert J. Skuhra" To: freebsd-ports@freebsd.org Cc: Lewis Butler Subject: Re: [Solved?] Re: pkg 1.9.4 In-Reply-To: <028983C3-14C1-4112-9D38-17E8C6D5BC49@gmail.com> References: <028983C3-14C1-4112-9D38-17E8C6D5BC49@gmail.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 11:05:33 -0000 Lewis Butler skrev: > > On 09 Dec 2016, at 17:43, Lewis Butler wrote: >> Got this when trying to update to pkg-1.9.4 >> >> /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../compat -DWITH_SSL -Wno-pointer-sign -shared -O2 -pipe -Wno-error -fstack-protector -fno-strict-aliasing -Wall -Wno-unused-function -D_BSD_SOURCE -DINET6=1 -MT libfetch/libfetch_la-common.lo -MD -MP -MF libfetch/.deps/libfetch_la-common.Tpo -c -o libfetch/libfetch_la-common.lo `test -f 'libfetch/common.c' || echo './'`libfetch/common.c >> libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../compat -DWITH_SSL -Wno-pointer-sign -O2 -pipe -Wno-error -fstack-protector -fno-strict-aliasing -Wall -Wno-unused-function -D_BSD_SOURCE -DINET6=1 -MT libfetch/libfetch_la-common.lo -MD -MP -MF libfetch/.deps/libfetch_la-common.Tpo -c libfetch/common.c -fPIC -DPIC -o libfetch/.libs/libfetch_la-common.o >> libfetch/common.c:52:10: fatal error: 'openssl/x509v3.h' file not found >> #include > > I created the directory /usr/include/openssl/ > > cd /usr/include/openssl > ln -s /usr/local/include/openssl/* . You'd better undo this and run 'make buildworld' and 'make installworld' to cleanup the mess. > then I was able to make pkg. Not sure why, but > /usr/local/library/openssl seemed to be where openssl was installed > but the packages are looking for /usr/library/openssl. > > I'm sure this is not the preferred way to do this. > > There is also an openssl-1.0.1p folder in /usr/include/ with rather > old files in it. I plan on moving it aside and seeing what happens. You can try to rename the directory back to openssl and see if 'freebsd-update fetch install' will update the files. If not remove it and do the above. -- Herbert