作者: 藤岡和夫
日時: 2005/2/15(23:44)
On Tue, 15 Feb 2005 23:02:23 +0900 (JST)
閑舎 <raku@...> さんwrote:

> ある人の返信が例によってエラーになっていたので参考までに拾っておきます。
> 
> 藤岡和夫 <kazuf@...> さん wrote.
> 
> > c1xx : fatal error C1083: Cannot open source file: 'C:\Program  
> > Files\Microsoft Visual C++ Toolkit 2003\include': Permission denied
> 単に、アクセス権を与えてないだけか、もしくは、半角スペースがあるために、正 
> しく認識されてないかのいずれかのような気が。

 どうもです。半角を含むパスをダブルクォートで括ってみました。Permission
deniedのエラーは消えましたし、Bruce.さんご指摘のcl.exeの引数に現れていた
パスも消えました。

C:\Scripts\Perl\Clone-0.15>nmake

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        cl.exe -c  -Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAV
E_DES_FCRYPT -DPERL_OBJECT -O3     -DVERSION=\"0.15\"  -DXS_VERSION=\"0.15\"  -I
C:\Perl\lib\CORE  Clone.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

cl : Command line warning D4002 : ignoring unknown option '-O3'
Clone.c
Clone.xs(40) : error C2143: syntax error : missing ',' before '->'
Clone.xs(42) : error C2065: 'target' : undeclared identifier
Clone.xs(43) : error C2039: 'Perl_ref' : is not a member of 'sv'
        c:\Perl\lib\CORE\sv.h(35) : see declaration of 'sv'
Clone.xs(45) : error C2065: 'depth' : undeclared identifier
Clone.xs(45) : error C3861: 'depth': identifier not found, even with argument-de
pendent lookup
Clone.xs(51) : error C2039: 'Perl_hv_iterinit' : is not a member of 'sv'
        c:\Perl\lib\CORE\sv.h(35) : see declaration of 'sv'
Clone.xs(52) : error C2039: 'Perl_hv_iternext' : is not a member of 'sv'
        c:\Perl\lib\CORE\sv.h(35) : see declaration of 'sv'
Clone.xs(52) : fatal error C1903: unable to recover from previous error(s); stop
ping compilation
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

藤岡 和夫
kazuf@...
TS Networkのために http://homepage1.nifty.com/kazuf/