vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto > Bastiaan Wakkie > Sent: 19 October 2005 15:52 > To: pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] Beta 3 uploaded > > I got the following error in make: > > ./configure --prefix=/var/db/pgadmin1.4.0b3/ > --exec-prefix=/var/db/pgadmin1.4.0b3/ --with-pgsql=/var/db/pg8 > > ERROR: > ../src/include/ctl/xh_ctlcombo.h:25: error: class > `ctlComboBoxXmlHandler' does n ot have any field named > `wxComboBoxXmlHandler' > ./pgAdmin3.cpp:60:24: wx/ogl/ogl.h: No such file or directory Looks like your wx installation is very broken (especially as xh_ctlcombo.h hasn't changed in 5 months) - certainly wx/ogl/ogl.h should exist if installed properly. I would clean it out and reinstall wx 2.6.2 as per the instructions at http://www.pgadmin.org/download.php#source). Regards, Dave ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| |||
| > Looks like your wx installation is very broken (especially as > xh_ctlcombo.h hasn't changed in 5 months) - certainly wx/ogl/ogl.h > should exist if installed properly. I would clean it out and reinstall > wx 2.6.2 as per the instructions at > http://www.pgadmin.org/download.php#source). > I followed these instructions and they are working as I have a working beta 2 version Hmmm how come that beta 2 did succeeded without any problem and now I have problms? let me understand this: .../src/include/pgAdmin3.h:18:27: wx/xrc/xmlres.h: No such file or directory this file exists. in /usr/local/include/wx-2.6/wx/xrc/xmlres.h So do I need to specify where the wx dir is? I did not have to do this in the beta 2. thanks, -- ^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$ ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org |
| |||
| On 19/10/05 7:30 pm, "Bastiaan Wakkie" <bastiaan@wakkie.org> wrote: > >> Looks like your wx installation is very broken (especially as >> xh_ctlcombo.h hasn't changed in 5 months) - certainly wx/ogl/ogl.h >> should exist if installed properly. I would clean it out and reinstall >> wx 2.6.2 as per the instructions at >> http://www.pgadmin.org/download.php#source). >> > I followed these instructions and they are working as I have a working > beta 2 version > > Hmmm how come that beta 2 did succeeded without any problem and now I > have problms? Not sure, that does seem odd. Can you send the full g++ command before the error so I can see what include paths it was using? Should be something like: g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -I/usr/local/pgsql/include -DSSL -I/usr/local/lib/wx/include/mac-unicode-release-2.6 -I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -no-cpp-precomp -fno-rtti -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -c -o pgAdmin3.o `test -f './pgAdmin3.cpp' || echo './'`./pgAdmin3.cpp > let me understand this: > > ../src/include/pgAdmin3.h:18:27: wx/xrc/xmlres.h: No such file or > directory > > this file exists. in /usr/local/include/wx-2.6/wx/xrc/xmlres.h > > So do I need to specify where the wx dir is? I did not have to do this > in the beta 2. Well, in the example above, pgAdmin uses -I/usr/local/include/wx-2.6 to find that file. That's a default install of wx to /usr/local. pgAdmin only actually uses that to find the wx-config binary though. Wx-config provides the actual path to the files (see the checks at the end of acinclude.m4): raptor:~/pgadmin3 dpage$ /usr/local/bin/wx-config --cppflags --debug=yes --unicode=yes -I/usr/local/lib/wx/include/mac-unicode-debug-2.6 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA With wx installed in /usr/local, pgAdmin should find it without needing any options passed to configure. Regards, Dave ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org |
| |||
| > Not sure, that does seem odd. Can you send the full g++ command before the > error so I can see what include paths it was using? Should be something > like: > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wno-non-virtual-dtor > -I../src/include -I../src/agent/include -I../src/slony/include > -I/usr/local/pgsql/include -DSSL > -I/usr/local/lib/wx/include/mac-unicode-release-2.6 > -I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 > -D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -no-cpp-precomp -fno-rtti -Wall > -Wno-non-virtual-dtor -I../src/include -I../src/agent/include > -I../src/slony/include -c -o pgAdmin3.o `test -f './pgAdmin3.cpp' || echo > './'`./pgAdmin3.cpp make[2]: Entering directory `/home/bw/tmp/pgadmin3-1.4.0-beta3/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR= \"/var/db/pgadmin1.4.0b3//share/pgadmin3/\" -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -I/var/db/pg8/include -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -DDATA_DIR=\"/var/db/pgadmin1.4.0b3//share/pgadmin3/\" -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" -c -o pgAdmin3.o `test -f './pgAdmin3.cpp' || echo './'`./pgAdmin3.cpp; \ then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f ".deps/pgAdmin3.Tpo"; exit 1; fi In file included from ./pgAdmin3.cpp:13: .../src/include/pgAdmin3.h:18:27: wx/xrc/xmlres.h: No such file or directory In file included from ../src/include/pgAdmin3.h:24, from ./pgAdmin3.cpp:13: .../src/include/ctl/ctlComboBox.h: In member function `int wxComboBoxFix::Append(const wxString&)': .../src/include/ctl/ctlComboBox.h:37: error: void value not ignored as it ought to be .../src/include/ctl/ctlComboBox.h: In member function `int wxComboBoxFix::Append(const wxString&, void*)': .../src/include/ctl/ctlComboBox.h:38: error: void value not ignored as it ought to be In file included from ./pgAdmin3.cpp:53: There you go... -- ^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$ |
| |||
| On 19/10/05 8:14 pm, "Bastiaan Wakkie" <bastiaan@wakkie.org> wrote: > >> >> Not sure, that does seem odd. Can you send the full g++ command before the >> error so I can see what include paths it was using? Should be something >> like: >> >> g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wno-non-virtual-dtor >> -I../src/include -I../src/agent/include -I../src/slony/include >> -I/usr/local/pgsql/include -DSSL >> -I/usr/local/lib/wx/include/mac-unicode-release-2.6 >> -I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 >> -D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -no-cpp-precomp -fno-rtti -Wall >> -Wno-non-virtual-dtor -I../src/include -I../src/agent/include >> -I../src/slony/include -c -o pgAdmin3.o `test -f './pgAdmin3.cpp' || echo >> './'`./pgAdmin3.cpp > > make[2]: Entering directory `/home/bw/tmp/pgadmin3-1.4.0-beta3/src' > if g++ -DHAVE_CONFIG_H -I. -I. -I.. > -DDATA_DIR=\"/var/db/pgadmin1.4.0b3//share/pgadmin3/\" -Wall > -Wno-non-virtual-dtor -I../src/include -I../src/agent/include > -I../src/slony/include -I/var/db/pg8/include > -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 > -DDATA_DIR=\"/var/db/pgadmin1.4.0b3//share/pgadmin3/\" -Wall > -Wno-non-virtual-dtor -I../src/include -I../src/agent/include > -I../src/slony/include -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" -c -o > pgAdmin3.o `test -f './pgAdmin3.cpp' || echo './'`./pgAdmin3.cpp; \ > then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f > ".deps/pgAdmin3.Tpo"; exit 1; fi > In file included from ./pgAdmin3.cpp:13: > ../src/include/pgAdmin3.h:18:27: wx/xrc/xmlres.h: No such file or directory > In file included from ../src/include/pgAdmin3.h:24, > from ./pgAdmin3.cpp:13: > ../src/include/ctl/ctlComboBox.h: In member function `int > wxComboBoxFix::Append(const wxString&)': > ../src/include/ctl/ctlComboBox.h:37: error: void value not ignored as it ought > to be > ../src/include/ctl/ctlComboBox.h: In member function `int > wxComboBoxFix::Append(const wxString&, void*)': > ../src/include/ctl/ctlComboBox.h:38: error: void value not ignored as it ought > to be > In file included from ./pgAdmin3.cpp:53: > > There you go... Yeah, it¹s finding an wx-config from 2.4 by the looks of it (you can see it including -I/usr/local/lib/wx/include/gtk2u-2.4 instead of the 2.6 directories). What¹s the output of the following commands? ls *al /usr/local/bin/wx* /usr/local/bin/wx-config ‹cppflags ‹debug=no ‹unicode=yes Regards, Dave |
| |||
| > ls –al /usr/local/bin/wx* lrwxrwxrwx 1 root root 54 Aug 21 19:17 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-debug-static-2.6* -rwxr-xr-x 1 root root 5340 Jan 1 2005 /usr/local/bin/wxgtk2u-2.4-config* -rwxr-xr-x 1 root root 5211 Feb 15 2005 /usr/local/bin/wxgtk2ud-2.4-config* lrwxrwxrwx 1 root root 8 Aug 21 19:17 /usr/local/bin/wxrc -> wxrc-2.6* -rwxr-xr-x 1 root root 3249439 Mar 17 2005 /usr/local/bin/wxrc-2.5* -rwxr-xr-x 1 root root 5477349 Aug 21 19:17 /usr/local/bin/wxrc-2.6* > > /usr/local/bin/wx-config —cppflags —debug=no —unicode=yes -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -- ^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$ |
| |||
| On 19/10/05 8:44 pm, "Bastiaan Wakkie" <bastiaan@wakkie.org> wrote: >> ls *al /usr/local/bin/wx* > > lrwxrwxrwx 1 root root 54 Aug 21 19:17 /usr/local/bin/wx-config -> > /usr/local/lib/wx/config/gtk2-unicode-debug-static-2.6* > -rwxr-xr-x 1 root root 5340 Jan 1 2005 > /usr/local/bin/wxgtk2u-2.4-config* > -rwxr-xr-x 1 root root 5211 Feb 15 2005 > /usr/local/bin/wxgtk2ud-2.4-config* > lrwxrwxrwx 1 root root 8 Aug 21 19:17 /usr/local/bin/wxrc -> wxrc-2.6* > -rwxr-xr-x 1 root root 3249439 Mar 17 2005 /usr/local/bin/wxrc-2.5* > -rwxr-xr-x 1 root root 5477349 Aug 21 19:17 /usr/local/bin/wxrc-2.6* > >> >> /usr/local/bin/wx-config ‹cppflags ‹debug=no ‹unicode=yes > > -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > OK, think I can see what¹s going on. What does: /usr/local/bin/wx-config ‹cppflags ‹debug=no ‹unicode=yes --version=2.6 give? Regards, Dave |
| ||||
| I think you got it indeed. > OK, think I can see what’s going on. What does: > > /usr/local/bin/wx-config —cppflags —debug=no —unicode=yes > --version=2.6 > > give? Warning: No config found to match: /usr/local/bin/wx-config --cppflags --debug=no --unicode=yes --version=2.6 in /usr/local/lib/wx/config If you require this configuration, please install the desired library build. If this is part of an automated configuration test and no other errors occur, you may safely ignore it. You may use wx-config --list to see all configs available in the default prefix. cheers, -- ^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$ |