This is output information about running this perl program. The
Makefile.PL's INC Config is wrong
------------------------------------------------------
/usr/local/bin/perl /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.4/ExtUtils/typemap -typemap
/home/wumh/_Inline/build/ntst_pl_48ac/CPP.map ntst_pl_48ac.xs >
ntst_pl_48ac.xsc && mv ntst_pl_48ac.xsc ntst_pl_48ac.c
g++ -c -I/home/wumh -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.00\" -fpic "-I/usr/local/lib/perl5/5.8.4/i686-linux/CORE"
ntst_pl_48ac.c
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from ntst_pl_48ac.xs:2:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
ntst_pl_48ac.xs:18:19: dbAPI.H: No such file or directory
ntst_pl_48ac.xs:19: error: namespace `cmdl' undeclared
ntst_pl_48ac.xs:27: error: syntax error before `*' token
ntst_pl_48ac.xs:28: error: syntax error before `*' token
ntst_pl_48ac.xs:29: error: syntax error before `*' token
ntst_pl_48ac.xs: In constructor `dbTool::dbTool()':
ntst_pl_48ac.xs:36: error: `db' undeclared (first use this function)
ntst_pl_48ac.xs:36: error: (Each undeclared identifier is reported only
once
for each function it appears in.)
ntst_pl_48ac.xs:37: error: `dbg' undeclared (first use this function)
ntst_pl_48ac.xs:38: error: `eLog' undeclared (first use this function)
ntst_pl_48ac.xs:40: error: parse error before `(' token
ntst_pl_48ac.xs:41: error: parse error before `(' token
ntst_pl_48ac.xs:42: error: parse error before `(' token
make: *** [ntst_pl_48ac.o] Error 1
A problem was encountered while attempting to compile and install your
Inline
CPP code. The command that failed was:
make > out.make 2>&1
The build directory was:
/home/wumh/_Inline/build/ntst_pl_48ac
To debug the problem, cd to the build directory, and inspect the output
files.
at ./ntst.pl line 0
INIT failed--call queue aborted.
--------------------------------------------------------------
邬明辉 ( Minghui Wu )
From: "Sisyphus" <[EMAIL PROTECTED]>
To: 邬 明辉 <[EMAIL PROTECTED]>, <inline@perl.org>
Subject: Re: Inline::CPP build wrong about 'MODULE'
Date: Tue, 22 Aug 2006 17:06:33 +1000
----- Original Message -----
From: "邬 明辉" <[EMAIL PROTECTED]>
To: <inline@perl.org>
Sent: Monday, August 21, 2006 7:14 PM
Subject: Re: Inline::CPP build wrong about 'MODULE'
>
> Something is wrong, but I can not find the problem.
>
>
> ----------------------------------------------------------
> use Inline CPP;
> use Inline CPP => Config =>
> INC => '-I /opt/ems/scada/src/dbUtil/include',
Try:
INC => '-I/opt/ems/scada/src/dbUtil/include',
ie, remove the space between the "-I" and the "/".
If that doesn't help, could you post the full output you get when run the
script.
Cheers,
Rob
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/