Thread: pgadmin3-1.14.1 source install trouble, trial #1

pgadmin3-1.14.1 source install trouble, trial #1

From
"J. Greg Davidson"
Date:
I've tried to install pgadmin3-1.14.1 from source twice, once
using my platform's existing wxGTK 2.8.11 libraries and once
using a fresh wxGTK 2.8.12 install from source.  Both attempts
failed, although differently.  Here are details:

(1) My platform:
$ cat /etc/SuSE-release
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
$ uname -a
Linux shevek.puuhonua.org 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/L
inux
$ rpm -qa | grep libwx
libwx_gtk2u_svg-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_baseu_net-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_baseu_net-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_html-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_gl-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_plot-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_base-2_8-0-wxcontainer-2.8.11-3.11.1.x86_64
libwx_gtk2u_gizmos_xrc-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_core-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_qa-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwxchartctrl0-7508-28.5.x86_64
libwx_gtk2u_xrc-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2_core-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_aui-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_richtext-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_gl-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_richtext-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwxflatnotebook0-7508-28.5.x86_64
libwx_baseu_xml-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_media-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_adv-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_qa-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_svg-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_gizmos_xrc-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_mmedia-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_adv-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_baseu_xml-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_baseu-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_media-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_mmedia-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_html-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_gizmos-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_stc-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2_adv-2_8-0-compat-lib-wxcontainer-2.8.11-3.13.1.x86_64
libwx_baseu_xml-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_adv-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwxcustombutton0-7508-28.5.x86_64
libwx_gtk2u_stc-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_html-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwxsmithlib0-7508-28.5.x86_64
libwx_gtk2u_plot-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_baseu-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_xrc-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_xrc-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2_adv-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_core-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_aui-2_8-0-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_richtext-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_baseu-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
libwx_gtk2u_qa-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_gtk2u_gizmos-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
libwx_baseu_net-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64

(2) Configure

$ ./configure
... OMITTING LOTS OF NOISE ...
PostgreSQL directory:                   /usr/local/pgsql
PostgreSQL pg_config binary:            /usr/local/pgsql/bin/pg_config
PostgreSQL version:                     PostgreSQL 9.1.1

PostgreSQL PQconninfoParse support:     Present
PostgreSQL SSL support:                 Missing

wxWidgets directory:                    /usr
wxWidgets wx-config binary:             /usr/bin/wx-config
wxWidgets version:                      wxWidgets 2.8.11

libxml2 directory:                      /usr
libxml2 xml2-config binary:             /usr/bin/xml2-config
libxml2 version:                        libxml2 2.7.8

libxslt directory:                      /usr
libxslt xslt-config binary:             /usr/bin/xslt-config
libxslt version:                        libxslt 1.1.26

Building a debug version of pgAdmin:    No
Statically linking pgAdmin:             No
Building a Mac OS X appbundle:          No

pgAdmin configuration is now complete. You can now compile and
install pgAdmin using 'make; make install'.

(3) Make

pgadmin3-1.14.1
... OMITTING LOTS OF NOISE ...
g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -I../pgadmin/include
-I/usr/local/pgsql-9.1.1/include-I/usr/local/pgsql-9.1.1/include/server -I/usr/local/pgsql-9.1.1/include
-DHAVE_CONNINFO_PARSE-I/usr/lib64/wx-2.8-stl/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64-D_LARGE_FILES -D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2  -O2 -MT
ctlMenuToolbar.o-MD -MP -MF .deps/ctlMenuToolbar.Tpo -c -o ctlMenuToolbar.o `test -f './ctl/ctlMenuToolbar.cpp' || echo
'./'`./ctl/ctlMenuToolbar.cpp
./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

As you can see, configure thought that all the dependencies
were satisfied, but somehow there is a problem.
Have I missed something?  If this should have worked, do you
need any more information?  I kept the full install script.

I'll submit a separate report of what happened when I tried again
with a fresh wxGTK2 install.

_Greg

J. Greg Davidson


Re: pgadmin3-1.14.1 source install trouble, trial #1

