Re: pgAdmin III under wxCocoa

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: pgAdmin III under wxCocoa
Дата
Msg-id 3F7B1C3B.3020906@pse-consulting.de
обсуждение исходный текст
Ответ на Re: pgAdmin III under wxCocoa  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
Список 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 по дате отправления:

Предыдущее
От: "Serguei A. Mokhov"
Дата:
Сообщение: Re:
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: