From owner-freebsd-questions@freebsd.org Fri Jan 13 03:34:11 2017 Return-Path: Delivered-To: freebsd-questions@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 938A2CADF92 for ; Fri, 13 Jan 2017 03:34:11 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36D421347 for ; Fri, 13 Jan 2017 03:34:10 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [192.168.151.122]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id v0D3Y0Rs073360; Thu, 12 Jan 2017 20:34:01 -0700 (MST) (envelope-from ah@dreamchaser.org) Subject: Re: going around in circles To: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org References: <7dfc56f488bc98d1da4636bd22c43b6e.squirrel@webmail.harte-lyne.ca> From: Gary Aitken Message-ID: <7b77af4f-b86d-dc87-29b1-1c4d57bb14aa@dreamchaser.org> Date: Thu, 12 Jan 2017 20:34:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <7dfc56f488bc98d1da4636bd22c43b6e.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [192.168.151.101]); Thu, 12 Jan 2017 20:34:01 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 03:34:11 -0000 On 01/12/17 10:09, James B. Byrne via freebsd-questions wrote: > I know that I successfully built p5-DBD-pg against Pg96 in the past > because I have both installed and working together. However, I can no > longer repeat the process. When I try to build p5-DBD-pg from the > ports collection after setting the default value for postgresql to 9.6 > in make.conf I get this error. > > In file included from quote.c:10: > ./Pg.h:35:10: fatal error: 'libpq-fe.h' file not found > #include "libpq-fe.h" > > > So, where to get 'libpq-fe.h'? postgresql-libpgeasy maybe? Ok, but > how to install? pkg install postgresql-libpgeasy. However, this > leads to this: > > The following 3 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > postgresql-libpgeasy: 3.0.4_1 > postgresql93-client: 9.3.15_1 > > and postgresql93-client: 9.3.15_1 leads to this: > > perl5.20: 5.20.3_15 > > whereas I have 5.24 installed. > > So, If I build libeasy from ports instead I see this: > > make install clean > . . . > checking for PQconnectdb in -lpq... no > Error: libpq.so not found > ===> Script "configure" failed unexpectedly. > . . . > > > I know that I did not run into this back in December. There was a > massive update to the ports collection applied today and I am guessing > that just maybe that has something to do with this. > > My understanding may be faulty but I was under the impression that if > one used the ports system then this sort of stuff was not supposed to > happen. That if there were dependencies then the port build process > would pull them in automatically. This is not happening in this > instance and I am not sure whether this is a real problem or if I am > somehow missing a step or using the wrong command. Is Postgresql96 > not supported on FreeBSD? I can't speak specifically to postgresql, but it looks like you have run into an inconsistency in the ports tree; which happens regularly but usually a portsnap fetch + update some (indeterminate) time later will clear it up. This thread gives a hint that there's an opportune time to update, but it's not clear to me when that is: https://docs.freebsd.org/cgi/getmsg.cgi?fetch=415100+0+archive/2016/freebsd-ports/20161120.freebsd-ports I've had mostly good luck syncing during the weekend, but haven't narrowed it down to the beginning or end of that period. success. Gary