From
Guillaume Lelarge
Date:
On Thu, 2012-02-16 at 20:31 -0800, J. Greg Davidson wrote:
> I've tried to install pgadmin3-1.14.1 from source twice, once
> using my platform's existing wxGTK 2.8.11 libraries and once
> using a fresh wxGTK 2.8.12 install from source.  Both attempts
> failed, although differently.  Here are details:
>
> (1) My platform:
> $ cat /etc/SuSE-release
> openSUSE 11.4 (x86_64)
> VERSION = 11.4
> CODENAME = Celadon
> $ uname -a
> Linux shevek.puuhonua.org 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/L
> inux
> $ rpm -qa | grep libwx
> libwx_gtk2u_svg-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_baseu_net-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_baseu_net-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_html-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_gl-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_plot-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_base-2_8-0-wxcontainer-2.8.11-3.11.1.x86_64
> libwx_gtk2u_gizmos_xrc-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_core-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_qa-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwxchartctrl0-7508-28.5.x86_64
> libwx_gtk2u_xrc-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2_core-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_aui-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_richtext-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_gl-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_richtext-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwxflatnotebook0-7508-28.5.x86_64
> libwx_baseu_xml-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_media-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_adv-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_qa-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_svg-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_gizmos_xrc-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_mmedia-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_adv-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_baseu_xml-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_baseu-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_media-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_mmedia-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_html-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_gizmos-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_stc-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2_adv-2_8-0-compat-lib-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_baseu_xml-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_adv-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwxcustombutton0-7508-28.5.x86_64
> libwx_gtk2u_stc-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_html-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwxsmithlib0-7508-28.5.x86_64
> libwx_gtk2u_plot-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_baseu-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_xrc-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_xrc-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2_adv-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_core-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_aui-2_8-0-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_richtext-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_baseu-2_8-0-wxcontainer-2.8.11-3.13.1.x86_64
> libwx_gtk2u_qa-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_gtk2u_gizmos-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
> libwx_baseu_net-2_8-0-compat-lib-stl-2.8.11-4.13.1.x86_64
>
> (2) Configure
>
> $ ./configure
> ... OMITTING LOTS OF NOISE ...
> PostgreSQL directory:                   /usr/local/pgsql
> PostgreSQL pg_config binary:            /usr/local/pgsql/bin/pg_config
> PostgreSQL version:                     PostgreSQL 9.1.1
>
> PostgreSQL PQconninfoParse support:     Present
> PostgreSQL SSL support:                 Missing
>
> wxWidgets directory:                    /usr
> wxWidgets wx-config binary:             /usr/bin/wx-config
> wxWidgets version:                      wxWidgets 2.8.11
>
> libxml2 directory:                      /usr
> libxml2 xml2-config binary:             /usr/bin/xml2-config
> libxml2 version:                        libxml2 2.7.8
>
> libxslt directory:                      /usr
> libxslt xslt-config binary:             /usr/bin/xslt-config
> libxslt version:                        libxslt 1.1.26
>
> Building a debug version of pgAdmin:    No
> Statically linking pgAdmin:             No
> Building a Mac OS X appbundle:          No
>
> pgAdmin configuration is now complete. You can now compile and
> install pgAdmin using 'make; make install'.
>
> (3) Make
>
> pgadmin3-1.14.1
> ... OMITTING LOTS OF NOISE ...
> g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -I../pgadmin/include
-I/usr/local/pgsql-9.1.1/include-I/usr/local/pgsql-9.1.1/include/server -I/usr/local/pgsql-9.1.1/include
-DHAVE_CONNINFO_PARSE-I/usr/lib64/wx-2.8-stl/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64-D_LARGE_FILES -D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2  -O2 -MT
ctlMenuToolbar.o-MD -MP -MF .deps/ctlMenuToolbar.Tpo -c -o ctlMenuToolbar.o `test -f './ctl/ctlMenuToolbar.cpp' || echo
'./'`./ctl/ctlMenuToolbar.cpp
> ./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
>
> As you can see, configure thought that all the dependencies
> were satisfied, but somehow there is a problem.
> Have I missed something?  If this should have worked, do you
> need any more information?  I kept the full install script.
>

It took me a while to find the previous thread where I had to deal with
this issue. It's available here:

http://postgresql.1045698.n5.nabble.com/Compile-pgadmin1-1-14-0-beta3-ctlMenuToolbar-td4698296.html

Same error. So I guess you didn't install all the libwx*-wxcontainer.
With them, it should compile just fine.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com