Re: build error pgadmin3-src-20040805.tar.gz - Mailing list pgadmin-hackers

From Raphaël Enrici
Subject Re: build error pgadmin3-src-20040805.tar.gz
Date
Msg-id 4117EA0C.7060205@club-internet.fr
Whole thread Raw
In response to Re: build error pgadmin3-src-20040805.tar.gz  (Raphaël Enrici <blacknoz@club-internet.fr>)
Responses Re: build error pgadmin3-src-20040805.tar.gz  (Raphaël Enrici <blacknoz@club-internet.fr>)
List pgadmin-hackers

Raphaël Enrici wrote:
> blacknoz@club-internet.fr wrote:
>
>> ----Message d'origine----
>>
>>> De: "Dave Page" <dpage@vale-housing.co.uk>
>>>
>>> Have you updated to our latest wx snapshot? Iirc, the wxMilliSleep
>>> function is in there...
>>
>>
>>
>> Not at all. I'll check this asap and give feedback.
>
>
>
> mmmh... I'm currently trying to build the snapshot and face very bad issue:
> the snap fails to build with an internal compiler error. Which version
> of gcc suite are you using ?
> (there are bugs reporting such problems in debian, for example #246031,
> but I can't tell if we face the exact same problem).
>
> ../bk-deps g++ -c -o corelib_prntdlgg.o  -D__WXGTK__       -I./src/regex
> -I./src/
> expat/lib -DwxUSE_BASE=0 -D__WXDEBUG__ -Ilib/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/include/freetype2 -I/usr/X11R6/include
> -I/usr/i
> nclude/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILE
> S -g -O0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/glib-2
> ..0 -I/usr/lib/glib-2.0/include -pthread -Wall src/generic/prntdlgg.cpp
> g++: Internal error: Segmentation fault (program cc1plus)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions,
> see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
>
> make[1]: *** [corelib_prntdlgg.o] Error 1
> make[1]: Leaving directory
> `/BUILD/MY_WXWINDOWS/AUTO_WXWINDOWS/build/debian/wxwi
> dgets-pgadmin3-2.5.0'
> make: *** [build-stamp] Error 2

Ok, I just went a little bit further...

the snap we use has prntdlgg.cpp rev 1.61, I checked out 1.62 and it now
builds. I fails a little bit further on statusbr.cpp.
We use 1.59 and 1.60 has a similar log to what's filled for 1.61->1.62
of prntdlgg.cpp.

pga3@anaconda:/BUILD/MY_WXWINDOWS/AUTO_WXWINDOWS/build/debian/wxwidgets-pgadmin3-2.5.0/src/generic$
diff statusbr.cpp statusbr.cpp\?rev\=1.60
7c7
< // RCS-ID:      $Id: statusbr.cpp,v 1.59 2004/06/23 16:41:05 VS Exp $
---
 > // RCS-ID:      $Id: statusbr.cpp,v 1.60 2004/07/20 10:09:30 ABX Exp $
107c107
<   SetSize(wxDefaultPosition.x, wxDefaultPosition.y, wxDefaultSize.x,
height);
---
 >   SetSize(wxDefaultCoord, wxDefaultCoord, wxDefaultCoord, height);
398c398
<         SetSize(wxDefaultPosition.x, wxDefaultPosition.y,
wxDefaultSize.x, height + 2*m_borderY);
---
 >         SetSize(wxDefaultCoord, wxDefaultCoord, wxDefaultCoord,
height + 2*m_borderY);


It now fails a little bit further in src/gtk/combobox.cpp but we are
using the latest rev for this file. So, it seems something was partly
fixed in wxWid source...
Maybe we should move to wxWid-hackers although it seems to be a
gcc-3.3.4 bug.

Regards,
Raphaël

pgadmin-hackers by date:

Previous
From: Raphaël Enrici
Date:
Subject: Re: build error pgadmin3-src-20040805.tar.gz
Next
From: cvs@cvs.pgadmin.org
Date:
Subject: CVS Commit by dpage: Extracted strings for transaltion