still wxproj compilation problems

Moritz Lennert mlennert at club.worldonline.be
Mon May 2 14:57:48 CEST 2005


On Mon, May 2, 2005 14:34, Martin Schulze said:
> Moritz Lennert wrote:
>> >> >> Using a freshly checkout cvs tree, I have the same problem that Jan
>> >> reported
>> >> >> in
>> >> http://www.intevation.de/pipermail/thuban-devel/2005-April/001398.html,
>> >> >> and
>> >> >> that Bernard had apparently fixed:
>> >> > [...]
>> >> >> Just as Jan I am running Debian sarge, with wx2.4.
>> >> >
>> >> > Have you run setup.py with the --use-wx-python-swig-hack option?
>> >>
>> >> I used dpkg-buildpackage without changing anything in the debian
>> directory.
>> >
>> > then you are using the Thuban 1.0-series original debian source package?
>> >
>> > The option mentioned above is quite new. You must either change
>> > debian/rules or build Thuban directly from CVS.
>>
>> That means the debian/rules file in the CVS HEAD branch is not up to date ?
>> What do I have to change in the rules file to make it work ?
>
> The attached patch should do (untested, though).


Nope :-(:

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPI C -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-Ilibra ries/shapelib -I/usr/include -Ilibraries/pyshapelib/
-I/usr/lib/wx/include/gtk-2 .4 -I/usr/include/python2.3 -c
libraries/thuban/wxproj.cpp -o build/temp.linux-i
686-2.3/libraries/thuban/wxproj.o
libraries/thuban/wxproj.cpp:40:34: wx/wxPython/wxPython.h : Aucun fichier ou
rép ertoire de ce type
libraries/thuban/wxproj.cpp: Dans function « bool wxPyConvertSwigPtr(PyObject*,
   void**, char*) »:
libraries/thuban/wxproj.cpp:62: error: `wxPyCoreAPIPtr' undeclared (first use
   this function)
libraries/thuban/wxproj.cpp:62: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
libraries/thuban/wxproj.cpp:63: error: `wxPyCoreAPI_IMPORT' undeclared (first
   use this function)
libraries/thuban/wxproj.cpp:65: error: `SWIG_GetPtrObj' undeclared (first use
   this function)
error: command 'gcc' failed with exit status 1

Just for info, here's what I have installed:

libwxgtk2.4                      2.4.2.6
libwxgtk2.4-dev                  2.4.2.6
libwxgtk2.4-python               2.4.2.6
libwxgtk2.5.3                    2.5.3.2
wxwin2.4-headers                 2.4.2.6
libswig1.3.22                    1.3.22-5

Moritz





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)