[Thuban-list] another Thuban build error
Ole Benjamin Schroeder
ole.benjamin.schroeder at web.de
Sat Mar 20 15:56:01 CET 2004
Hi,
I'm trying to install Thuban under SuSE Linux 9.0 pro.
I have installed all the mentioned prerequisites including the corresponding
devel-packages but still I get these errors:
linux:/tmp/Thuban-1.0.0 # python setup.py build
sh: line 1: gdal-config: command not found
"gdal-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 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -Ilibraries/shapelib -I/usr/local/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-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: Warnung: "_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: Warnung: this is the location of the previous
definition
libraries/thuban/wxproj.cpp:26:22: projects.h: Datei oder Verzeichnis nicht
gefunden
libraries/thuban/wxproj.cpp:132: error: type specifier omitted for parameter
`PJ'
libraries/thuban/wxproj.cpp:132: error: parse error before `*' token
libraries/thuban/wxproj.cpp: In function `void project_point(...)':
libraries/thuban/wxproj.cpp:136: error: `projUV' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:136: error: (Each undeclared identifier is
reported only once for each function it appears in.)
libraries/thuban/wxproj.cpp:136: error: parse error before `;' token
libraries/thuban/wxproj.cpp:138: error: `proj_point' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:138: error: `x' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:139: error: `y' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:141: error: `inverse' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:142: error: `pj_inv' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:144: error: `forward' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:155: error: `DEG_TO_RAD' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:158: error: `pj_fwd' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:166: error: `RAD_TO_DEG' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:171: error: `xdest' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:171: error: `scalex' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:171: error: `offx' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:172: error: `ydest' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:172: error: `scaley' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:172: error: `offy' undeclared (first use this
function)
libraries/thuban/wxproj.cpp: At global scope:
libraries/thuban/wxproj.cpp:191: error: type specifier omitted for parameter
`PJ'
libraries/thuban/wxproj.cpp:191: error: parse error before `*' token
libraries/thuban/wxproj.cpp: In function `wxPoint* project_points(...)':
libraries/thuban/wxproj.cpp:195: error: `num_vertices' undeclared (first use
this function)
libraries/thuban/wxproj.cpp:195: error: `num_parts' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:209: error: `xs' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:209: error: `ys' undeclared (first use this
function)
libraries/thuban/wxproj.cpp:223: error: `part_start' undeclared (first use
this function)
libraries/thuban/wxproj.cpp: At global scope:
libraries/thuban/wxproj.cpp:240: error: Syntaxfehler before `*' token
libraries/thuban/wxproj.cpp:241: error: Syntaxfehler before `*' token
libraries/thuban/wxproj.cpp: In function `PyObject*
draw_polygon_init(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:302: error: 'struct s_draw_info' has no member
named 'forward'
libraries/thuban/wxproj.cpp:307: error: 'struct s_draw_info' has no member
named 'inverse'
libraries/thuban/wxproj.cpp: In function `PyObject*
draw_polygon_shape(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:386: error: 'struct s_draw_info' has no member
named 'forward'
libraries/thuban/wxproj.cpp:387: error: 'struct s_draw_info' has no member
named 'inverse'
libraries/thuban/wxproj.cpp: In function `PyObject*
point_in_polygon_shape(PyObject*, PyObject*)':
libraries/thuban/wxproj.cpp:501: error: `PJ' undeclared (first use this
function)
error: command 'gcc' failed with exit status 1
can anyone help me with that?
cheers
Ole
More information about the Thuban-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)