From owner-freebsd-questions@freebsd.org Fri Jul 24 09:17:04 2015 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 74BFE9A9B9A for ; Fri, 24 Jul 2015 09:17:04 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4133719F1 for ; Fri, 24 Jul 2015 09:17:04 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: by oige126 with SMTP id e126so14294154oig.0 for ; Fri, 24 Jul 2015 02:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Y/gBmiklcmrMvX2qmRaLycjbgQXL+U4MUmuWz+mhff8=; b=jsCOkD2KBjAY2azJDe27/DZg72ffCRwSEd8IJ/Quvl3uSfnyW2t70aDODlhuPMbPL/ otbaduNLztotE8T7zYgXe8vu5SppnITkd0/blhoplm5wCC0h60A3+oNiFt+PQSvB/wcA 94ztwaPIGUP1444Pk57QKGgW5Y8bxlw48+7Td+7b+HNgVnnvCmAgvbX0tVofanNfVbPu uXkKTHhcmu7sVnQMpgCmWUs8Jhy1UUK8aHRH3ZIO3gnkWQA/1WoOOLKr7cnzONAwBLFg 5+utRL8w6ZWk6ZrT2bN/7ONwDfAWiRLl63tNe4By6EP33k8yqdKuMcYa4E12QvVZ3k7j 2sxQ== X-Received: by 10.60.67.130 with SMTP id n2mr13749249oet.17.1437729423438; Fri, 24 Jul 2015 02:17:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.37.38 with HTTP; Fri, 24 Jul 2015 02:16:44 -0700 (PDT) From: Amitabh Kant Date: Fri, 24 Jul 2015 14:46:44 +0530 Message-ID: Subject: Installing postgresql94-server port with PREFIX stops at error from gettext-runtime To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2015 09:17:04 -0000 Hi I am trying to install postgresql94-server port with the PREFIX=/opt option, for upgrading the current db version from 9.2 to 9.4 using pg_upgrade [1] . The OS is FreeBSD 9.3, ports tree updated to current as of today. This is a completely new install on a virtual box instance. The installation stops with error: ===> Staging for gettext-runtime-0.19.4 ===> gettext-runtime-0.19.4 depends on executable: indexinfo - not found ===> License BSD2CLAUSE accepted by the user ===> indexinfo-0.2.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by indexinfo-0.2.3 for building ===> Extracting for indexinfo-0.2.3 => SHA256 Checksum OK for bapt-indexinfo-0.2.3_GH0.tar.gz. ===> Patching for indexinfo-0.2.3 ===> Configuring for indexinfo-0.2.3 ===> Building for indexinfo-0.2.3 cc -O2 -pipe -fstack-protector -fno-strict-aliasing -DPACKAGE_NAME=\"indexinfo\" -DPACKAGE_VERSION=\"0.2.3\" -c indexinfo.c cc indexinfo.o -fstack-protector -o indexinfo ===> Staging for indexinfo-0.2.3 ===> Generating temporary packing list install -s -m 755 indexinfo /usr/ports/print/indexinfo/work/stage/opt/bin ====> Compressing man pages (compress-man) ===> Installing for indexinfo-0.2.3 ===> Checking if indexinfo already installed ===> Registering installation for indexinfo-0.2.3 as automatic Installing indexinfo-0.2.3... ===> gettext-runtime-0.19.4 depends on executable: indexinfo - not found *** [run-depends] Error code 1 Stop in /usr/ports/devel/gettext-runtime. *** [lib-depends] Error code 1 Stop in /usr/ports/devel/gettext-tools. *** [install] Error code 1 Stop in /usr/ports/devel/gettext-tools. *** [build-depends] Error code 1 Stop in /usr/ports/devel/gmake. *** [install] Error code 1 Stop in /usr/ports/devel/gmake. *** [build-depends] Error code 1 Stop in /usr/ports/databases/postgresql94-server. *** [stage] Error code 1 Stop in /usr/ports/databases/postgresql94-server. Listing out /opt/bin : root@package0210:/usr/ports/databases/postgresql94-server # ls -lh /opt/bin total 68 -rwxr-xr-x 1 root wheel 25k Jul 24 14:36 iconv -rwxr-xr-x 1 root wheel 8.7k Jul 24 14:36 indexinfo -r-xr-xr-x 1 root wheel 25k Jul 24 14:36 xmlwf Package installed till this point: root@package0210:/usr/ports/databases/postgresql94-server # pkg info expat-2.1.0_2 XML 1.0 parser written in C indexinfo-0.2.3 Utility to regenerate the GNU info page index libiconv-1.14_8 Character set conversion library pkg-1.4.12 Package manager With regards Amitabh [1] http://www.postgresql.org/message-id/CAAW2xfdR3iJpLV9Ohm7FngsPQH0Jbqm=kEfWfM3H0nibVxj7vA@mail.gmail.com