[Namazu-users-en] Re: "Error! can't open the result format file"

Hugh Sasse hgs at dmu.ac.uk
Fri May 9 05:03:37 JST 2008


On Fri, 9 May 2008, Tadamasa Teranishi wrote:

> Hugh Sasse wrote:
> > 
> > > Does pltests become All PASS?
> > 
> > OK, that fails immediately.  I have Cygwin on here, and so I avoid the
> > cygwin interpreter by invoking the file directly:
> 
> Use not Cygwin but the command prompt. 

Yes, I am doing exactly that.
> 
> > C:\namazu\pltests>alltests.pl
> > Can't locate NKF.pm in @INC (@INC contains: C:/Perl/site/lib C:/
> > Perl/lib .) at pltests.pl line 34.
> 
> Namazu is not installed. 
> Install it according to READEME.txt. 
> 
> > > Try to install Namazu often reading README.txt.
> > 
> > I read that.  Much of it is about HTTP related stuff that I don't need,
> > and it is not clear which bits are essential, which are optional.
> 
> All might be necessary excluding "8. About execution with Web server".
> Set it according to README.txt. 
> 
> >    redist\vcredist_x86.exe    I have two, but one is in the namazu package.
> >                               Does it need to be on %PATH% ?  Neither is yet.
> 
> Execute "Redist\vcredist_x86.exe", and install run time. 

Thanks, will do..  OK, some characters unreadable to me, but there
seemed to be no errors.
> 
> >    I don't know what the PPM package is.  I don't plan to search images
> >    so I didn't install it. pbm, ppm are image types.  Now, however:
> 
> PPM is Perl Package Module. (It doesn't relate to image file format
> .ppm.)
> The installation of PPM is indispensable. 

OK, I see it now, 

C:\Documents and Settings\hgs>ppm --version
ppm 4.01
Copyright (C) 2007 ActiveState Software Inc.  All rights reserve
d.

> 
> Open the command prompt, and install PPM. 
> Occupy the following execution result. 
> 
> C:\> perl --version

C:\Documents and Settings\hgs>perl --version

This is perl, v5.8.8 built for MSWin32-x86-multi-thread
        [...]


C:\namazu\pltests>pltests.pl
Can't load 'C:/Perl/site/lib/auto/NKF/NKF.dll' for module NKF: l
oad_file:The specified procedure could not be found at C:/Perl/l
ib/DynaLoader.pm line 230.
 at C:\namazu\pltests\pltests.pl line 34
Compilation failed in require at C:\namazu\pltests\pltests.pl li
ne 34.
BEGIN failed--compilation aborted at C:\namazu\pltests\pltests.p
l line 34.

C:\namazu\pltests>dir C:\Perl\site\lib\auto\NKF\NKF.dll
 Volume in drive C is HARD DISK
 Volume Serial Number is E408-4A26

 Directory of C:\Perl\site\lib\auto\NKF

08/05/2008  20:05           252,384 NKF.dll
               1 File(s)        252,384 bytes
               0 Dir(s)  90,401,538,048 bytes free

C:\namazu\pltests>md5sum C:\Perl\site\lib\auto\NKF\NKF.dll
\6996cf0966b240fa4a0c56bb3a8ed989 *C:\\Perl\\site\\lib\\auto\\NK
F\\NKF.dll


