Opened 14 years ago

Closed 14 years ago

#24480 closed defect (duplicate)

pgAdmin3 installation fails because of postgresql84 problem

Reported by: ssalmine@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: pgAdmin3

Description

I'm trying to install pgAdmin3 on Snow Leopard.

It always fails on line "checking PostgreSQL in /opt/local/lib/postgresql84... failed", even if pg84 is installed for sure. Tried upgrading with --force etc, but no help.

Attached is sudo -d log.

Attachments (2)

output.txt (80.9 KB) - added by ssalmine@… 14 years ago.
sudo port -d install pgAdmin3 > ~/Desktop/output.txt 2>&1
config.log (29.9 KB) - added by ssalmine@… 14 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_pgAdmin3/work/pgadmin3-1.10.2/config.log

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by ssalmine@…

Attachment: output.txt added

sudo port -d install pgAdmin3 > ~/Desktop/output.txt 2>&1

comment:1 Changed 14 years ago by ssalmine@…

Same problem when trying to install with different variant: sudo port install pgAdmin3 +with_postgresql83

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jwa@…

comment:3 Changed 14 years ago by mf2k (Frank Schima)

What is the output of the following?

port installed postgresql84

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Attach the config.log.

comment:5 Changed 14 years ago by ssalmine@…

port installed postgresql84
The following ports are currently installed:
  postgresql84 @8.4.3_0 (active)

Changed 14 years ago by ssalmine@…

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_pgAdmin3/work/pgadmin3-1.10.2/config.log

comment:6 Changed 14 years ago by ssalmine@…

Reading at the config.log I figured out the problem. The pgAdmin3 package does not correctly report that one needs to install postgresql84 with +universal. So this solved the issue:

sudo port upgrade --enforce-variants postgresql84 +universal
sudo port install pgAdmin3

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.