Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 391197

Summary: dev-db/pgadmin3-1.14.0 - ?
Product: Gentoo Linux Reporter: Premek Vohnout <premek>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info

Description Premek Vohnout 2011-11-21 09:54:27 UTC
I'm trying to compile pgadmin3-1.14.0 but it's complains about missing pg_config

checking for pg_config... no
configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option

Problem is that I have upgraded psql from 9.0 to 9.1 but forget to update eselect postgresl. Maybe there should be some warning before compiling

Reproducible: Always

Steps to Reproduce:
1. upgrade postgresl
2. remove previous version of postgresql
3. forget eselect postgresql set ...
4. emerge pgadmin3
Actual Results:  
pgadmin3 will not compile

Expected Results:  
pgadmin3 will compile
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-22 18:44:23 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
3) Please post your `eselect postgresql list' output too.
Comment 2 Premek Vohnout 2011-11-28 09:08:53 UTC
Created attachment 294037 [details]
emerge info
Comment 3 Premek Vohnout 2011-11-28 09:11:13 UTC
1) emerge info in attachment.

2) I don't have build.log anymore because as I written I already fixed that by updating eselect postgresql.

3)

Available PostgreSQL Slots
  9.0                       
  9.1 *                      server-9.1.1 base-9.1.1

SOLUTION IS:
Before starting ./configure in ebuild just make some check if eselect postgresql is setup correctly.