AARG! Yet another help install "inline.pm" on Win32!
in short:
I got installed:
vanilla-perl
activestate perl
inline.pm (installed with cpan)
uninstalled Visual studio developement. inline.pm kept nagging about the files in VC\bin
in directory:
C:\vanilla-perl\_Inline\build\test_inline1_pl_33e8
I do:
perl Makefile.pl
I get:
Set up gcc environment - 3.4.5 (mingw special)
Writing Makefile for test_inline1_pl_33e8
I then do:
dmake
(man, I dont know if this makes sense, I'm just trying to do the same thing with "dmake"
as I'm told to do with "make/nmake" in the support notes)
then I get:
gcc -c -IC:/vanilla-perl -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_D
ES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL
ICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing
-O2 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" "-IC:\Perl\lib\CORE" te
st_inline1_pl_33e8.c
Running Mkbootstrap for test_inline1_pl_33e8 ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 test_inline1_pl_33e8.bs
dlltool --def test_inline1_pl_33e8.def --output-exp dll.exp
g++ -o blib\arch\auto\test_inline1_pl_33e8\test_inline1_pl_33e8.dll -Wl,--base-f
ile -Wl,dll.base -mdll -L"C:\Perl\lib\CORE" test_inline1_pl_33e8.obj -Wl,--image
-base,0x2b0c0000 C:\Perl\lib\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwins
pool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_
32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp
g++: test_inline1_pl_33e8.obj: No such file or directory
dmake: Error code 129, while making 'blib\arch\auto\test_inline1_pl_33e8\test_i
nline1_pl_33e8.dll'
if I try to run my inline test script "test_inline1.pl"
I get:
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\
typemap test_inline1_pl_33e8.xs > test_inline1_pl_33e8.xsc && C:\Perl\bin\perl.
exe -MExtUtils::Command -e mv test_inline1_pl_33e8.xsc test_inline1_pl_33e8.c
gcc -c -IC:/vanilla-perl -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_D
ES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL
ICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing
-O2 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" "-IC:\Perl\lib\CORE" te
st_inline1_pl_33e8.c
Running Mkbootstrap for test_inline1_pl_33e8 ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 test_inline1_pl_33e8.bs
C:\Perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"test_inline1_pl_33e8\", 'DLBASE' => 'test_inline1_
pl_33e8', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' =>
[]);"
Set up gcc environment - 3.4.5 (mingw special)
dlltool --def test_inline1_pl_33e8.def --output-exp dll.exp
g++ -o blib\arch\auto\test_inline1_pl_33e8\test_inline1_pl_33e8.dll -Wl,--base-f
ile -Wl,dll.base -mdll -L"C:\Perl\lib\CORE" test_inline1_pl_33e8.obj -Wl,--image
-base,0x2b0c0000 C:\Perl\lib\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwins
pool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_
32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp
g++: test_inline1_pl_33e8.obj: No such file or directory
dmake: Error code 129, while making 'blib\arch\auto\test_inline1_pl_33e8\test_i
nline1_pl_33e8.dll'
A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
dmake > out.make 2>&1
The build directory was:
C:\vanilla-perl\_Inline\build\test_inline1_pl_33e8
To debug the problem, cd to the build directory, and inspect the output files.
at test_inline1.pl line 0
INIT failed--call queue aborted.
What to do?
I have tried those solutions I could find on the net, but none of them works!?
I'm REALLY stuck!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.