Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#10926 closed defect (fixed)

p5-dbd-pg can't find pg_config

Reported by: decibel (Jim Nasby) Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

decibel@phonebook.1[16:23]~/pgsql/HEAD/i:77%sudo port install p5-class-dbi-pg ---> Configuring p5-dbd-pg Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_perl_p5-dbd-pg/work/DBD-Pg-1.49" && PATH=/opt/local/lib/pgsql8/bin:/opt/local/ccache/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin POSTGRES_INCLUDE="/opt/local/include/pgsql8" POSTGRES_LIB="/opt/local/lib/pgsql8 -lssl" /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor" returned error 2 Command output: Configuring DBD::Pg 1.49 Remember to actually read the README file! Path to pg_config? Could not determine the PostgreSQL library version. Please ensure that a valid path is given to the 'pg_config' command, either manually or by setting the environment variables POSTGRES_DATA, PSOTGRES_INCLUDE, and POSTGRES_LIB OS: darwin PostgreSQL version: 00000 (default port: 5432)

Error: The following dependencies failed to build: p5-dbd-pg Error: Status 1 encountered during processing. decibel@phonebook.1[16:23]~/pgsql/HEAD/i:78%

It seems that sh doesn't obey variables set on the command line...

decibel@phonebook.1[16:25]/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_perl_p5-dbd-pg/work/DBD-Pg-1.49:84%sudo sh -c 'PATH=/opt/local/lib/pgsql8/bin:/opt/local/ccache/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin POSTGRES_INCLUDE="/opt/local/include/pgsql8" POSTGRES_LIB="/opt/local/lib/pgsql8 -lssl" echo $PATH' /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/decibel/bin:/opt/local/lib/postgresql81/bin decibel@phonebook.1[16:26]/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_perl_p5-dbd-pg/work/DBD-Pg-1.49:85%sh sh-2.05b$ PATH=/opt/local/lib/pgsql8/bin:/opt/local/ccache/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin POSTGRES_INCLUDE="/opt/local/include/pgsql8" POSTGRES_LIB="/opt/local/lib/pgsql8 -lssl" echo $PATH /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/decibel/bin:/opt/local/lib/postgresql81/bin sh-2.05b$

Attachments (1)

patch (740 bytes) - added by decibel (Jim Nasby) 17 years ago.
Patch to fix p5-dbd-pg

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by decibel (Jim Nasby)

Attachment: patch added

Patch to fix p5-dbd-pg

comment:1 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:2 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:3 Changed 17 years ago by markd@…

Resolution: fixed
Status: newclosed

This has been fixed.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.