|
Posted by jis on June 21, 2007, 3:32 pm
Please log in for more thread options
Hi,
I tried to install inline C. I am facing serious problems.
I tried like
C:\perl123\Inline-0.44>perl makefile.pl
Warning: prerequisite Parse::RecDescent 1.8 not found.
Inline::C is packaged with Inline.pm because it is the most commonly
used
Inline Language Support Module (ILSM).
See also: Inline::ASM, ::Awk, ::BC, ::Basic, ::Befunge, ::CPP (C+
+), ::CPR,
::Foo, ::Guile, ::Java, ::Octave, ::PERL, ::Python, ::Ruby, ::TT,
::Tcl and ::WebChat.
Config.pm indicates that your version of Perl was built with this C
compiler:
cl.exe
I have located this compiler on your system:
Do you want to install Inline::C? [y] y
Writing Makefile for Inline::C
Writing Makefile for Inline
Fixing Makefile for MSWin32
***************************************************************
//my comments
It said Parse::RecDescent 1.8 not found.
So I went ahead and tried to install tht.
*****************************************************************
C:\perl123\Inline-0.44>cd..
C:\perl123>cd C:\perl123\Parse-RecDescent-1.94
C:\perl123\Parse-RecDescent-1.94>perl makefile.pl
Checking if your kit is complete...
Looks good
Warning: prerequisite Text::Balanced 0 not found.
Writing Makefile for Parse::RecDescent
********************************************
//my comments
Then it said it doesnt have Text::Balanced.Then...
*********************************************
C:\perl123\Parse-RecDescent-1.94>cd..
C:\perl123>cd C:\perl123\Text-Balanced-v2.0.0
C:\perl123\Text-Balanced-v2.0.0>perl makefile.pl
Warning: prerequisite version 0 not found.
Could not eval '
package ExtUtils::MakeMaker::_version;
no strict;
local $VERSION;
$VERSION=undef; do {
use version; $VERSION = qv('2.0.0');
}; $VERSION
' in lib/Text/Balanced.pm: Can't locate version.pm in @INC
(@INC contain
s: C:/Perl/site/lib C:/Perl/lib .) at (eval 6) line 7, <FH> line 13.
BEGIN failed--compilation aborted at (eval 6) line 7, <FH> line 13.
WARNING: Setting VERSION via file 'lib/Text/Balanced.pm' failed
at C:/Perl/lib/ExtUtils/MakeMaker.pm line 495
Writing Makefile for Text::Balanced
******************************************************************
//my comments
Warning: prerequisite version 0 not found .This made me go and try
installing version
******************************************************************
C:\perl123\Text-Balanced-v2.0.0>cd..
C:\perl123>cd C:\perl123\version-0.7203
C:\perl123\version-0.7203>perl makefile.pl
Testing if you have a C compiler
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for
80x86
Copyright (C) Microsoft Corp 1984-1997. All rights reserved.
test.c
Checking if your kit is complete...
Looks good
Writing Makefile for version::vxs
Writing Makefile for version
C:\perl123\version-0.7203>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp lib/version.pm blib\lib/version.pm
cp lib/version.pod blib\lib/version.pod
NMAKE -f Makefile all -nologo
cp lib/version/vxs.pm ..\blib\lib\version\vxs.pm
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -
D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CONTEX
T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -
DNDEBUG -O1
-DVERSION=\"0.7203\" -DXS_VERSION=\"0.7203\" "-IC:\Perl\lib\CORE"
vutil.c
vutil.c
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:
\Perl\lib\E
xtUtils\typemap -typemap ../lib/version/typemap vxs.xs > vxs.xsc && C:
\Perl\bin
\perl.exe -MExtUtils::Command -e mv vxs.xsc vxs.c
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -
D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CONTEX
T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -
DNDEBUG -O1
-DVERSION=\"0.7203\" -DXS_VERSION=\"0.7203\" "-IC:\Perl\lib\CORE"
vxs.c
vxs.c
Running Mkbootstrap for version::vxs ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 vxs.bs
C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=>\"ve
rsion::vxs\", 'DLBASE' => 'vxs', 'DL_FUNCS' => { }, 'FUNCLIST' => [],
'IMPORTS'
=> { }, 'DL_VARS' => []);"
link -out:..\blib\arch\auto\version\vxs\vxs.dll -dll -nologo -
nodefaultl
ib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86
vutil.obj vxs
.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib
user32.lib gdi32.li
b winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib ne
tapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp3
2.lib msvcrt.lib -def:vxs.def
C:\Perl\lib\CORE\perl58.lib : fatal error LNK1106: invalid file or
disk full: ca
nnot seek to 0x45ba7567
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
'0xc'
Stop.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
'0x2'
Stop.
C:\perl123\version-0.7203>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
NMAKE -f Makefile all -nologo
link -out:..\blib\arch\auto\version\vxs\vxs.dll -dll -nologo -
nodefaultl
ib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86
vutil.obj vxs
.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib
user32.lib gdi32.li
b winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib ne
tapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp3
2.lib msvcrt.lib -def:vxs.def
C:\Perl\lib\CORE\perl58.lib : fatal error LNK1106: invalid file or
disk full: ca
nnot seek to 0x45ba7567
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
'0xc'
Stop.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
'0x2'
Stop.
*****************************************************************************
I am stuck here.Please help me to understand what is going on
regards,
jis
|
|
Posted by Sisyphus on June 21, 2007, 8:34 pm
Please log in for more thread options
.
.
>
> C:\perl123>cd C:\perl123\Text-Balanced-v2.0.0
>
> C:\perl123\Text-Balanced-v2.0.0>perl makefile.pl
> Warning: prerequisite version 0 not found.
I recently installed Inline::C on a fresh build of ActivePerl without having
to install version. I have Text-Balanced-1.95 (which I therefore presume
does not need the version module). So ... for a quick fix to the problem,
install Text-Balanced-1.95, then Parse-RecDescent-1.94, then Inline-0.44.
Or you could just 'ppm install version' - which should give you
version-0.7203
.
.
> C:\Perl\lib\CORE\perl58.lib : fatal error LNK1106: invalid file or
> disk full: cannot seek to 0x45ba7567
I don't know what that error means. Perhaps Google could throw some light on
that.
Cheers,
Rob
|
| Similar Threads | Posted | | problems with installation of XML::LibXML | June 7, 2005, 10:30 am |
| trying to resolve module installation problems | November 11, 2007, 2:51 pm |
| Inline::Tcl vs. Inline::Tcl | August 23, 2006, 12:09 pm |
| Using a .SO library with Inline | January 28, 2005, 12:55 pm |
| ANNOUNCE: Inline::WSC V0.01 | April 26, 2006, 11:22 am |
| Windows: Perl:Inline | July 6, 2005, 4:56 am |
| How to Install Inline:CPP module | July 16, 2005, 12:49 am |
| Error in Inline C program | July 19, 2005, 2:55 am |
| [ANNOUNCE] Inline-C2XS-0.05 | November 4, 2006, 7:41 am |
| [ANNOUNCE] Inline-C2XS-0.05 | November 4, 2006, 7:43 am |
|