Re: Beta 3 uploaded -> wx problem

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: <bastiaan(at)wakkie(dot)org>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Beta 3 uploaded -> wx problem
Date: 2005-10-19 19:31:02
Message-ID: BF7C5D86.3C03%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On 19/10/05 8:14 pm, "Bastiaan Wakkie" <bastiaan(at)wakkie(dot)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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Bastiaan Wakkie 2005-10-19 19:44:44 Re: Beta 3 uploaded -> wx problem
Previous Message Bastiaan Wakkie 2005-10-19 19:14:02 Re: Beta 3 uploaded -> wx problem