Opened 9 years ago
Closed 9 years ago
#6039 closed defect (fixed)
GDAL 2.0.0 Perl bindings won't compile with SWIG > 3.0.2
Reported by: | jcrepetto | Owned by: | Ari Jolma |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.1 |
Component: | PerlBindings | Version: | 2.0.0 |
Severity: | normal | Keywords: | SWIG |
Cc: |
Description
swig -Wall -I../include -I../include/perl -I../include/perl/docs -DPERL_CPAN_NAMESPACE -I/u1/tmp/portage/sci-libs/gdal-2.0.0/work/gdal-2.0.0 -c++ -perl -o gdal_wrap.cpp ../include/gdal.i ../include/perl/ogr_perl.i:112: Error: Unknown SWIG preprocessor directive: wrapped (if this is a block of target language code, delimit it with %{ and %}) ../include/perl/ogr_perl.i:116: Error: Unknown SWIG preprocessor directive: wrapped (if this is a block of target language code, delimit it with %{ and %}) ../include/perl/ogr_perl.i:124: Error: Unknown SWIG preprocessor directive: wrapped (if this is a block of target language code, delimit it with %{ and %}) ../include/perl/ogr_perl.i:128: Error: Unknown SWIG preprocessor directive: wrapped (if this is a block of target language code, delimit it with %{ and %}) ../SWIGmake.base:9: recipe for target 'gdal_wrap.cpp' failed make: *** [gdal_wrap.cpp] Error 1
More information in this Gentoo ticket : https://bugs.gentoo.org/show_bug.cgi?id=554792
Note:
See TracTickets
for help on using tickets.
Fixed in r29538 and r29539. Swig seems to have dropped support for Perl style comments.