Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144732 - dev-db/pygresql-3.8 missing postgresql dependency
Summary: dev-db/pygresql-3.8 missing postgresql dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 02:52 UTC by Pavel Šimerda
Modified: 2007-09-23 00:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Šimerda 2006-08-22 02:52:52 UTC
to me it looks like a missing dependency on pg_config

--
>>> Compiling source in /var/tmp/portage/pygresql-3.8/work/PyGreSQL-3.8 ...
sh: pg_config: command not found
Traceback (most recent call last):
  File "setup.py", line 77, in ?
    pg_include_dir = pg_config('includedir')
  File "setup.py", line 47, in pg_config
    raise Exception, "pg_config tool is not available."
Exception: pg_config tool is not available.

!!! ERROR: dev-db/pygresql-3.8 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called distutils_src_compile
  distutils.eclass, line 38:   Called die
--

cheers, pavlix
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-22 03:12:29 UTC
Well, you can't simply replace posgresql dependency with libpq if it's using pg_config; no idea why was the ebuild changed.
Comment 2 Pavel Šimerda 2006-08-22 03:22:23 UTC
> Well, you can't simply replace posgresql dependency with libpq if it's using
> pg_config; no idea why was the ebuild changed.

is it necessary to install postgresql for pygresql?
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2006-08-22 03:26:12 UTC
At the moment: yes. Because pg_config is provided by the postgresql ebuild. The new ebuilds in the overlay will change this so the only thing you need is libpq.
Comment 4 Pavel Šimerda 2006-08-22 05:21:08 UTC
> At the moment: yes. Because pg_config is provided by the postgresql ebuild. The
> new ebuilds in the overlay will change this so the only thing you need is
> libpq.
> 

thanks a lot, that's a good news
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2006-11-07 15:19:04 UTC
Aaand fixed with the latest version bump. Enjoy & thanks for reporting!