Changes between Version 1 and Version 2 of Perl


Ignore:
Timestamp:
Sep 6, 2010, 12:52:41 AM (14 years ago)
Author:
Ari Jolma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Perl

    v1 v2  
    11Typically you enable building a foreign function interface ("bindings") to GDAL for a specific supported language by using the option --with-perl (replace "perl" with your favorite language) with configure. The effect of this is that during the build process {{{cd swig; make build}}} is issued and all specified interfaces are built by {{{make build}}} in respective library (swig/perl in the case of Perl).
    22
    3 The Perl bindings, as all so called "new generation" bindings for GDAL, are generated from SWIG interface files with SWIG. The bindings are a set of .c and .cpp files and other files whose type depends on the language. In the case of Perl, these SWIG generated files are not stored in the repository. The bindings are generated by {{{make generate}}}. In the case of Perl, {{{make build}}} falls back to do {{{make generate}}} first if a wrapper file does not exist.
     3The Perl bindings, as all so called "new generation" bindings for GDAL, are generated from [wiki:SWIG GDAL SWIG interface] files with SWIG. The bindings are a set of .c and .cpp files and other files whose type depends on the language. In the case of Perl, these SWIG generated files are not stored in the repository. The bindings are generated by {{{make generate}}}. In the case of Perl, {{{make build}}} falls back to do {{{make generate}}} first if a wrapper file does not exist.
    44
    55To rebuild wrappers make sure to remove the old ones by {{{make veryclean}}} first.