On 19/10/05 7:30 pm, "Bastiaan Wakkie" <[EMAIL PROTECTED]> 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

Reply via email to