Re: [pgadmin-support] pgAdmin3 packages for SuSE 8.2 available
Re: [pgadmin-support] pgAdmin3 packages for SuSE 8.2 available
От:
Jean-Michel POURE <jm.poure@freesurf.fr>
Дата:
On Sunday 06 July 2003 20:38, Dave Page wrote: > What on earth is so special about pgAdmin that it requires such a > bleeding edge compiler on that particular platform? SuSE 8.2 ships with a broken pre-release version of gcc3.3. Therefore, it is recommended to upgrade. Information can be found here: http://sdb.suse.de/en/sdb/html/gcc33_release.html For example, pgAdmin3 does compile with the stock compiler, but it crashes at startup as reported by Markus. With the new compiler, I could verify that pgAdmin3 works like a charm. There is still one problem: wxGTK xrc and stc do not compile under any version of gcc3.3. I had to install wxGTKud RPMs from our RedHat 9 release... It seems that daily users will not be able to compile pgAdmin3 from source under a SuSE 8.2 platform. It was a quest to discover how to make it... If anyone has a better solution, I will be vert glad to take it into account and to modify our packages. Any idea? Cheers, Jean-Michel
Re: [pgadmin-support] pgAdmin3 packages for SuSE
От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Jean-Michel POURE wrote: >There is still one problem: wxGTK xrc and stc do not compile under any version >of gcc3.3. I had to install wxGTKud RPMs from our RedHat 9 release... > what is the problem with it ? any error message ? I've just built debian packages for unstable with gcc-3.3-2 prerelease from Debian and it seems to be ok : Here are the compilers' versions : anaconda:~# gcc --version gcc (GCC) 3.3.1 20030626 (Debian prerelease) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. anaconda:~# g++ --version g++ (GCC) 3.3.1 20030626 (Debian prerelease) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. pgAdmin compiled well too but I didn't test it for the moment... may be everything crashes... I'll tell you. Regards, Raphaël
Re: [pgadmin-support] pgAdmin3 packages for SuSE
От:
Jean-Michel POURE <jm.poure@freesurf.fr>
Дата:
On Sunday 06 July 2003 23:43, Raphaël Enrici wrote: > I've just built debian packages for unstable with gcc-3.3-2 prerelease > from Debian and it seems to be ok : Raphael, I suspected that Debian used gcc 3.3 pre-release version and wanted to contact you... SuSE 8.2 pre-release version is broken because files are missing in libstdc++. That's a real problem for us... I wrote a couple of emails on wxWindows mailing list and received no real solution, other than an email explaining that SuSE 8.2 was broken, and it made it for pgAdmin3, not for wxGTK. The errors are located in xrc and stc builds. Here is one: g++ -c -I../../../lib/wx/include/gtk2ud-2.5 -I../../../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../../../contrib/include -I../../../contrib/src/xrc/expat/xmlparse -I../../../contrib/src/xrc/expat/xmltok -D__WXGTK__ -D__WXDEBUG__ -g -O0 -MMD -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -o xml.o xml.cpp g++ -c -I../../../lib/wx/include/gtk2ud-2.5 -I../../../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../../../contrib/include -I../../../contrib/src/xrc/expat/xmlparse -I../../../contrib/src/xrc/expat/xmltok -D__WXGTK__ -D__WXDEBUG__ -g -O0 -MMD -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -o xmlres.o xmlres.cpp xmlres.cpp:543: error: prototype for `wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*, wxXmlResourceHandler*)' does not match any in class `wxXmlResource' /usr/X11R6/include/wx/xrc/xmlres.h:243: error: candidate is: wxObject* wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject* = 0) make: *** [xmlres.o] Error 1 Cheers, Jean-Michel