[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: "Bruce Snyder" <bsnyder@p...>
  • To: xml4c@u...
  • Date: Mon, 15 May 2000 13:57:04 -0600

perl cast
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@p...

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.