Re: configure --with-wx-version=2.6 should error earlier

Поиск
Список
Период
Сортировка
От Leszek Trenkner
Тема Re: configure --with-wx-version=2.6 should error earlier
Дата
Msg-id 32e14$4660b555$594f32e2$27817@news.chello.pl
обсуждение исходный текст
Ответ на configure --with-wx-version=2.6 should error earlier  (Kris Jurka <books@ejurka.com>)
Ответы Re: configure --with-wx-version=2.6 should error earlier
Список pgadmin-hackers
Dave Page wrote:

> Kris Jurka wrote:
>>
>> Running configure --with-wx-version=2.6 succeeds and then bails out
>> during the build process.  If pgadmin requires 2.8 it should enforce
>> that at configure time.
>
> Agreed - configure check committed to SVN.
>
That broke build process (you couldn't even force specific version) on
Ubuntu Fiesty (and possibly Debian), as one can have more than one
wx-widgets version installed and default wouldn't be necessary the best
one.

In fact, Ubuntu Fiesty defaults to 2.6.x, and so the check used
in ./configure (wx-config --version) gives 2.6.3, where
(wx-config --version=2.8 --version) gives 2.8.1.

So I created really ugly patch (as am really I not into shell scripting, nor
m4 macros), to fix it, but it might not work with non-debian wx-config
versions, so please doublecheck/improve (strongly recommended ! :-).

Well, in fact all major-minor version checking magic might be probably
thrown away, as we are asking wx-config for specific versions anyway.

Ugly (but works-for-me) patch attached.



Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Leszek Trenkner
Дата:
Сообщение: Re: configure --with-wx-version=2.6 should error earlier
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Re: Testing 1.7: issues in edit grid & query window