We don't have a proxy server here, so I've not set that.
So, from a fresh command prompt, I use Interactive Ruby to see what
Environment programs get, then I run the tests.:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\hgs>irb
irb(main):001:0> require 'pp'
=> true
irb(main):002:0> pp ENV
{"ALLUSERSPROFILE"=>"C:\\Documents and Settings\\All Users",
 "APPDATA"=>"C:\\Documents and Settings\\hgs\\Application Data",

 "CLIENTNAME"=>"Console",
 "CommonProgramFiles"=>"C:\\Program Files\\Common Files",
 "COMPUTERNAME"=>"Q2P14HGS",
 "ComSpec"=>"C:\\WINDOWS\\system32\\cmd.exe",
 "DJGPP"=>"C:\\DJGPP\\djgpp.env",
 "FP_NO_HOST_CHECK"=>"NO",
 "HOME"=>"C:\\namazu",
 "HOMEDRIVE"=>"C:",
 "HOMEPATH"=>"\\Documents and Settings\\hgs",
 "HummPATH11"=>
  "C:\\Program Files\\Hummingbird\\Connectivity\\11.00\\Accessor
ies\\;",
 "INPUTRC"=>"c:\\ruby\\bin\\inputrc.euro",
 "ITAIJIDICTPATH"=>"C:\\kakasi\\share\\kakasi\\itaijidict",
 "KANWADICTPATH"=>"C:\\kakasi\\share\\kakasi\\kanwadict",
 "LANG"=>"C",
 "LOGONSERVER"=>"\\\\Q2P14HGS",
 "MKNMZRC"=>"C:\\namazu\\etc\\namazu\\mknmzrc ",
 "NAMAZULOCALEDIR"=>"C:\\namazu\\share\\locale",
 "NAMAZURC"=>"C:\\namazu\\etc\\namazu\\namazurc ",
 "NUMBER_OF_PROCESSORS"=>"2",
 "OS"=>"Windows_NT",
 "Path"=>
  "C:\\Tcl\\bin;c:\\program files\\imagemagick-6.3.3-q16;C:\\Per
l\\site\\bin;C:\\Perl\\bin;c:\\ruby\\bin;C:\\WINDOWS\\system32;C
:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\PuTTY;
;C:\\Program Files\\Pixie\\bin;C:\\Program Files\\Hummingbird\\C
onnectivity\\11.00\\Accessories\\;;;C:\\Program Files\\Common Fi
les\\GTK\\2.0\\bin;C:\\Program Files\\MySQL\\MySQL Server 5.0\\b
in;C:\\Python25\\;C:\\Documents and Settings\\hgs\\My Documents\
\downloads\\spydermaster\\spydermaster;C:\\Program Files\\Micros
oft SQL Server\\90\\Tools\\binn\\;C:\\namazu\\bin;C:\\Tcl\\bin;C
:\\cygwin\\bin;C:\\Program Files\\Blender Foundation\\blender;C:
\\Program Files\\Common Files\\Shoes\\0.r465\\..;C:\\Unicon\\bin
;",
 "PATHEXT"=>".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.R
B;.RBW;.tcl",
 "PIXIEHOME"=>"C:\\Program Files\\Pixie",
 "pkgdatadir"=>"C:\\namazu\\share\\namazu",
 "PROCESSOR_ARCHITECTURE"=>"x86",
 "PROCESSOR_IDENTIFIER"=>"x86 Family 15 Model 4 Stepping 3, Genu
ineIntel",
 "PROCESSOR_LEVEL"=>"15",
 "PROCESSOR_REVISION"=>"0403",
 "ProgramFiles"=>"C:\\Program Files",
 "PROMPT"=>"$P$G",
 "PythonPath"=>
  "C:\\Python25\\Lib;C:\\Python25\\DLLs;C:\\Python25\\Lib\\lib-t
k;C:\\Documents and Settings\\hgs\\My Documents\\downloads\\spyd
ermaster\\spydermaster",
 "RUBYOPT"=>"-rubygems",
 "SESSIONNAME"=>"Console",
 "SHADERS"=>"%PIXIEHOME%\\shaders",
 "SystemDrive"=>"C:",
 "SystemRoot"=>"C:\\WINDOWS",
 "TEMP"=>"C:\\DOCUME~1\\hgs\\LOCALS~1\\Temp",
 "TMP"=>"C:\\DOCUME~1\\hgs\\LOCALS~1\\Temp",
 "USERDOMAIN"=>"Q2P14HGS",
 "USERNAME"=>"hgs",
 "USERPROFILE"=>"C:\\Documents and Settings\\hgs",
 "windir"=>"C:\\WINDOWS"}
=> nil
irb(main):003:0> exit

C:\Documents and Settings\hgs>cd \namazu\pltests

C:\namazu\pltests>pltests.pl
Can't load 'C:/Perl/site/lib/auto/NKF/NKF.dll' for module NKF: l
oad_file:The specified procedure could not be found at C:/Perl/l
ib/DynaLoader.pm line 230.
 at C:\namazu\pltests\pltests.pl line 34
Compilation failed in require at C:\namazu\pltests\pltests.pl li
ne 34.
BEGIN failed--compilation aborted at C:\namazu\pltests\pltests.p
l line 34.

C:\namazu\pltests>alltests.pl
Can't load 'C:/Perl/site/lib/auto/NKF/NKF.dll' for module NKF: l
oad_file:The specified procedure could not be found at C:/Perl/l
ib/DynaLoader.pm line 230.
 at pltests.pl line 34
Compilation failed in require at pltests.pl line 34.
BEGIN failed--compilation aborted at pltests.pl line 34.
Compilation failed in require at C:\namazu\pltests\alltests.pl l
ine 28.

C:\namazu\pltests>

So looking around DynaLoader.pm:230 I see:

   222
   223      # Many dynamic extension loading problems will appea
r to come from
   224      # this section of code: XYZ failed at line 123 of Dy
naLoader.pm.
   225      # Often these errors are actually occurring in the i
nitialisation
   226      # C code of the extension XS file. Perl reports the
error as being
   227      # in this perl code simply because this was the last
 perl code
   228      # it executed.
   229
   230      my $libref = dl_load_file($file, $module->dl_load_fl
ags) or
   231          croak("Can't load '$file' for module $module: ".
dl_error());
   232
   233      push(@dl_librefs,$libref);  # record loaded object
   234

Which specified procedure can't it find, dl_load_flags in $module?

        Thank you,
        Hugh


More information about the Namazu-users-en mailing list