Thread Geo::Shapelib (18 answers)
Opened by Dimpflmoser at 2011-05-22 18:46

Gast Dimpflmoser
 2011-05-22 21:23
#149009 #149009
Nochmal hallo zusammen,

also so fängt meine Fehlermeldung an (soweit ich das als nicht-C-er verstehe.

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "rm_rf" -- ..\blib\arch\a
uto\Geo\Shapelib\shputils\shputils.a
ar -ru ..\blib\arch\auto\Geo\Shapelib\shputils\shputils.a shputils.o
ar: creating ..\blib\arch\auto\Geo\Shapelib\shputils\shputils.a
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 ..\blib\ar
ch\auto\Geo\Shapelib\shputils\shputils.a
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap
C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Shapelib.xs > Shapeli
b.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Shapelib
.xsc Shapelib.c
Please specify prototyping behavior for Shapelib.xs (see perlxs manual)
gcc -c -I./ -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" "-IC:\str
awberry\perl\lib\CORE" -ggdb Shapelib.c
Shapelib.xs:5:31: error: shapelib/shapefil.h: No such file or directory
Shapelib.c: In function 'XS_Geo__Shapelib_SHPOpen':


Es folgen ganz viele Meldungen in der Art:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
Shapelib.xs:5:31: error: shapelib/shapefil.h: No such file or directory
Shapelib.c: In function 'XS_Geo__Shapelib_SHPOpen':
Shapelib.c:86: error: 'SHPHandle' undeclared (first use in this function)
Shapelib.c:86: error: (Each undeclared identifier is reported only once
Shapelib.c:86: error: for each function it appears in.)
Shapelib.c:86: error: expected ';' before 'RETVAL'
Shapelib.c:88: error: 'RETVAL' undeclared (first use in this function)
Shapelib.c: In function 'XS_Geo__Shapelib_SHPGetInfo':
Shapelib.c:107: error: 'SHPHandle' undeclared (first use in this function)
Shapelib.c:107: error: expected ';' before 'hSHP'
Shapelib.c:112: error: 'hSHP' undeclared (first use in this function)
Shapelib.c: In function 'XS_Geo__Shapelib_SHPReadObject':
Shapelib.c:181: error: 'SHPHandle' undeclared (first use in this function)


Und schließlich:
Code: (dl )
1
2
3
4
5
6
7
8
dmake.EXE:  Error code 129, while making 'Shapelib.o'
AJOLMA/Geo-Shapelib-0.20.tar.gz
C:\strawberry\c\bin\dmake.EXE -- NOT OK
CPAN: YAML loaded ok (v0.72)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible


Leider kann ich damit gar nichts anfangen ...

Danke und Grüße

Helmut
Last edited: 2011-05-22 21:28:51 +0200 (CEST)

View full thread Geo::Shapelib