[xsd-users] Problem compiling the xsd-3.2.0+dep package

Steve ongs_1999 at yahoo.com
Sun Jul 12 20:12:23 EDT 2009


Hi Boris,

I'm trying to compile the "xsd-3.2.0+dep" package on cygwin. Although I compiled the "STLport-5.0.1-mingw" and copied the library into $DIR/xsd-3.2.0+dep/install, I still have problem compiling (see below ...)

$ ./build.sh
make: Entering directory `/projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult'
c++ /projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/rtti/type-info.cxx
In file included from /projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/types.hxx:1
0,
                 from /projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/containers/
vector.hxx:9,
                 from /projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/rtti/type-i
nfo.hxx:13,
                 from /projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/rtti/type-i
nfo.cxx:6:
/projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/types/string.hxx: In member funct
ion `Cult::Types::StringTemplate<NarrowerChar, typename Cult::Types::Bits::Narro
werChar<NarrowerChar>::Type> Cult::Types::StringTemplate<C, NarrowerChar>::to_na
rrow() const [with C = Cult::Types::Fundamental::WideChar, NarrowerChar = Cult::
Types::Fundamental::Char]':
/projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/types/string.hxx:373: error: `wcs
tombs' is not a member of `std'
/projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/types/string.hxx:385: error: `wcs
tombs' is not a member of `std'
make: *** [/projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult/rtti/type-info.o] Erro
r 1
make: Leaving directory `/projects/xml/xsd-3.2.0+dep/libcult-1.4.4/cult'

Thanks in advance for your help.

Regards,
Steven


--- On Wed, 7/8/09, Boris Kolpackov <boris at codesynthesis.com> wrote:

From: Boris Kolpackov <boris at codesynthesis.com>
Subject: Re: [xsd-users] Problem compiling the xsd-3.2.0+dep package
To: "Steve" <ongs_1999 at yahoo.com>
Cc: xsd-users at codesynthesis.com
Date: Wednesday, July 8, 2009, 2:16 PM

Hi Steve,

Steve <ongs_1999 at yahoo.com> writes:

> Sorry for reply directly to you, but I don't know how to reply to 
> the email chain in the mailing list.

Simply press "reply all" in your email client. If you don't have
this option, send all emails just to xsd-users at codesynthesis.com
and I will get them via the mailing list. Support with private
communications is only available on the commercial basis.
 

> I am now trying to compile the xsd-3.2.0+dep on the Linux machine (I
> would have to come back to the cygwin later)...
> 
> I've added the "boost_1_39_0" and "xerces-c-3.0.1" (i.e., unzip/untar)
> under "xsd-3.2.0+dep" and compiled them...
> 
> My question at this point is:
> - How can change the 'build.sh' so that it knows about these directories
> in order for it to compile the others?

You don't need to change build.sh. As described in the accompanying
README file, you can put the corresponding headers and libraries in
xsd-3.2.0+dep/install/include and xsd-3.2.0+dep/install/lib, 
respectively. You can either install the packages that you compiled
into xsd-3.2.0+dep/install or you can manually add symlinks to the
corresponding files and directories.

Boris



      


More information about the xsd-users mailing list