Troubles compiling latest pgAdmin cvs

From: Justin Clift <jc(at)telstra(dot)net>
To: PgAdmin Support Mailing List <pgadmin-support(at)postgresql(dot)org>
Subject: Troubles compiling latest pgAdmin cvs
Date: 2004-06-15 05:36:35
Message-ID: 40CE8AE3.2000909@telstra.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi all,

Just tried compiling pgAdmin (latest from CVS) and am getting compiling
errors on Sun Java Desktop System Release 2 (it's pretty much SuSE Linux
8.x).

Have successfully first compiled wxWindows from source into
/opt/wxwindows and the stc and xrc extras. It was the
"wxWindows-pgAdmin3-20031010-7.tar.bz2" so I'm hoping that's right. Had
to update autoconf to version 2.58 as well.

When compiling pgAdmin, I checked out the latest cvs, ran the "sh
bootstrap" and then ran:

./configure --prefix=/opt/pgadmin3 --enable-static
--with-wx=/opt/wxwindows --with-pgsql=/opt/pgsql/latest

The configure went fine, but the make errored out. The last bit of the
erroring out was:

***********

source='utils/sysSettings.cpp' object='sysSettings.o' libtool=no \
depfile='.deps/sysSettings.Po' tmpdepfile='.deps/sysSettings.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/opt/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/include -I/opt/pgsql/latest/include -DSSL
-I/opt/wxwindows/lib/wx/include/gtk-2.5 -I/opt/wxwindows/include
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/opt/wxwindows/include -DDATA_DIR=\"/opt/pgadmin3/share/pgadmin3/\"
-Wall -g -I../src/include -I../src/agent/include -g -O2 -c -o
sysSettings.o `test -f 'utils/sysSettings.cpp' || echo
'./'`utils/sysSettings.cpp
source='utils/utffile.cpp' object='utffile.o' libtool=no \
depfile='.deps/utffile.Po' tmpdepfile='.deps/utffile.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/opt/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/include -I/opt/pgsql/latest/include -DSSL
-I/opt/wxwindows/lib/wx/include/gtk-2.5 -I/opt/wxwindows/include
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/opt/wxwindows/include -DDATA_DIR=\"/opt/pgadmin3/share/pgadmin3/\"
-Wall -g -I../src/include -I../src/agent/include -g -O2 -c -o utffile.o
`test -f 'utils/utffile.cpp' || echo './'`utils/utffile.cpp
utils/utffile.cpp: In member function `off_t wxUtfFile::Read(wxString&, long
long int)':
utils/utffile.cpp:86: no matching function for call to `wxMBConv::MB2WC(
wxStringBuffer, char*&, unsigned int)'
/opt/wxwindows/include/wx/strconv.h:46: candidates are: virtual size_t
wxMBConv::MB2WC(wchar_t*, const char*, unsigned int) const
make[2]: *** [utffile.o] Error 1
make[2]: Leaving directory `/home/jc/cvs/pgadmin3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jc/cvs/pgadmin3'
make: *** [all] Error 2
$

***********

Does anyone have any ideas on what could be wrong?

Regards and best wishes,

Justin Clift

Browse pgadmin-support by date

  From Date Subject
Next Message Jeff Green 2004-06-15 15:58:37 Installation Problem pgAdmin3-1.0.2
Previous Message Dave Page 2004-06-14 20:47:47 Re: gtk errors with pgadmin3