Help Please

From: Steve Logue <steve(dot)logue(at)peak(dot)org>
To: pgadmin-support(at)postgresql(dot)org
Subject: Help Please
Date: 2008-02-04 02:24:26
Message-ID: 47A6775A.40301@peak.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi - I'm trying to compile v1.8.2 on Solaris 10+ with the following script:

#!/usr/bin/env bash

export PKG='pgadmin3-1.8.2'

rm -rf $PKG
gtar -xzf $PKG.tar.gz &&
chown -R ${USER}:${USER} ${PKG}* &&
cd $PKG &&
export CC='gcc' &&
export CFLAGS='-march=opteron -m64 -pthreads -O3'
export CPPFLAGS='-I/usr/local/include -I/usr/sfw/include' &&
export CXX='g++' &&
export CXXFLAGS=$CFLAGS &&
export LDFLAGS="$CFLAGS -R/usr/local/lib:/usr/sfw/lib/64
-L/usr/local/lib -L/usr/sfw/lib/64" &&
export LD_LIBRARY_PATH='/usr/local/lib:/usr/sfw/lib/64' &&
export PATH=/usr/local/sbin:/usr/local/bin:$PATH &&
./configure --help > ../configure--help.txt &&
./configure --prefix=/usr/local/JUNK &&
gmake &&
gmake install
cd ..
rm -rf $PKG

...and it ends up dieing with the following output:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
-I/usr/sfw/include -I/usr/local/include -DSSL
-I/usr/local/lib/wx/include/GTK2-unicode-release-2.8
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXGTK__ -O2 -DEMBED_XRC -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/libxml2
-DDATA_DIR=\"/usr/local/JUNK/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor -fno-strict-aliasing -I../pgadmin/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/local/include/wx-2.8/wx/memory.h:16,
from /usr/local/include/wx-2.8/wx/object.h:20,
from /usr/local/include/wx-2.8/wx/wx.h:16,
from ../pgadmin/include/pgAdmin3.h:16,
from ./pgAdmin3.cpp:13:
/usr/local/include/wx-2.8/wx/string.h:828: error: `wxChar&
wxString::operator[](unsigned int)' and `wxChar&
wxString::operator[](size_t)' cannot be overloaded
gmake[2]: *** [pgAdmin3.o] Error 1
gmake[2]: Leaving directory
`/usr/local/src/TESTING/pgadmin3/pgadmin3-1.8.2/pgadmin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/TESTING/pgadmin3/pgadmin3-1.8.2'
gmake: *** [all] Error 2

Any idea where and what to do next?

Sincerely,

-STEVEl

--

http://www.bitvector.org/

Browse pgadmin-support by date

  From Date Subject
Next Message Anubhuti Chaturvedi 2008-02-04 06:20:27 DOwnload Your PostGreSQL SOftware
Previous Message Guillaume Lelarge 2008-02-03 23:41:28 Re: NewB question wrt Create Database