Installing postgresql94-server port with PREFIX stops at error from gettext-runtime
Joseph Olatt
joji at eskimo.com
Mon Jul 27 16:29:26 UTC 2015
On Fri, Jul 24, 2015 at 02:46:44PM +0530, Amitabh Kant wrote:
> 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 at 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 at 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
Looks like indexinfo is not being found on your system. Since /opt is
being used, is /opt/bin in your PATH variable?
On my system, I showing indexinfo to be installed in:
> which indexinfo
/usr/local/bin/indexinfo
> pkg which /usr/local/bin/indexinfo
/usr/local/bin/indexinfo was installed by package indexinfo-0.2.3
More information about the freebsd-questions
mailing list