First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96520
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PgSQL Bugs <pgsql-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pierre Poissinger <pierre.poissinger@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pgadmin3-1.2.2-r1.tar.gz A patched ebuild and a patch to the configure script of pgadmin3 application/octet-stream Pierre Poissinger 2005-06-19 05:45 0000 1.30 KB Details
pgadmin3-1.2.2-configure.patch Patch for the pgadmin configure patch Pierre Poissinger 2005-06-19 06:32 0000 699 bytes Details | Diff
pgadmin-1.2.2.ebuild.patch The patch to pgadmin-1.2.2 ebuild patch Pierre Poissinger 2005-06-19 06:36 0000 435 bytes Details | Diff
pgadmin3-1.2.2-configure.patch Corrected pgadmin configure patch patch Pierre Poissinger 2005-06-19 14:42 0000 985 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96520 depends on: Show dependency tree
Bug 96520 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-19 05:42 0000
pgadmin 1.2.2 could not complete the configure

Looks like the configure could not find this file and it seems to be due to a
bug in the configure script itself -- it looks for $WX_HOME/$WX_CONFIG but
$WX_CONFIG, at these point already point to the complete path of the file...



Reproducible: Always
Steps to Reproduce:
1. emerge "=pgadmin-1.2.2"

Actual Results:  
checking for wxWindows... yes
configure: error: Could not find /lib/wx/config/gtk2-unicode-release-2.6

!!! Please attach the config.log to your bug report:
!!! /home/portage/tmp/portage/pgadmin3-1.2.2/work/pgadmin3-1.2.2/config.log

!!! ERROR: dev-db/pgadmin3-1.2.2 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Successfull emerge

With following patches to the ebuild it emerge fine:

------- Comment #1 From Pierre Poissinger 2005-06-19 05:45:21 0000 -------
Created an attachment (id=61488) [edit]
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 ;)

------- Comment #2 From Jakub Moc (RETIRED) 2005-06-19 06:23:10 0000 -------
Please, don't attach tarballs. Plaintext patch and unified diff of the fixed
ebuild is all we need.

------- Comment #3 From Pierre Poissinger 2005-06-19 06:32:19 0000 -------
Created an attachment (id=61493) [edit]
Patch for the pgadmin configure

------- Comment #4 From Pierre Poissinger 2005-06-19 06:36:56 0000 -------
Created an attachment (id=61494) [edit]
The patch to pgadmin-1.2.2 ebuild

Need the configure patch (attachement 61493) in the files section of pgadmin3
portage tree 

------- Comment #5 From Pierre Poissinger 2005-06-19 06:39:36 0000 -------
(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 :)
 

------- Comment #6 From Jakub Moc (RETIRED) 2005-06-19 07:00:20 0000 -------
(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. ;)

------- Comment #7 From Masatomo Nakano (RETIRED) 2005-06-19 11:53:21 0000 -------
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?

------- Comment #8 From Pierre Poissinger 2005-06-19 14:39:22 0000 -------
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) 

  

------- Comment #9 From Pierre Poissinger 2005-06-19 14:42:24 0000 -------
Created an attachment (id=61521) [edit]
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

------- Comment #10 From Masatomo Nakano (RETIRED) 2005-06-19 22:29:30 0000 -------
It seems fine.
I've added it to portage tree.

Thanks.

------- Comment #11 From Pierre Poissinger 2005-06-20 03:42:40 0000 -------
thanks to you aswell :)

First Last Prev Next    No search results available      Search page      Enter new bug