----- Original Message -----
From: "Brian Ingerson" <[EMAIL PROTECTED]>
>
> I'd really like to resolve this. Could you send me the code? Privately
> would be fine. All send any other details. I don't think this should be
> happening.
>
Probably simplest for you to play around with the Math::Simple example that
came with 0.43. (I can happily provide you with the code for one of my
modules, but it uses openssl header files, lib files and dll - and it
contains a 'PL_FILES' entry in the 'WriteInlineMakefile' section - all of
which makes investigation of this issue a little more complicated than
necessary.)
I built and installed Math::Simple using 0.43 and it worked fine. With 0.44
installed, if I try to run a script that uses Math::Simple, I get the error
message:
"You are attempting to load an extension for 'Math\Simple.pm',
but there is no entry for that module in %INC."
If I try to build Math::Simple using 0.44 (from the source as supplied with
0.43) here's what I get:
perl makefile produces:
########################
Inline::MakeMaker::WriteInlineMakefile() is deprecated as of Inline-0.44.
Inline::MakeMaker::WriteMakefile() should be used instead.
Checking if your kit is complete...
Looks good
Writing Makefile for Math::Simple
########################
nmake produces:
############################
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp Simple.pm blib\lib\Math\Simple.pm
D:\Perl\bin\perl.exe -Mblib -MInline=NOISY,_INSTALL_ -MMath::Simple
-e1 1.23 blib\arch
Using D:/comp/Inline-0.43/modules/Math/Simple/blib
Starting Build Prepocess Stage
Finished Build Prepocess Stage
Starting Build Parse Stage
Finished Build Parse Stage
Starting Build Glue 1 Stage
Finished Build Glue 1 Stage
Starting Build Glue 2 Stage
Finished Build Glue 2 Stage
Starting Build Glue 3 Stage
Finished Build Glue 3 Stage
Starting Build Compile Stage
Starting "perl Makefile.PL" Stage
Writing Makefile for Math::Simple
Finished "perl Makefile.PL" Stage
Starting "make" Stage
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib D:\Perl\lib\ExtUti
ls/xsubpp -typemap D:\Perl\lib\ExtUtils\typemap Simple.xs > Simple.xsc &&
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Command -e mv
Simple.xsc Simple.c
cl -c -ID:/comp/Inline-0.43/modules/Math/Simple -nologo -O1 -MD -DN
DEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONT
EXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG -DVERSION
=\"1.23\" -DXS_VERSION=\"1.23\" -ID:\Perl\lib\CORE Simple.c
Simple.c
"Running Mkbootstrap for Math::Simple ()"
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Comman
d -e chmod 644 Simple.bs
D:\Perl\bin\perl.exe "-ID:\Perl\lib" "-ID:\Perl\lib" -MExtUtils::Mk
symlists -e "Mksymlists('NAME' => 'Math::Simple', 'DLBASE' => 'Simple', 'D
L_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
link -out:blib\arch\auto\Math\Simple\Simple.dll -dll -nologo -nodef
aultlib -release -libpath:"D:\Perl\lib\CORE" -machine:x86 Simple.obj D:
\Perl\lib\CORE\perl56.lib oldnames.lib kernel32.lib user32.lib gdi32.lib wi
nspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib n
etapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib
odbccp32.lib msvcrt.lib -def:Simple.def
Creating library blib\arch\auto\Math\Simple\Simple.lib and object blib\a
rch\auto\Math\Simple\Simple.exp
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Comman
d -e chmod 755 blib\arch\auto\Math\Simple\Simple.dll
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Comman
d -e cp Simple.bs blib\arch\auto\Math\Simple\Simple.bs
D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib -MExtUtils::Comman
d -e chmod 644 blib\arch\auto\Math\Simple\Simple.bs
Finished "make" Stage
Starting "make install" Stage
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Installing D:\comp\Inline-0.43\modules\Math\Simple\blib\arch\auto\Math\Simp
le\Simple.dll
Installing D:\comp\Inline-0.43\modules\Math\Simple\blib\arch\auto\Math\Simp
le\Simple.lib
Installing D:\comp\Inline-0.43\modules\Math\Simple\blib\arch\auto\Math\Simp
le\Simple.exp
Installing D:\comp\Inline-0.43\modules\Math\Simple\blib\arch\auto\Math\Simp
le\Simple.bs
Writing D:\comp\Inline-0.43\modules\Math\Simple\blib\arch\auto\Math\Simple\
..packlist
## Differing versions of auto/Math/Simple/Simple.dll found. You might like
to
rm D:\Perl\site\lib\auto\Math\Simple\Simple.dll
rm D:\Perl\site\lib\auto\Math\Simple\Simple.dll
## Running 'make install UNINST=1' will unlink all those files for you.
Finished "make install" Stage
Starting Cleaning Up Stage
Finished Cleaning Up Stage
Finished Build Compile Stage
##########################
nmake test produces:
##########################
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe -Iblib\arch -Iblib\lib -ID:\Perl\lib -ID:\Perl
\lib test.pl
1..2
You are attempting to load an extension for 'Math\Simple.pm',
but there is no entry for that module in %INC.
at test.pl line 0
INIT failed--call queue aborted, <DATA> line 1.
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0x2'
Stop.
###########################
I tried altering the deprecated 'WriteInlineMakefile' to 'WriteMakefile' and
that got rid of the message re that topic when I ran 'perl makefile.pl', but
it made no difference to the output of 'nmake' or 'nmake test'.
Why is running 'nmake' also performing (or at least claiming to perform) an
install ?
Hope that gives you what you're after. If you need more - or were seeking
something else altogether - just holler.
What does ILSM stand for ?
(I could hazard a guess but, if I'm wrong, then that would be even *more*
embarrassing :-)
Cheers,
Rob
PS. My MakeMaker.pm has been sisyphused. ie it has a few print statements
that I added at some stage for some long-forgotten reason. I've removed the
output of those print statements from the above. I think I removed *all* of
them ...I think that's *all* I've removed .... I think :-)