17 | | |
18 | | 1) edit mapscript.i and change the line "%module mapscript" to "%module yourname" |
19 | | 2) remove mapscript.pm if it's present. SWIG will create yourname.pm and the presence of mapscript.pm will confuse the intall. |
20 | | 3) re-SWIG it (install SWIG and the type swig -shadow -perl5 mapscript.i) |
21 | | 4) edit Makefile.PL and change the line "'NAME' => 'mapscript'," to "'NAME' => 'yourname'," |
22 | | 5) build as normal |
23 | | |
| 17 | {{{ |
| 18 | 1) edit mapscript.i and change the line "%module mapscript" to "%module yourname", ie. "mapscript563". |
| 19 | 2) in plmodule.i. Look for lines of the form: "mapscript::RFC24_ADD_PARENT_REF(..." and change mapscript to "mapscript563::...". |
| 20 | 3) remove mapscript.pm if it's present. SWIG will create yourname.pm and the presence of mapscript.pm will confuse the install. |
| 21 | 4) re-SWIG it (install SWIG and the type swig -shadow -perl5 mapscript.i) |
| 22 | 5) edit Makefile.PL and change the line "'NAME' => 'mapscript'," to "'NAME' => 'yourname'," |
| 23 | 6) build as normal |
| 24 | }}} |