Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2015 14:46:44 +0530
From:      Amitabh Kant <amitabhkant@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Installing postgresql94-server port with PREFIX stops at error from gettext-runtime
Message-ID:  <CAPTAQBJR42SZgsqYcB=Jfu9dEvsv66G5EJbpWF572UM1dga0Xg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPTAQBJR42SZgsqYcB=Jfu9dEvsv66G5EJbpWF572UM1dga0Xg>