Thread: Compile pgadmin1-1.14.0-beta3 - ctlMenuToolbar
Using OpenSUSE 11.4, kernel 3.0. wxWidgets version 2.8.11. While compiling pgadmin1-1.14.0-beta3, configure completes correctly but make fails on: ./ctl/ctlMenuToolbar.cpp: In member function ‘void ctlMenuToolbar::DoProcessLeftClick(wxMouseEvent&)’: ./ctl/ctlMenuToolbar.cpp:161:2: error: ‘Node’ is not a member of ‘ctlMenuToolList’ ./ctl/ctlMenuToolbar.cpp:161:25: error: ‘node’ was not declared in this scope make[3]: *** [ctlMenuToolbar.o] Error 1 make[3]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3' make: *** [all] Error 2 Suggestions? -- --- Colin Beckingham
On Sun, 2011-08-14 at 10:45 -0400, Colin Beckingham wrote: > Using OpenSUSE 11.4, kernel 3.0. > wxWidgets version 2.8.11. > While compiling pgadmin1-1.14.0-beta3, configure completes correctly but > make fails on: > > ./ctl/ctlMenuToolbar.cpp: In member function ‘void > ctlMenuToolbar::DoProcessLeftClick(wxMouseEvent&)’: > ./ctl/ctlMenuToolbar.cpp:161:2: error: ‘Node’ is not a member of > ‘ctlMenuToolList’ > ./ctl/ctlMenuToolbar.cpp:161:25: error: ‘node’ was not declared in this > scope > make[3]: *** [ctlMenuToolbar.o] Error 1 > make[3]: Leaving directory > `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3' > make: *** [all] Error 2 > > Suggestions? Not the best mailing list to talk about this (pgadmin-hackers or -support would be better). Anyway, I don't have the issue on my laptop. With beta3, wxWidgets 2.8.12, gcc 4.6, I have no problem compiling pgAdmin: ./configure --prefix=/opt/pgadmin-1.14 --with-pgsql=/opt/postgresql-head --enable-debug --with-wx=/opt/wxgtk-2.8 --with-wx-version=2.8 make make install I don't think it has anything to do with the fact you have wxWidgets 2.8.11 and me 2.8.12. Did you change the source? and which configure line do you use? -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
On 08/14/2011 12:16 PM, Guillaume Lelarge wrote: > On Sun, 2011-08-14 at 10:45 -0400, Colin Beckingham wrote: >> Using OpenSUSE 11.4, kernel 3.0. >> wxWidgets version 2.8.11. >> While compiling pgadmin1-1.14.0-beta3, configure completes correctly but >> make fails on: >> >> ./ctl/ctlMenuToolbar.cpp: In member function ‘void >> ctlMenuToolbar::DoProcessLeftClick(wxMouseEvent&)’: >> ./ctl/ctlMenuToolbar.cpp:161:2: error: ‘Node’ is not a member of >> ‘ctlMenuToolList’ >> ./ctl/ctlMenuToolbar.cpp:161:25: error: ‘node’ was not declared in this >> scope >> make[3]: *** [ctlMenuToolbar.o] Error 1 >> make[3]: Leaving directory >> `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3' >> make: *** [all] Error 2 >> >> Suggestions? > > Not the best mailing list to talk about this (pgadmin-hackers or > -support would be better). > > Anyway, I don't have the issue on my laptop. With beta3, wxWidgets > 2.8.12, gcc 4.6, I have no problem compiling pgAdmin: > > ./configure --prefix=/opt/pgadmin-1.14 > --with-pgsql=/opt/postgresql-head > --enable-debug > --with-wx=/opt/wxgtk-2.8 > --with-wx-version=2.8 > make > make install > > I don't think it has anything to do with the fact you have wxWidgets > 2.8.11 and me 2.8.12. > > Did you change the source? and which configure line do you use? > > Thanks for the response. My apologies for posting in the wrong area, unfamiliar territory, just recently started using Postgresql. I will take the enquiry to a more appropriate area. I did not change the source at all, just used a plain './configure' which seemed to find everything. -- --- Colin Beckingham
On Sun, 2011-08-14 at 12:23 -0400, Colin Beckingham wrote: > On 08/14/2011 12:16 PM, Guillaume Lelarge wrote: > > On Sun, 2011-08-14 at 10:45 -0400, Colin Beckingham wrote: > >> Using OpenSUSE 11.4, kernel 3.0. > >> wxWidgets version 2.8.11. > >> While compiling pgadmin1-1.14.0-beta3, configure completes correctly but > >> make fails on: > >> > >> ./ctl/ctlMenuToolbar.cpp: In member function ‘void > >> ctlMenuToolbar::DoProcessLeftClick(wxMouseEvent&)’: > >> ./ctl/ctlMenuToolbar.cpp:161:2: error: ‘Node’ is not a member of > >> ‘ctlMenuToolList’ > >> ./ctl/ctlMenuToolbar.cpp:161:25: error: ‘node’ was not declared in this > >> scope > >> make[3]: *** [ctlMenuToolbar.o] Error 1 > >> make[3]: Leaving directory > >> `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' > >> make[2]: *** [all] Error 2 > >> make[2]: Leaving directory > >> `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3' > >> make: *** [all] Error 2 > >> > >> Suggestions? > > > > Not the best mailing list to talk about this (pgadmin-hackers or > > -support would be better). > > > > Anyway, I don't have the issue on my laptop. With beta3, wxWidgets > > 2.8.12, gcc 4.6, I have no problem compiling pgAdmin: > > > > ./configure --prefix=/opt/pgadmin-1.14 > > --with-pgsql=/opt/postgresql-head > > --enable-debug > > --with-wx=/opt/wxgtk-2.8 > > --with-wx-version=2.8 > > make > > make install > > > > I don't think it has anything to do with the fact you have wxWidgets > > 2.8.11 and me 2.8.12. > > > > Did you change the source? and which configure line do you use? > > > > > > Thanks for the response. My apologies for posting in the wrong area, > unfamiliar territory, just recently started using Postgresql. I will > take the enquiry to a more appropriate area. > Thanks. > I did not change the source at all, just used a plain './configure' > which seemed to find everything. > Can you tell me which version of gcc you're using? -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
On Sun, 2011-08-14 at 18:26 +0200, Guillaume Lelarge wrote: > On Sun, 2011-08-14 at 12:23 -0400, Colin Beckingham wrote: > > On 08/14/2011 12:16 PM, Guillaume Lelarge wrote: > > > On Sun, 2011-08-14 at 10:45 -0400, Colin Beckingham wrote: > > >> Using OpenSUSE 11.4, kernel 3.0. > > >> wxWidgets version 2.8.11. > > >> While compiling pgadmin1-1.14.0-beta3, configure completes correctly but > > >> make fails on: > > >> > > >> ./ctl/ctlMenuToolbar.cpp: In member function ‘void > > >> ctlMenuToolbar::DoProcessLeftClick(wxMouseEvent&)’: > > >> ./ctl/ctlMenuToolbar.cpp:161:2: error: ‘Node’ is not a member of > > >> ‘ctlMenuToolList’ > > >> ./ctl/ctlMenuToolbar.cpp:161:25: error: ‘node’ was not declared in this > > >> scope > > >> make[3]: *** [ctlMenuToolbar.o] Error 1 > > >> make[3]: Leaving directory > > >> `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' > > >> make[2]: *** [all] Error 2 > > >> make[2]: Leaving directory > > >> `/home/colin/downloads/pgadmin3-1.14.0-beta3/pgadmin' > > >> make[1]: *** [all-recursive] Error 1 > > >> make[1]: Leaving directory `/home/colin/downloads/pgadmin3-1.14.0-beta3' > > >> make: *** [all] Error 2 > > >> > > >> Suggestions? > > > > > > Not the best mailing list to talk about this (pgadmin-hackers or > > > -support would be better). > > > > > > Anyway, I don't have the issue on my laptop. With beta3, wxWidgets > > > 2.8.12, gcc 4.6, I have no problem compiling pgAdmin: > > > > > > ./configure --prefix=/opt/pgadmin-1.14 > > > --with-pgsql=/opt/postgresql-head > > > --enable-debug > > > --with-wx=/opt/wxgtk-2.8 > > > --with-wx-version=2.8 > > > make > > > make install > > > > > > I don't think it has anything to do with the fact you have wxWidgets > > > 2.8.11 and me 2.8.12. > > > > > > Did you change the source? and which configure line do you use? > > > > > > > > > > Thanks for the response. My apologies for posting in the wrong area, > > unfamiliar territory, just recently started using Postgresql. I will > > take the enquiry to a more appropriate area. > > > > Thanks. > > > I did not change the source at all, just used a plain './configure' > > which seemed to find everything. > > > > Can you tell me which version of gcc you're using? > I continued the discussion with Colin privately. We finally found the issue. He needs the libwx*-wxcontainer packages as well. With them, he's able to compile pgAdmin 1.14 beta 3 on his opensuse 11.4. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com