Re: pgAdmin III under wxCocoa - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: pgAdmin III under wxCocoa
Date
Msg-id 3F7B1C3B.3020906@pse-consulting.de
Whole thread Raw
In response to Re: pgAdmin III under wxCocoa  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
List 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



pgadmin-hackers by date:

Previous
From: "Serguei A. Mokhov"
Date:
Subject: Re:
Next
From: Andreas Pflug
Date:
Subject: Re: