[Thuban-list] Thuban build error
Eduardo Patto Kanegae
eduardo at consultoria.eti.br
Tue Feb 3 20:53:25 CET 2004
you and all Thuban team are welcome, Frank.
Now I'm trying to build Thuban 1 on a SuSE 9 Pro using:
$ python setup.py build 2>&1 | tee build-python.log
and my build-python.log says:
===========
sh: line 1: wx-config: command not found
"wx-config --cflags " failed
running build
running build_py
running build_ext
building 'Lib.wxproj' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64
-DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0
-fPIC -Wall -fPIC -Ilibraries/shapelib -I/usr/local/include
-Ilibraries/pyshapelib/ -I/usr/include/python2.3 -c
libraries/thuban/wxproj.cpp -o
build/temp.linux-i686-2.3/libraries/thuban/wxproj.o
In file included from /usr/include/python2.3/Python.h:8,
from libraries/thuban/wxproj.cpp:16:
/usr/include/python2.3/pyconfig.h:844:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from /usr/include/stdlib.h:25,
from libraries/thuban/wxproj.cpp:13:
/usr/include/features.h:131:1: warning: this is the location of the
previous definition
libraries/thuban/wxproj.cpp:31:19: wx/wx.h: No such file or directory
libraries/thuban/wxproj.cpp:188: error: syntax error before `*' token
libraries/thuban/wxproj.cpp:195: error: `num_vertices' was not declared
in this scope
libraries/thuban/wxproj.cpp:195: error: `num_parts' was not declared in
this scope
libraries/thuban/wxproj.cpp:196: error: syntax error before `*' token
libraries/thuban/wxproj.cpp:203: error: `num_vertices' was not declared
in this scope
libraries/thuban/wxproj.cpp:203: error: parse error before `;' token
libraries/thuban/wxproj.cpp:203: error: syntax error before `++' token
libraries/thuban/wxproj.cpp:207: error: `x' was not declared in this scope
libraries/thuban/wxproj.cpp:207: error: `y' was not declared in this scope
libraries/thuban/wxproj.cpp:207: error: `forward' was not declared in
this scope
libraries/thuban/wxproj.cpp:207: error: `inverse' was not declared in
this scope
libraries/thuban/wxproj.cpp:208: error: `scalex' was not declared in
this scope
libraries/thuban/wxproj.cpp:208: error: `scaley' was not declared in
this scope
libraries/thuban/wxproj.cpp:208: error: `offx' was not declared in this
scope
libraries/thuban/wxproj.cpp:208: error: `offy' was not declared in this
scope
libraries/thuban/wxproj.cpp:209: error: `xs' was not declared in this scope
libraries/thuban/wxproj.cpp:209: error: `i' was not declared in this scope
libraries/thuban/wxproj.cpp:209: error: `ys' was not declared in this scope
libraries/thuban/wxproj.cpp:209: error: `i' was not declared in this scope
libraries/thuban/wxproj.cpp:209: error: ISO C++ forbids declaration of
`project_point' with no type
libraries/thuban/wxproj.cpp:209: error: `int project_point' redeclared
as different kind of symbol
libraries/thuban/wxproj.cpp:135: error: previous declaration of `void
project_point(double*, double*, PJ*, PJ*, double, double, double,
double, double, double)'
libraries/thuban/wxproj.cpp:209: error: initializer list being treated
as compound expression
libraries/thuban/wxproj.cpp:210: error: `i' was not declared in this scope
libraries/thuban/wxproj.cpp:210: error: syntax error before `.' token
libraries/thuban/wxproj.cpp:211: error: `i' was not declared in this scope
libraries/thuban/wxproj.cpp:211: error: syntax error before `.' token
libraries/thuban/wxproj.cpp:221: error: syntax error before `>' token
libraries/thuban/wxproj.cpp:221: error: syntax error before `--' token
libraries/thuban/wxproj.cpp:242: error: syntax error before `*' token
libraries/thuban/wxproj.cpp: In function `PyObject*
draw_polygon_init(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:292: error: 'struct s_draw_info' has no
member named 'dc'
libraries/thuban/wxproj.cpp:292: error: `wxDC' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:292: error: (Each undeclared identifier is
reported only once for each function it appears in.)
libraries/thuban/wxproj.cpp:292: error: parse error before `)' token
libraries/thuban/wxproj.cpp:293: error: 'struct s_draw_info' has no
member named 'dc'
libraries/thuban/wxproj.cpp: In function `PyObject*
draw_polygon_shape(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:333: error: `wxPoint' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:333: error: `points' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:334: error: `wxPen' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:334: error: `pen' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:335: error: `wxBrush' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:335: error: `brush' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:337: error: `dc' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:354: error: parse error before `)' token
libraries/thuban/wxproj.cpp:369: error: parse error before `)' token
libraries/thuban/wxproj.cpp:391: error: `project_points' undeclared
(first use this function)
libraries/thuban/wxproj.cpp:392: error: 'struct s_draw_info' has no
member named 'dc'
libraries/thuban/wxproj.cpp:397: error: `wxTRANSPARENT_BRUSH' undeclared
(first use this function)
libraries/thuban/wxproj.cpp:399: error: `wxTRANSPARENT_PEN' undeclared
(first use this function)
libraries/thuban/wxproj.cpp:407: error: 'struct s_draw_info' has no
member named 'dc'
libraries/thuban/wxproj.cpp:408: error: 'struct s_draw_info' has no
member named 'dc'
libraries/thuban/wxproj.cpp: In function `PyObject*
point_in_polygon_shape(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:532: error: `project_points' undeclared
(first use this function)
libraries/thuban/wxproj.cpp: In function `PyObject*
shape_centroid(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:653: error: `project_point' cannot be used
as a function
libraries/thuban/wxproj.cpp:659: error: `project_point' cannot be used
as a function
libraries/thuban/wxproj.cpp: At top level:
libraries/thuban/wxproj.cpp:65: warning: `void* get_pointer(PyObject*)'
defined but not used
libraries/thuban/wxproj.cpp:135: warning: `void project_point(double*,
double*, PJ*, PJ*, double, double, double, double, double, double)'
defined but not used
error: command 'gcc' failed with exit status 1
===========
there's so many errors that I don't know where to start.
the other question is: how to build Python using a specific "po" file? (
for testing the Portuguese strings I made)
thanks in advance.
--
Eduardo Patto Kanegae
+Homepage:http://www.consultoria.eti.br ( BRASIL )
*Fo'rum ptMapServer - http://www.consultoria.eti.br/mapserverptforum/ - "UMN MapServer discussions for Portuguese speakers"
*ClickBrasil - http://www.consultoria.eti.br/clickbrasil/ - "Maps of Brazil"
***************************************
***Fim da Mensagem / End of Message ***
***************************************
Frank Koormann escreveu:
>Dear all,
>
>I just uploaded to the CVS the po file for the sixth translation of
>Thuban: Brazilian Portuguese, contributed by Eduardo Patto Kanegae.
>To those who are familiar with Brazilian Portuguese - feel free to
>test and comment the translation.
>
>Thanks Eduardo!
>
> Frank
>
>
>
More information about the Thuban-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)