Re: pgAdmin III under wxCocoa

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: Julian Smart <julian(dot)smart(at)btopenworld(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin III under wxCocoa
Date: 2003-10-01 18:26:03
Message-ID: 3F7B1C3B.3020906@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Adam H. Pendleton wrote:

> Adam Witney wrote:
>
>>With ./configure --enable-debug I get
>>
>>checking for wxWindows... yes
>>configure: error: you need to install the xrc package from
>>wxWindows/contrib/src/xrc
>>
>>Which is strange as xrc seemed to install fine before
>>
> What does config.log report?
>
>>If I use pgadmin3 CVS I have to edit configure.ac to change
>>
>>AC_CONFIG_HEADER([config.h])
>>
>>to
>>
>>AM_CONFIG_HEADER([config.h])
>>
>>Otherwise the bootstrap script will fail.
>>
> What version of autoconf and automake are you using? Sounds like you
> need to upgrade.
>
>>And then ./configure
>>--enable-debug works but compilation fails with
>>
>>utils/utffile.cpp: In member function `off_t wxUtfFile::Read(wxString&, long
>> long int)':
>>utils/utffile.cpp:85: no matching function for call to `wxMBConv::MB2WC(
>> wxStringBuffer, char*&, long unsigned int)'
>>/usr/local/include/wx/strconv.h:46: candidates are: virtual size_t
>> wxMBConv::MB2WC(wchar_t*, const char*, long unsigned int) const
>>

Strange behaviour, try casting
m_conversion->MB2WC((wxChar*)wxStringBuffer(str, len), buffer, nLen+1);
^^^^^^^^^

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Serguei A. Mokhov 2003-10-01 18:26:16 Re:
Previous Message Andreas Pflug 2003-10-01 18:21:31 Re: