[wxpython-dev] problems building wxpython-2.8.8.0

wxPython developer mailing list, post #730
Author:
Date:
Subject:
 Heinz Wiesinger
 2008-06-26 19:56:37
 [wxpython-dev] problems building wxpython-2.8.8.0
Hello!

I am the maintainer of the wxPython build-script for Slackware, which is
available here: http://slackbuilds.org/repository/12.1/libraries/wxPython/

I just saw the update to 2.8.8.0 and tried updating the script for it, but it
wouldn't build. Here's the error I get:

In file included from src/gtk/_gdi_wrap.cpp:2737:
include/wx/wxPython/wxPython.h: In function ‘bool wxPyCoreAPI_IMPORT()’:
include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string
constant to ‘char*’
include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string
constant to ‘char*’
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_new_GnomePrintDC(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:25351: error: ‘wxGnomePrintDC’ was not declared in this
scope
src/gtk/_gdi_wrap.cpp:25351: error: ‘result’ was not declared in this scope
src/gtk/_gdi_wrap.cpp:25370: error: expected primary-expression before ‘)’
token
src/gtk/_gdi_wrap.cpp:25370: error: expected `;' before ‘new’
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_GnomePrintDC_SetResolution(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:25399: error: ‘wxGnomePrintDC’ has not been declared
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_GnomePrintDC_GetResolution(PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:25417: error: ‘wxGnomePrintDC’ was not declared in this
scope
src/gtk/_gdi_wrap.cpp:25417: error: expected `;' before ‘::’ token
src/gtk/_gdi_wrap.cpp: In function ‘PyObject* _wrap_PenList_AddPen(PyObject*,
PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:32373: warning: ‘AddPen’ is deprecated (declared
at /tmp/SBo/wxPython-src-2.8.8.0/include/wx/gdicmn.h:516)
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_PenList_RemovePen(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:32411: warning: ‘RemovePen’ is deprecated (declared
at /tmp/SBo/wxPython-src-2.8.8.0/include/wx/gdicmn.h:517)
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_BrushList_AddBrush(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:32504: warning: ‘AddBrush’ is deprecated (declared
at /tmp/SBo/wxPython-src-2.8.8.0/include/wx/gdicmn.h:526)
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_BrushList_RemoveBrush(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:32542: warning: ‘RemoveBrush’ is deprecated (declared
at /tmp/SBo/wxPython-src-2.8.8.0/include/wx/gdicmn.h:527)
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_FontList_AddFont(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:32694: warning: ‘AddFont’ is deprecated (declared
at /tmp/SBo/wxPython-src-2.8.8.0/include/wx/gdicmn.h:539)
src/gtk/_gdi_wrap.cpp: In function ‘PyObject*
_wrap_FontList_RemoveFont(PyObject*, PyObject*, PyObject*)’:
src/gtk/_gdi_wrap.cpp:32732: warning: ‘RemoveFont’ is deprecated (declared
at /tmp/SBo/wxPython-src-2.8.8.0/include/wx/gdicmn.h:540)
src/gtk/_gdi_wrap.cpp: In function ‘void* _p_wxGnomePrintDCTo_p_wxDC(void*)’:
src/gtk/_gdi_wrap.cpp:39961: error: ‘wxGnomePrintDC’ was not declared in this
scope
src/gtk/_gdi_wrap.cpp:39961: error: expected primary-expression before ‘void’
src/gtk/_gdi_wrap.cpp:39961: error: expected `)' before ‘void’
src/gtk/_gdi_wrap.cpp: In function ‘void*
_p_wxGnomePrintDCTo_p_wxObject(void*)’:
src/gtk/_gdi_wrap.cpp:40165: error: ‘wxGnomePrintDC’ was not declared in this
scope
src/gtk/_gdi_wrap.cpp:40165: error: expected primary-expression before ‘void’
src/gtk/_gdi_wrap.cpp:40165: error: expected `)' before ‘void’
error: command 'gcc' failed with exit status 1

I took a closer look and thought this might be somehow related to
libgnomeprint. I checked whether wxPython configured with "--with-gnomeprint"
and it did. So I tried "--without-gnomeprint", as I didn't have libgnomeprint
installed. However, it wouldn't work either; same error.
Next thought was, maybe libgnomeprint is now a hard dependency, so I installed
libgnomeprint (2.18.0) and tried again. But I would still get the same error.

Can anyone help me please?

Grs,
Heinz
_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev
Author:
Date:
Subject:
 Robin Dunn
 2008-06-26 12:55:27
 Re: [wxpython-dev] problems building wxpython-2.8.8.0
Heinz Wiesinger wrote:

> I took a closer look and thought this might be somehow related to
> libgnomeprint. I checked whether wxPython configured with "--with-gnomeprint"
> and it did. So I tried "--without-gnomeprint", as I didn't have libgnomeprint
> installed. However, it wouldn't work either; same error.
> Next thought was, maybe libgnomeprint is now a hard dependency, so I installed
> libgnomeprint (2.18.0) and tried again. But I would still get the same error.

Try installing the dev files for libgnomeprintui too. The wxPython
sources will be fixed shortly to not need it, but for now it is
expecting that the wxGnomePrintDC class is available, and it is
automatically disabled if not all of the support libs/devs are installed.


--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev
Author:
Date:
Subject:
 Heinz Wiesinger
 2008-06-27 10:06:54
 Re: [wxpython-dev] problems building wxpython-2.8.8.0
Am Donnerstag, 26. Juni 2008 21:55:27 schrieb Robin Dunn:
> Heinz Wiesinger wrote:
> > I took a closer look and thought this might be somehow related to
> > libgnomeprint. I checked whether wxPython configured with
> > "--with-gnomeprint" and it did. So I tried "--without-gnomeprint", as I
> > didn't have libgnomeprint installed. However, it wouldn't work either;
> > same error.
> > Next thought was, maybe libgnomeprint is now a hard dependency, so I
> > installed libgnomeprint (2.18.0) and tried again. But I would still get
> > the same error.
>
> Try installing the dev files for libgnomeprintui too. The wxPython
> sources will be fixed shortly to not need it, but for now it is
> expecting that the wxGnomePrintDC class is available, and it is
> automatically disabled if not all of the support libs/devs are installed.

Thanks. That did work.
Will there be a 2.8.8.1 release including the fix?

Grs,
Heinz
_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev
Author:
Date:
Subject:
 Robin Dunn
 2008-06-27 09:05:46
 Re: [wxpython-dev] problems building wxpython-2.8.8.0
Heinz Wiesinger wrote:
> Am Donnerstag, 26. Juni 2008 21:55:27 schrieb Robin Dunn:
>> Heinz Wiesinger wrote:
>>> I took a closer look and thought this might be somehow related to
>>> libgnomeprint. I checked whether wxPython configured with
>>> "--with-gnomeprint" and it did. So I tried "--without-gnomeprint", as I
>>> didn't have libgnomeprint installed. However, it wouldn't work either;
>>> same error.
>>> Next thought was, maybe libgnomeprint is now a hard dependency, so I
>>> installed libgnomeprint (2.18.0) and tried again. But I would still get
>>> the same error.
>> Try installing the dev files for libgnomeprintui too. The wxPython
>> sources will be fixed shortly to not need it, but for now it is
>> expecting that the wxGnomePrintDC class is available, and it is
>> automatically disabled if not all of the support libs/devs are installed.
>
> Thanks. That did work.
> Will there be a 2.8.8.1 release including the fix?

Yes.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev
Author:
Date:
Subject:
 Ryan Hill
 2008-07-14 18:26:29
 [wxpython-dev] Re: problems building wxpython-2.8.8.0
On Fri, 27 Jun 2008 09:05:46 -0700
Robin Dunn <[email protected]> wrote:

> Heinz Wiesinger wrote:
> > Am Donnerstag, 26. Juni 2008 21:55:27 schrieb Robin Dunn:
> >> Heinz Wiesinger wrote:
> >>> I took a closer look and thought this might be somehow related to
> >>> libgnomeprint. I checked whether wxPython configured with
> >>> "--with-gnomeprint" and it did. So I tried
> >>> "--without-gnomeprint", as I didn't have libgnomeprint installed.
> >>> However, it wouldn't work either; same error.
> >>> Next thought was, maybe libgnomeprint is now a hard dependency,
> >>> so I installed libgnomeprint (2.18.0) and tried again. But I
> >>> would still get the same error.
> >> Try installing the dev files for libgnomeprintui too. The wxPython
> >> sources will be fixed shortly to not need it, but for now it is
> >> expecting that the wxGnomePrintDC class is available, and it is
> >> automatically disabled if not all of the support libs/devs are
> >> installed.
> >
> > Thanks. That did work.
> > Will there be a 2.8.8.1 release including the fix?
>
> Yes.
>

Any progress on this?


--
gcc-porting, by design, by neglect
treecleaner, for a fact or just for effect
wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev