You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Peter Williams (SWUS)" <Pe...@smallworld-us.com> on 2000/11/01 17:10:23 UTC

RE: Solaris

> I wish I had the answer for you, but I do not. However, here are some
> suggestions that may help. We all agree that the problem 
> _appears_ to be
> related to Xerces. So you may want to try to create a small 
> executable that
> calls into Xerces and see if you can compile and link it. Can 
> you run the
> Xerces samples? Is it possible that you somehow generated a 
> static library?
> Another alternative would be to download the Xerces binary 
> distribution for
> Solaris and use it instead of the one you built.
> 
> Stephen Auriemma
> 

It was, in fact, a problem with the Xerces compile.  I have solved this problem and have now run to another problem.  While trying to compile the TestXPath executable I get the following errors

g++ -O   -fPIC -instances=static -DSOLARIS -D_REENTRANT -DXALAN_CANNOT_MUTATE_AN
ONYMOUS_OBJECT  -c -I . -I /support/users/peterw/sias/xerces-c-src1_3_0/src/src/
 -I /support/users/peterw/sias/xerces-c-src1_3_0/src/include/   -o /support/user
s/peterw/sias/xml-xalan/c/src/obj/TestXPath.o TestXPath/TestXPath.cpp
In file included from TestXPath/TestXPath.cpp:88:
PlatformSupport/DirectoryEnumerator.hpp: In method `bool FindFileStruct::isDirec
tory() const':
PlatformSupport/DirectoryEnumerator.hpp:156: `d_type' undeclared (first use this
 function)
PlatformSupport/DirectoryEnumerator.hpp:156: (Each undeclared identifier is repo
rted only once
PlatformSupport/DirectoryEnumerator.hpp:156: for each function it appears in.)
PlatformSupport/DirectoryEnumerator.hpp:156: `DT_DIR' undeclared (first use this
 function)
gmake: *** [/support/users/peterw/sias/xml-xalan/c/src/obj/TestXPath.o] Error 1 

This appears to come from the isDirectory() method.  This method appears to be Linux specific and the AIX version always returns false.  Will doing the same on Solaris cause problems?  TIA for your help.

--
Peter