Summary: | pgadmin3 requires wxGTK, but tries to link to 'libwx_gtk2' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Stakenvicius <ian> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | axel.privat, wxwidgets |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 89937 | ||
Bug Blocks: | |||
Attachments: |
proposed fix
pgadmin3-1.2.1.ebuild pgadmin3-1.2.1-configure.patch |
Description
Ian Stakenvicius
2005-01-20 22:04:50 UTC
On my box it helped to run the following command:
> USE=-unicode USE=-gtk2 emerge wxGTK
before emerging pgadmin3.
Created attachment 52560 [details, diff]
proposed fix
This should fix the problem -- i wrapped the library substitution so it links
to different libs if gtk2 is USEd. I don't think it will break anything else,
but a test of the patch on a system USEing gtk2 should confirm.
When trying to connect to the latest stable PostgreSQL server (8.0.1-r2), there is an error pop up in pgadmin3 which sayes that "dbpath" could not be found. I read furthermore, that only pgadmin3-1.2 has PostgreSQL 8.0 support and this version is masked and unstable in portage, because of wxGTK-2.5. for what it is worth, I had a related problem with pgadmin3 "undefined references to _gtk_accel_group_detach (and kin) I re-emerged wxGTK followed by pgadmin3 and it straightened itself out. I'll take a look at this after wxGTK-2.6.0 goes in portage. Their homepage says they only support 2.5.1.3, so it should be easy to get working with 2.6 Heitzso, your problem is a separate issue with newer versions of gtk. Simply re-emerging wxGTK will fix it, if you haven't already. wxGTK-2.6 is in portage now. Then I've changed wxGTK DEPEND from 2.5 to 2.6 and confired it's working. So, I just unmasked pgadmin3 :) If there are any problems, feel free to reopen this bug. sorry, i wrote wrong bug... but, pgadmin-1.2 and wxGTK-2.6 will fix this bug? It looks like the ebuild is wrong, always passing gkt2/unicode even if they choose gtk1 (-gtk2) with USE flags. I'll test it tonight and get back with my results/fix. Created attachment 57903 [details]
pgadmin3-1.2.1.ebuild
Created attachment 57904 [details, diff]
pgadmin3-1.2.1-configure.patch
Masatomo, 1.2.1 now only works with gtk2+unicode. The ebuild and patch were tested on amd64 and x86. I just updated the wxwidgets.eclass, so make sure you get it from cvs or emerge sync before trying the ebuild & patch please. I'm not sure if the dependency for postgres is correct, but it compiles at starts fine using dev-db/postgresql-8.0.2 Thanks Rob. I've added the ebuild to the portage tree. |