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 18:59:23 |
Message-ID: | BF7C561B.3BF6%dpage@vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On 19/10/05 7:30 pm, "Bastiaan Wakkie" <bastiaan(at)wakkie(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Bastiaan Wakkie | 2005-10-19 19:14:02 | Re: Beta 3 uploaded -> wx problem |
Previous Message | Bastiaan Wakkie | 2005-10-19 18:30:42 | Re: Beta 3 uploaded -> wx problem |