Sisyphus wrote:

----- Original Message ----- From: "Greg Ederer" <[EMAIL PROTECTED]>
.
.
The type =double= does not have a typemap entry!

I don't know if it helps (and perhaps I'm only stating what others already knew), but that error comes from sub typemap() in Basic/Gen/PP.pm. Search that file for the string =$full_type= and you'll soon find it.

I haven't waded through the code, but the comments indicate that the sub is parsing the ExtUtils/typemap.

Logically, that opens up the possibility that the problem lies with the typemap() sub, rather than the actual ExtUtils/typemap itself.

Cheers,
Rob
Ok, I went and looked at Basic/Gen/PP.pm, and I found in sub typemap:

============================
# A slightly edited version of the search path in xsubpp with a $installprivlib/ExtUtils
 # directory prepended.
 my $_rootdir=$Config{installprivlib}."/ExtUtils/";
 # First the system typemaps..
 my @tm = ($_rootdir.'../../../../lib/ExtUtils/typemap',
       $_rootdir.'../../../lib/ExtUtils/typemap',
       $_rootdir.'../../lib/ExtUtils/typemap',
       $_rootdir.'../../../typemap',
       $_rootdir.'../../typemap', $_rootdir.'../typemap',
       $_rootdir.'typemap');
# Finally tag onto the end, the current directory typemap. Ideally we should here pick # up the TYPEMAPS flag from ExtUtils::MakeMaker, but a) I don't know how and b)
 # it is only a slight inconvenience hopefully!
 #
# Note that the OUTPUT typemap is unlikely to be of use here, but I have kept
 # the source code from xsubpp for tidiness.
 push @tm, 'typemap';
 foreach $typemap (@tm) {
...
========================================

So I printed out where it was looking, and what it found:

=========================================
print "searching for $typemap\n";
   next unless -f $typemap ;
print "found : $typemap\n";
=========================================
And I got:

searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/../../../../lib/ExtUtils/typemap searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/../../../lib/ExtUtils/typemap searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/../../lib/ExtUtils/typemap searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/../../../typemap searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/../../typemap searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/../typemap
searching for /nfs/depot/rhe-3.0/new_perl_package/lib/perl/ExtUtils/typemap
searching for typemap
The type =double= does not have a typemap entry!

And sure enough, none of those location exist.

So now my question is, why does
    $Config{installprivlib}
point to /nfs/depot/rhe-3.0/new_perl_package/lib/perl (which does not even exist), and how do I change it? I assume it's picking it up from the perl installation somehow?

Thanks,
--greg








_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to