Re: Re: [pgadmin-support] Compile Error with 1.6+ on SuSE 10.0/10.1 :xmlerror.h:820: error: typedef‘xmlGenericErrorFunc’ is initialized (use__typeof__ instead)

Поиск
Список
Период
Сортировка
От Christian Eva
Тема Re: Re: [pgadmin-support] Compile Error with 1.6+ on SuSE 10.0/10.1 :xmlerror.h:820: error: typedef‘xmlGenericErrorFunc’ is initialized (use__typeof__ instead)
Дата
Msg-id 200611240432.27506.cjk@phoinix.com
обсуждение исходный текст
Ответ на Re: [pgadmin-support] Compile Error with 1.6+ on SuSE 10.0/10.1 : xmlerror.h:820: error: typedef ‘xmlGenericErrorFunc’ is initialized (use __typeof__ instead)  (Dave Page <dpage@postgresql.org>)
Список pgadmin-support
Hi Dave,

Thanks for your suggestion, there is no 2.6.22 release ready available.


But I found suse-specific packages on http://packman.links2linux.de/:

for 10.0:

phohigh1:/usr/include/libxml2/libxml # rpm -qa | grep libxml2
libxml2-python-2.6.24-0.pm.1
libxml2-2.6.24-0.pm.1
libxml2-debuginfo-2.6.24-0.pm.1
libxml2-devel-2.6.24-0.pm.1
phohigh1:/usr/include/libxml2/libxml # uname -a

and for SuSE10.1:

hocomm1:/usr/include/libxml2/libxml # rpm -qa | grep libxml2
libxml2-python-2.6.26-0.pm.1
libxml2-debuginfo-2.6.26-0.pm.1
libxml2-2.6.26-0.pm.1
libxml2-devel-2.6.26-0.pm.1

And it compiles and runs now on both systems.

The first time I used different rpm's for 2.6.26 on SuSE 10.1, now I
downgraded again to the original 2.6.23 and then installed the new ones.

SUSE10.1 gives still the warnings:
/t/tool/wxw28/include/wx-2.8/wx/hashmap.h: In member function
‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHash
Map_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
/t/tool/wxw28/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/t/tool/wxw28/include/wx-2.8/wx/clntdata.h: In member function
‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjec
tMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/t/tool/wxw28/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/t/tool/wxw28/include/wx-2.8/wx/clntdata.h: In member function
‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObject
Fields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/t/tool/wxw28/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing
type-punned pointer will break strict-aliasing rules
etc, etc

Thanks for help
Christian

On Thursday 23 November 2006 14:18, Dave Page wrote:
> Christian Eva wrote:
> > Hi
> > I wanted to upgrade from 1.4.3 which I used with wxwidgets (GTK) 2.7.0-1.
> > I canot compile pgadmin1.6.0 as I get these errors on the xmlib2 include
> > files.
> >
> > I have tried it also on SuSE 10.1 and with libxml2-devel-2.6.26-22.
> >
> > I tried with wxWidgets-2.7.2 and wxWidgets-2.8.0-rc1 on 1.6.0.
> >
> > I have now downloaded the last SVN version: 1.7.0.1.st2 (buildcode 5769)
> >
> > Any ideas?
>
> Not really - I know it works with libxml2-2.6.22, any chance you can
> temporarily downgrade to that and try again?
>
> Regards, Dave
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

--

Christian Knoepfel Eva
Phoinix Convergence Ltd


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

Предыдущее
От: "Raymond O'Donnell"
Дата:
Сообщение: Re: Newbie questions, diff between functions and procedures; & why cube functions?
Следующее
От: "James Shaw"
Дата:
Сообщение: Re: Drag and drop into editor window