Thread: Make error 1.6.1

Make error 1.6.1

From
Clodoaldo
Date:
Fedora Core 5 i386

Installed wxGTK 2.8.0 from source with no errors using the parameters
suggested in the pgadmin3 download page

Downloaded pgadmin3 source 1.6.1. configure went with no errors but when I do:

# make all
...
make[2]: *** [frmEditGrid.o] Error 1
make[2]: Leaving directory `/root/pgadmin3-1.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pgadmin3-1.6.1'
make: *** [all] Error 2

Regards,
-- 
Clodoaldo Pinto Neto


Re: Make error 1.6.1

From
Dave Page
Date:
Clodoaldo wrote:
> Fedora Core 5 i386
> 
> Installed wxGTK 2.8.0 from source with no errors using the parameters
> suggested in the pgadmin3 download page
> 
> Downloaded pgadmin3 source 1.6.1. configure went with no errors but when 
> I do:
> 
> # make all
> ...
> make[2]: *** [frmEditGrid.o] Error 1
> make[2]: Leaving directory `/root/pgadmin3-1.6.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/pgadmin3-1.6.1'
> make: *** [all] Error 2
> 
> Regards,


You missed the important bit of the error message, but I suspect I knw 
what the problem actually is. Assuming the error is about 
EVT_AUI_PANEBUTTON not being found, in frmEditGrid.cpp, change

EVT_AUI_PANEBUTTON

to

EVT_AUI_PANE_BUTTON

There are also two other files that will need a similar modification if 
memory serves.

This happens because wxWidgets had an API change right before 2.8.0 was 
released (urgh), and after pgAdmin 1.6.1 was released. It has already 
been fixed for 1.6.2.

Regards, Dave.


Re: Make error 1.6.1

From
Clodoaldo
Date:
2006/12/22, Dave Page <dpage@postgresql.org>:
> Clodoaldo wrote:
> > Fedora Core 5 i386
> >
> > Installed wxGTK 2.8.0 from source with no errors using the parameters
> > suggested in the pgadmin3 download page
> >
> > Downloaded pgadmin3 source 1.6.1. configure went with no errors but when
> > I do:
> >
> > # make all
> > ...
> > make[2]: *** [frmEditGrid.o] Error 1
> > make[2]: Leaving directory `/root/pgadmin3-1.6.1/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/pgadmin3-1.6.1'
> > make: *** [all] Error 2
> >
> > Regards,
>
>
> You missed the important bit of the error message, but I suspect I knw
> what the problem actually is. Assuming the error is about
> EVT_AUI_PANEBUTTON not being found, in frmEditGrid.cpp, change
>
> EVT_AUI_PANEBUTTON
>
> to
>
> EVT_AUI_PANE_BUTTON
>
> There are also two other files that will need a similar modification if
> memory serves.
>

That worked, thanks.

If someone finds the same problem the other two files that need to be
changed are:
src/frm/frmQuery.cpp
src/main/events.cpp

In those files EVT_AUI_PANECLOSE should be changeg to EVT_AUI_PANE_CLOSE

Regards,
-- 
Clodoaldo Pinto Neto