Summary: | pgadmin 1.2.2 ebuild failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pierre Poissinger <pierre.poissinger> |
Component: | New packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | Keywords: | Inclusion |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
A patched ebuild and a patch to the configure script of pgadmin3
Patch for the pgadmin configure The patch to pgadmin-1.2.2 ebuild Corrected pgadmin configure patch |
Description
Pierre Poissinger
2005-06-19 05:42:32 UTC
Created attachment 61488 [details]
A patched ebuild and a patch to the configure script of pgadmin3
A patch to the configure script to ADD a last-chance test for the wx-config
file and a "changed" ebuild to apply the configure patch ;)
Please, don't attach tarballs. Plaintext patch and unified diff of the fixed ebuild is all we need. Created attachment 61493 [details, diff]
Patch for the pgadmin configure
Created attachment 61494 [details, diff]
The patch to pgadmin-1.2.2 ebuild
Need the configure patch (attachement 61493) in the files section of pgadmin3
portage tree
(In reply to comment #2) > Please, don't attach tarballs. Plaintext patch and unified diff of the fixed > ebuild is all we need. Sorry, was too lazy to do 2 separate posts... hope this now meet your needs :) (In reply to comment #5) > Sorry, was too lazy to do 2 separate posts... hope this now meet your needs :) Thanks! You forgot to reopen. ;) Hi, I failed emerge with the patch..(configure passed but compile failed) I want to know why the patch fixes something in your environment. Do you have /usr/lib/wx/config/gtk2-unicode-release-2.6 file? Which wxGTK version have you installed? here comes the info from wxGTK: [ebuild R ] x11-libs/wxGTK-2.6.0-r1 -debug -doc +gnome +gtk2 -joystick +jpeg -odbc +opengl +png +sdl +tiff +unicode -wxgtk1 12,730 kB and yap, i got the config file in /usr/lib/wx/config/gtk2-unicode-release-2.6 file ... I looked a little bit closer to the configure and it looks that the problem is because i have lots of include file of previous wxGTK (2.5) left in the include files... this lead the configure to wrongly think that the home of wxGTK is /usr/local instead of /usr From a modified configure: WX_HOME is /usr/local --- dbg:not in /usr/local/bin//lib/wx/config/gtk2-unicode-release-2.6 dbg:not in /usr/local//lib/wx/config/gtk2-unicode-release-2.6 configure: error: Could not find /lib/wx/config/gtk2-unicode-release-2.6 --- Looking down to the patch, i notice that it can work only for me, since i symlinked the wx dir to /lib sometimes ago and then should not help anyother than me... Since it's just a if/else added, normally the patch should not affect the way the emerge is working on your side... Did you have same emerge trouble with 1.2.2 (so i will feel less alone) Just made another patch who should correct "Correctly" the configure... this one try, if don't find the gtk2-unicode-release with /usr home... See next post (patched ebuild stay the same) Created attachment 61521 [details, diff]
Corrected pgadmin configure patch
This one change the WX_HOME dir if failed to find the wx config files as last
try... this should give better results.
This patch should be used instead of previous configure patch
It seems fine. I've added it to portage tree. Thanks. thanks to you aswell :) |