OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Need help with Xerces-perl on Win NT4.0!

[ Lists Home | Date Index | Thread Index ]
  • From: "Bruce Snyder" <bsnyder@pengroup.com>
  • To: xml4c@us.ibm.com
  • Date: Mon, 15 May 2000 13:57:04 -0600

I have repeatedly attempted to install Xerces-perl 1.0 under Win NT 4.0
SP 5 with ActivePerl 5.6 build 613 using Visual C++ 6.0 and I have yet
to receive a successful install. I am really under a lot of pressure to
get this installed. Any help would be *greatly* appreciated

I successfully set up Xerces-c 1.1.0, SWIG 1.1, ICU 1.4.1.2. I then
edited the makefile.pl to properly reflect the locations of these items
on my computer. Then I begin the setup of Xerces-perl using the
following steps on the command line (output is included): 

-----------------------------------------------------------------
1. vcvars32 
Setting environment for using Microsoft Visual C++ tools.
2. swig -perl5 -c++ xerces.i
Generating wrappers for Perl 5

3. perl makefile.pl
Writing Makefile for Xerces

4. nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

mkdir blib
mkdir blib\lib
mkdir blib\arch
mkdir blib\arch\auto
mkdir blib\arch\auto\Xerces
mkdir blib\lib\auto
mkdir blib\lib\auto\Xerces
cp DOM.pm blib\lib/Xerces/DOM.pm
cp DOMPARSE.pm blib\lib/Xerces/DOMPARSE.pm
cp Xerces.pm blib\lib/Xerces/Xerces.pm
        cl -c -Id:/xerces-c_1_1_0/include/
-Id:/icu-1.1.1.2/bin/Release/icu/ -O1 -MD -DNDEBUG -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DPERL_MSVCRT
_READFIX -O1 -MD -DNDEBUG      -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\"
-TP -GX -ID:\Perl\lib\CORE
-DHAS_BOOL Xerces_wrap.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Xerces_wrap.c
Xerces_wrap.c(292) : error C2065: 'sv_undef' : undeclared identifier
Xerces_wrap.c(292) : error C2446: '==' : no conversion from 'int *' to
'struct sv *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or functi
on-style cast
Xerces_wrap.c(292) : error C2230: '==' : indirection to different types
Xerces_wrap.c(411) : error C2440: '=' : cannot convert from 'int
(__cdecl *)(struct sv *,struct magi
c *)' to 'int (__cdecl *)(struct interpreter *,struct sv *,struct magic
*)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
Xerces_wrap.c(412) : error C2440: '=' : cannot convert from 'int
(__cdecl *)(struct sv *,struct magi
c *)' to 'int (__cdecl *)(struct interpreter *,struct sv *,struct magic
*)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
Xerces_wrap.c(8280) : error C2065: 'na' : undeclared identifier
Xerces_wrap.c(8920) : error C2039: 'strcmp' : is not a member of
'DOMString'
        d:/xerces-c_1_1_0/include/dom/DOMString.hpp(125) : see
declaration of 'DOMString'
Xerces_wrap.c(9640) : error C2733: second C linkage of overloaded
function 'boot_Xerces' not allowed

        Xerces_wrap.c(9640) : see declaration of 'boot_Xerces'
Xerces_wrap.c(10220) : error C2065: 'sv_yes' : undeclared identifier
Xerces_wrap.c(10220) : error C2440: '=' : cannot convert from 'int *' to
'struct sv *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or functi
on-style cast
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
-----------------------------------------------------------------

I have dug around the web looking for any solutions to these errors and
I cannot find anything. I am desparate to get these modules installed as
I am under a deadline.

Thank your for your help. 
-- 
Bruce Snyder
Technical Integration Architect
PENgroup.com
9510 Meridian Boulevard
Englewood, CO 80112
desk: 720.873.5485
cell: 720.635.5471
bsnyder@pengroup.com

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS