Обсуждение: Beta 3 uploaded

Поиск
Список
Период
Сортировка

Beta 3 uploaded

От
"Dave Page"
Дата:
I've uploaded pgAdmin3 1.4.0 beta 3 to
http://developer.pgadmin.org/ftp/beta. Please take a few minutes to try
it out and make sure things look OK before I announce it.

I've also uploaded a Mac appbundle built on Panther. I'd be interested
to hear if it works OK on Tiger if anyone has access to a machine.

Regards, Dave.

Re: Beta 3 uploaded

От
Bastiaan Wakkie
Дата:
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
./pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()':
./pgAdmin3.cpp:331: error: `wxXmlResource' has not been declared
./pgAdmin3.cpp:331: error: `Get' undeclared (first use this function)
./pgAdmin3.cpp:331: error: (Each undeclared identifier is reported only
once for  each function it appears in.)
./pgAdmin3.cpp:332: error: `wxXmlResource' has not been declared
./pgAdmin3.cpp:333: error: `wxXmlResource' has not been declared
./pgAdmin3.cpp:334: error: `wxXmlResource' has not been declared
./pgAdmin3.cpp:335: error: `wxXmlResource' has not been declared
./pgAdmin3.cpp:341: error: `wxOGLInitialize' undeclared (first use this
function )
make[2]: *** [pgAdmin3.o] Error 1
make[2]: Leaving directory `/home/bw/tmp/pgadmin3-1.4.0-beta3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bw/tmp/pgadmin3-1.4.0-beta3'
make: *** [all] Error 2


cheers,

^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$

On Wed, 2005-10-19 at 09:34 +0100, Dave Page wrote:
> I've uploaded pgAdmin3 1.4.0 beta 3 to
> http://developer.pgadmin.org/ftp/beta. Please take a few minutes to try
> it out and make sure things look OK before I announce it.
>
> I've also uploaded a Mac appbundle built on Panther. I'd be interested
> to hear if it works OK on Tiger if anyone has access to a machine.
>
> Regards, Dave.
>

---------------------------(end of broadcast)---------------------------


Re: Beta 3 uploaded

От
"Dave Page"
Дата:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> 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

Re: Beta 3 uploaded -> wx problem

От
Bastiaan Wakkie
Дата:
> 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)?)$



Re: Beta 3 uploaded -> wx problem

От
Dave Page
Дата:


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



Re: Beta 3 uploaded -> wx problem

От
Bastiaan Wakkie
Дата:

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)?)$

Re: Beta 3 uploaded -> wx problem

От
Dave Page
Дата:



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

Re: Beta 3 uploaded -> wx problem

От
Bastiaan Wakkie
Дата:
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)?)$

Re: Beta 3 uploaded -> wx problem

От
Dave Page
Дата:



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

Re: Beta 3 uploaded -> wx problem

От
Bastiaan Wakkie
Дата:
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)?)$