Hi,
I have problems when I specify my own typemaps.
If I define the typemap file as an absolute path name, everything
works fine:
use Inline (C => 'DATA',
TYPEMAPS => '/afs/mpa/home/nog/ext/Filesys/AFS/typemap',
);
Then the Makefile.PL looks like:
use ExtUtils::MakeMaker;
my %options = %{
{
'NAME' => 'Filesys::AFS_C_42f95819f54bc2a287343d574738e21f',
'TYPEMAPS' => [
'/usr/local/lib/perl5/5.00502/ExtUtils/typemap',
'/afs/mpa/home/nog/ext/Filesys/AFS/typemap'
],
'VERSION' => '0.00'
}
};
WriteMakefile(%options);
But when I specify the typemap file as a relative path name then I get
an error:
use Inline (C => 'DATA',
TYPEMAPS => './typemap',
);
The error message is:
Typemap ./typemap not found.
and the Makefile.PL looks like:
use ExtUtils::MakeMaker;
my %options = %{
{
'NAME' => 'Filesys::AFS_C_42f95819f54bc2a287343d574738e21f',
'TYPEMAPS' => [
'/usr/local/lib/perl5/5.00502/ExtUtils/typemap',
'./typemap',
'/afs/mpa-garching.mpg.de/home/nog/ext/Filesys/AFS/typemap'
],
'VERSION' => '0.00'
}
};
WriteMakefile(%options);
It looks like as if the array element with the relative path name
should be replaced by the entry with the absolute path name but it
gets added instead.
Is it not possible to specify a relative path name for a typemap file ?
Or do I make some other stupid things ?
Cheers,
Norbert
--
+-------------------------------------------------------------------+
| Norbert E. Gruener http://www.MPA-Garching.MPG.DE/~nog/ |
| Max-Planck-Institut <[EMAIL PROTECTED]> |
| fuer Astrophysik PGP encrypted mail preferred |
| PGPprint(RSA): 66 64 C0 D0 6F 1A 16 02 C2 C6 37 83 3A 5F 88 9B |
| PGPprint(DH): EBBF 02ED 1B91 39C3 5FB9 4D2F 9478 E224 334C 34CD |
| PGPprint(DSS): A3F0 BDFA EAC0 128D A6C5 B11D 6EEC 0A88 47CD A77D |
+-------------------------------------------------------------------+