Re: compiling pgAdmin3-3.1

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: Hendrik-Jan Heins <hjheins(at)gmail(dot)com>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: compiling pgAdmin3-3.1
Date: 2005-10-22 10:13:23
Message-ID: BF7FCF53.3E9C%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 21/10/05 10:38 pm, "Hendrik-Jan Heins" <hjheins(at)gmail(dot)com> wrote:

> Hello Dave,
>
> compiling the devel version also gave errors.
> The config part went fine, but the make part didn't.
> I attached all the output from the configure and make commands.
>
> regards,
>
> Hendrik-Jan

Hello Hendrik-Jan,

make[2]: Entering directory `/home/hjheins/pgadmin3-1.4.0-beta3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\"
-Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include
-I../src/slony/include -I/usr/include/pgsql -DSSL
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2
-DDATA_DIR=\"/usr/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
/usr/lib/wx/include/gtk2-unicode-release-2.6/wx/setup.h:2,
from /usr/include/wx-2.6/wx/platform.h:190,
from /usr/include/multiarch-i386-linux/wx-2.6/wx/defs.h:21,
from /usr/include/multiarch-dispatch.h:23,
from /usr/include/wx-2.6/wx/defs.h:2,
from /usr/include/wx-2.6/wx/wx.h:15,
from ../src/include/pgAdmin3.h:16,
from ./pgAdmin3.cpp:13:
/usr/include/multiarch-dispatch.h:23:56:
multiarch-i386-linux/gtk2-unicode-release-2.6/wx/setup.h: No such file or
directory
In file included from /usr/include/wx-2.6/wx/platform.h:258,
from /usr/include/multiarch-i386-linux/wx-2.6/wx/defs.h:21,
from /usr/include/multiarch-dispatch.h:23,
from /usr/include/wx-2.6/wx/defs.h:2,
from /usr/include/wx-2.6/wx/wx.h:15,
from ../src/include/pgAdmin3.h:16,
from ./pgAdmin3.cpp:13:
/usr/include/wx-2.6/wx/chkconf.h:84:9: #error "wxUSE_DYNLIB_CLASS must be
defined."
/usr/include/wx-2.6/wx/chkconf.h:92:9: #error "wxUSE_EXCEPTIONS must be
defined."

This appears to be a wx issue related to the way Mandriva deals with 34/64
bit compatibility - I assume the full path to what it's failing to find is
/usr/include/multiarch-i386-linux/gtk2-unicode-release-2.6/wx/setup.h - does
that not exist? What about copying/symlinking /usr/include/wx-2.6/wx/setup.h
to that location?

Other than that I'm not sure what to do (anyone else got any ideas?) - it's
a wx header pointing to an invalid path for another wx header. I suppose you
could try removing *all* wx related files and directories and re-installing
a clean version. Failing
that, post to the wx list - I'll happily provide any info about our build
system that they may want.

Regards, Dave

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2005-10-23 09:42:45 Re: Error on pgAdminIII 1.2.2 and 1.4.0
Previous Message Keith 2005-10-22 05:12:19 Error on pgAdminIII 1.2.2 and 1.4.0