Summary: | app-admin/eselect-postgresql doesn't work correctly in Prefix | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Matt Michalowski <me> |
Component: | Prefix Support | Assignee: | Gentoo non-Linux Team <alt> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cloos |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Michalowski
2008-07-23 00:44:47 UTC
Committed a patch that does this, but I don't have anymore time today to spend on it: %% eselect postgresql list Available postgresql installations 8.3 <-* base-8.3.3 server-8.3.3 %% eselect postgresql set 8.3 !!! Warning: /usr/include/libpq-fe.h exists and is not a symbolic link !!! Warning: /usr/include/libpq exists and is not a symbolic link !!! Warning: /usr/include/postgres_ext.h exists and is not a symbolic link !!! Error: Broken install: no pg_config found Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html Killed the wrong paths come from local slotdir=""/Library/Gentoo"/etc/eselect/postgresql/slots/${1}" (quoting is a bit weird, but that aside, fixed that on the go) maybe postgresql doesn't install correct stuff. I patched the binwrapper to be prefix aware too. This is not an alt-specific bug. I have the same problem with a ~x86 install. Only by manually making the symlinks contained in the postgres_symlinks array in the /etc/eselect/postgresql/slots/8.3/base file will anything which depends on dev-db/postgresql-base build. The fix in eselect-postgresql-0.3-r00.1 gets us a little closer, we just need a couple more to get it working fully. These are: * eselect-postgresql needs to eprefixy binwrapper * dev-db/postgresql-base installs $EPREFIX/etc/eselect/postgresql/slots/8.3/base - this file also needs to be prefix'ed Cheers. *** This bug has been marked as a duplicate of bug 267014 *** |