From: | Frederik Goris <lists(at)belgian(dot)org> |
---|---|
To: | <pgadmin-support(at)postgresql(dot)org> |
Subject: | pgadmin on Mac OS X (Panther): error in utffile.cpp |
Date: | 2004-10-19 23:47:45 |
Message-ID: | BD9AF5B1.27E6F%lists@belgian.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Like some others I've seen, I'm getting the following error in utffile.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=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/include -I/sw/include/postgresql -DSSL
-I/usr/local/lib/wx/include/macd-2.5 -I/usr/local/include/wx-2.5
-D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP
-DNO_GCC_PRAGMA -I/usr/local/include/wx-2.5 -no-cpp-precomp -fno-rtti
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/include -Wall -g -O0 -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: error: no matching function for call to
`wxMBConv::MB2WC(
wxChar*, char*&, long unsigned int)'
/usr/local/include/wx-2.5/wx/strconv.h:46: error: candidates are: virtual
size_t wxMBConv::MB2WC(wchar_t*, const char*, long unsigned int) const
make[2]: *** [utffile.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
My configuration:
Mac OS X Panther (10.3.5)
postgresql 7.3.7 (installed from source via fink)
wxWidgets-pgAdmin3-20040907-2.tar.bz2 (from
ftp3.us.postgresql.org/pub/postgresql/pgadmin3/wxwindows/)
./configure --with-mac --enable-debug --enable-unicode
pgadmin from CVS (10/9/2004)
./configure --enable-debug --with-pgsql=/sw/_pgsql
--with-pgsql-include=/sw/include/postgresql --with-wx=/usr/local
--with-wx-config=wx-config-2.5
[Brief explanation of "--with-pgsql=/sw/_pgsql": fink installs postgresql
libs and includes in /sw/lib/postgresql and /sw/includes/postgresql,
respectively. Using "--with-pgsql=/sw" didn't work because of the extra
"postgresql" directory in both /sw/lib and /sw/include. So I kluged things
a bit by creating a /sw/_pgsql/lib directory and placing symlinks of
everything in both /sw/lib and /sw/lib/postgresql there. But I'm pretty
sure this is unrelated to the problem at hand.]
I've tried the couple of typecasts that were suggested in previous threads
to no avail.
I'm hoping someone has a clue. In particular, I'm hoping Adam Pendleton is
monitoring this list, as I hesitate to contact him directly. I'd also be
happy to cross-post to pgadmin-hackers if anyone thinks that would be
useful.
Thanks in advance for any help/pointers.
-Frederik
--
Frederik Goris
Manx Web Solutions o Web Site Design
o Dynamic Content Delivery
info(at)manxweb(dot)com o Customer Lead Management
877.MANX.WEB o E-Commerce Solutions
510.429.7086 (fax) o Custom Web Applications
--
Frederik Goris
Manx Web Solutions o Web Site Design
o Dynamic Content Delivery
info(at)manxweb(dot)com o Customer Lead Management
877.MANX.WEB o E-Commerce Solutions
510.429.7086 (fax) o Custom Web Applications
From | Date | Subject | |
---|---|---|---|
Next Message | Sim Zacks | 2004-10-20 06:42:38 | Bug: PGAdmin + plpythonu + windows |
Previous Message | Sídar LC | 2004-10-19 20:27:14 | Query window |