Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150547 - dev-db/pgadmin3 don't compile with x11-libs/wxGTK-2.6.2-r1
Summary: dev-db/pgadmin3 don't compile with x11-libs/wxGTK-2.6.2-r1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-09 01:46 UTC by Sebastian Noack
Modified: 2007-04-22 19:46 UTC (History)
1 user (show)

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


Attachments
Resolves at least the startup problem of pgadmin3-1.4.3 (wxGTK-2.6.3.3.ebuild.patch,363 bytes, patch)
2006-10-11 10:57 UTC, Sebastian Noack
Details | Diff
emerge log: failure (dev-db:pgadmin3-1.2.2:20061209-103303.log,11.39 KB, text/plain)
2006-12-09 02:45 UTC, BORGULYA Gábor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Noack 2006-10-09 01:46:56 UTC
Both verions in portage of dev-db/pgadmin3 1.2.2 and 1.4.3 don't compile if you are using the latest stable of x11-libs/wxGTK which is version 2.6.2-r1.

If I unmask x11-libs/wxGTK by packages.keywords and update to x11-libs/wxGTK to version 2.6.3.3, dev-db/pgadmin3-1.4.3 compiles succesfully. But I still can't start it. :(
Comment 1 Sebastian Noack 2006-10-10 00:41:17 UTC
The error message which occurs if I try to start dev-db/pgadmin3-1.4.3 using x11-libs/wxGTK-2.6.3.3 is following:

error: /usr/lib/libwx_gtk2u_stc-2.6.so.0: symbol _ZTV7wxEvent, version
WXU_2.6 not defined in file libwx_gtk2u_core-2.6.so.0 with link time reference
Comment 2 Sebastian Noack 2006-10-11 10:49:42 UTC
I figured out, why pgadmin3 doesn't starts on my system. It is because of symbols with underscores in the beginning (see the error message) are seldom public members in C++ and I have enabled the CXXFLAG -fvisibility-inlines-hidden which (please tell me if I'm wrong) hides not-public symbols. However if I filter this flag by pgadmin3's ebuild, it works. I will upload a patch which adds a corresponding filter-flag line.
Comment 3 Sebastian Noack 2006-10-11 10:52:40 UTC
Sorry I meant wxGTK, not pgadmin3. It is a problem with x11-libs/wxGTK.
Comment 4 Sebastian Noack 2006-10-11 10:57:28 UTC
Created attachment 99376 [details, diff]
Resolves at least the startup problem of pgadmin3-1.4.3
Comment 5 BORGULYA Gábor 2006-12-09 02:45:09 UTC
Created attachment 103670 [details]
emerge log: failure
Comment 6 BORGULYA Gábor 2006-12-09 08:45:25 UTC
1.4.3 did compile for me, and starts without problems. 
I don't know if this is related, but I recently made an `emerge --emptytree world' due to GCC upgrade to 4.
Comment 7 Cyrius 2007-01-06 22:18:57 UTC
./src/include/pgAdmin3.h:52:2: #error wxGTK 2.7.0 or higher is required to compile this version of pgAdmin.

Then i think we need wxGTK 2.7.0 

Comment 8 Ryan Hill (RETIRED) gentoo-dev 2007-04-22 19:46:25 UTC
using -fvisibility-inlines-hidden is not supported, so don't use it. ;P

the rest of the comments on this bug are unrelated.