Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496884 - =dev-db/opendbx-1.4.5 fails to configure with USE=postgres
Summary: =dev-db/opendbx-1.4.5 fails to configure with USE=postgres
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-03 13:31 UTC by Marc Schiffbauer
Modified: 2014-03-06 06:27 UTC (History)
0 users

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


Attachments
emerge --info (file_496884.txt,4.53 KB, text/plain)
2014-01-03 13:31 UTC, Marc Schiffbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer gentoo-dev 2014-01-03 13:31:37 UTC
Created attachment 366844 [details]
emerge --info

The ebuild lacks the following line in pkg_setup() as it is already there for other db backends:

pkg_setup() {
    ...
    use postgres && append-cppflags -I/usr/include/postgresql
    ...
}

This may affect all available opendbx ebuilds
Comment 1 Marc Schiffbauer gentoo-dev 2014-01-03 13:33:08 UTC
Sorry, error was:

[...]
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for initscr in -lncurses... yes
checking for readline in -lreadline -lncurses... yes
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
configure: error: postgresql header (libpq-fe.h) not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/opendbx-1.4.5/work/opendbx-1.4.5/config.log
 * ERROR: dev-db/opendbx-1.4.5::gentoo failed (configure phase):
 *   econf failed
 *
Comment 2 Sven Wegener gentoo-dev 2014-03-05 20:49:06 UTC
On my system I'm having an appropriate symlink maintained by eselect postgresql:

lrwxrwxrwx 1 root root 25 Mar  5 20:47 /usr/include/libpq-fe.h -> postgresql-9.2/libpq-fe.h
Comment 3 Marc Schiffbauer gentoo-dev 2014-03-05 23:02:12 UTC
Hmmm.. then we may close this issue. Works here too now. Propably my fault, sorry.
Comment 4 Sven Wegener gentoo-dev 2014-03-06 06:27:53 UTC
OK, thanks.