Oops. my bad. They are enclosed in this email. Thank a lot!
----- Original Message ----- From: "Ira Woodhead" <[EMAIL PROTECTED]>
To: "Weijian" <[EMAIL PROTECTED]> Cc: "Ira Woodhead" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 17, 2006 10:30 PM Subject: RE: Help needed on Perl module, thanks a lotWhoops! It seems no attachments are on this email... You can just paste it into the body of the email if you like.
-----Original Message----- From: Weijian [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 7:17 PM To: Ira Woodhead Cc: inline@perl.org; [EMAIL PROTECTED] Subject: Re: Help needed on Perl module, thanks a lot Importance: High Dear Mr. Woodhead, That's Fantastic!! Text::Scan is a great module and I use it a lot. I am sure this upgrade with benefit many other users as well. As you asked, here is what I do: I am using Windows XP, with Microsoft CL compiler. I am upgrading to ActivePerl 5.8.7 (I was able to install this module in activeperl 5.6.1 which is a quite old version). I guess this setting is common in Windows platform. Since no ppd available for such setting, I did the following things: 1. Download Text::Scan v0.23 from cpan (and decompressed it). 2. Perl Makefile.PL 3. Nmake When I "Nmake", there are warnings showing on screen and it stopped at certain errors. Enclosed please see the screen message: File: "NMake_ErrorMessageOnScreen.txt" Also enclosed is the Mafile generated from "Perl Makefile.PL" (My perl compiler is D:\activeperl\Perl\bin\perl.exe) (The download Text-Scan files are in: D:\activeperl8\Download\uncompress\Text-Scan-0.23) Again, thank you Mr. Woodhead! I really appreciate your kind help! Best regards, Jack----- Original Message ----- From: "Ira Woodhead" <[EMAIL PROTECTED]>
To: "Weijian" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Ira Woodhead" <[EMAIL PROTECTED]> Sent: Tuesday, January 17, 2006 3:57 PM Subject: RE: Help needed on Perl module, thanks a lot Hello, I'm glad to hear you are using Text::Scan. I may be able to help you, but since I don't work on Windows very much, I might not have the answers. One thing you can do is send me as much information as possible, including your platform and all messages generated during the build process. You should also send an identical message to inline@perl.org, where many people discuss the Inline module and problems they might have with building C code with it. -----Original Message----- From: Weijian [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:46 AM To: Ira Woodhead Cc: [EMAIL PROTECTED] Subject: Help needed on Perl module, thanks a lot Importance: High Dear Mr. Woodhead, I am sorry to bother you, but I have to ask you for help on a perl module you contributed to CPAN. It's a great module and I have been using it for a while. But after I upgrade to perl 5.8.x (from 5.6.x) on Windows, I can no longer install Text::Scan modul any more. I tried to compile it on Windows using microsoft nmake and cl, but it didn't work. I have many files depends on this module but I have to upgrade to perl 5.8.x to use some features. Could you please take a look to see if you can make it installable on windows system with perl 5.8.x? Or a least give me some hints on what things I should try. I really appreciate your help! Thank you so much! Best, Jack -----------------------------------------------------------------------------------ATTENTION:DO NOT read, copy or disseminate this communication unless youare theintended addressee. This message and any file(s) or attachment(s)transmittedwith it are confidential, intended only for the named recipient,and maycontain information that is a trade secret, proprietary, protectedby theattorney work product doctrine, subject to the attorney-clientprivilege, oris otherwise protected against unauthorized use or disclosure.This messageand any file(s) or attachment(s) transmitted with it aretransmitted based ona reasonable expectation of privacy consistent with ABAFormal Opinion No.99-413. If you have received this communication inerror, please e-mail thesender and notify the sender immediately that youhave received thecommunication in error. Thank you. -----------------------------------------------------------------------------------ATTENTION: DO NOT read, copy or disseminate this c! ommunication unless youare the intended addressee. This message and any file(s) or attachment(s)transmitted with it are confidential, intended only for the named recipient,and may contain information that is a trade secret, proprietary, protectedby the attorney work product doctrine, subject to the attorney-clientprivilege, or is otherwise protected against unauthorized use or disclosure.This message and any file(s) or attachment(s) transmitted with it aretransmitted based on a reasonable expectation of privacy consistent with ABAFormal Opinion No. 99-413. If you have received this communication inerror, please e-mail the sender and notify the sender immediately that youhave received the communication in error. Thank you.
Makefile
Description: Binary data
D:\activeperl\Perl\bin\perl.exe -Mblib -MInline=NOISY,_INSTALL_ -MText::Scan -e1 0.23 blib\arch 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 Text::Scan Finished "perl Makefile.PL" Stage Starting "make" Stage Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. D:\activeperl\Perl\bin\perl.exe D:\activeperl\Perl\lib\ExtUtils/xsubpp -typemap D:\activeperl\Perl\lib\ExtUtils \typemap Scan.xs > Scan.xsc && D:\activeperl\Perl\bin\perl.exe -MExtUtils::Command -e mv Scan.xsc Scan.c cl -c -ID:/activeperl8/Download/uncompress/Text-Scan-0.23 -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONS OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_P ERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" "-ID:\activeperl\Perl\lib \CORE" Scan.c cl : Command line warning D9002 : ignoring unknown option '-Gf' Scan.c Scan.xs(251) : warning C4101: 't' : unreferenced local variable Scan.xs(654) : warning C4244: 'function' : conversion from 'double' to 'size_t', possible loss of data Scan.xs(690) : warning C4018: '<' : signed/unsigned mismatch Scan.xs(650) : warning C4101: 'last' : unreferenced local variable Scan.xs(747) : warning C4013: 'PerlSIO_getc' undefined; assuming extern returning int Scan.xs(725) : warning C4101: 'i' : unreferenced local variable Scan.xs(727) : warning C4101: 'metastr' : unreferenced local variable Running Mkbootstrap for Text::Scan () D:\activeperl\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Scan.bs D:\activeperl\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Text::Scan\", 'DLBASE' => 'Scan ', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Text\Scan\Scan.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"d:\activep erl\Perl\lib\CORE" -machine:x86 Scan.obj D:\activeperl\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib m pr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Scan.def Creating library blib\arch\auto\Text\Scan\Scan.lib and object blib\arch\auto\Text\Scan\Scan.exp Scan.obj : error LNK2019: unresolved external symbol _PerlSIO_getc referenced in function __restore blib\arch\auto\Text\Scan\Scan.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return code '0x460' Stop. A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: nmake The build directory was: D:\activeperl8\Download\uncompress\Text-Scan-0.23\_Inline\build\Text\Scan To debug the problem, cd to the build directory, and inspect the output files. at -e line 0 INIT failed--call queue aborted. NMAKE : fatal error U1077: 'D:\activeperl\Perl\bin\perl.exe' : return code '0x2' Stop.