Sorry for the slow response.

The compiler errors suggest that LIBXML2_INCLUDE is not set??

You could try modifying build_sdocpp.sh adding an "env" to see what is
set when the script is invoked.

Cheers,

On 20/07/07, brandon <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, I cannot get cpp/sdo to compile on linux (see bottom).  I believe
it is because it does not recognize my $LIBXML2_INCLUDE variable:

[EMAIL PROTECTED]:~/tuscany/sdo$ ./build_sdocpp.sh
LIBXML2_INCLUDE not set

However:

[EMAIL PROTECTED]:~/tuscany/sdo$ echo $LIBXML2_INCLUDE
/usr/include/libxml2

Any ideas what is going on?  I'm using:

[EMAIL PROTECTED]:~/tuscany/sdo$ bash --version
GNU bash, version 3.2.13(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.

Thanks.

[EMAIL PROTECTED]:~/tuscany/sdo$ make
make  all-recursive
make[1]: Entering directory `/home/brandon/tuscany/sdo'
Making all in runtime
make[2]: Entering directory `/home/brandon/tuscany/sdo/runtime'
Making all in core
make[3]: Entering directory `/home/brandon/tuscany/sdo/runtime/core'
Making all in src
make[4]: Entering directory `/home/brandon/tuscany/sdo/runtime/core/src'
Making all in commonj
make[5]: Entering directory
`/home/brandon/tuscany/sdo/runtime/core/src/commonj'
Making all in sdo
make[6]: Entering directory
`/home/brandon/tuscany/sdo/runtime/core/src/commonj/sdo'
if /bin/bash ../../../../../libtool --tag=CXX --mode=compile g++
- -DHAVE_CONFIG_H -I. -I. -I../../../../..
- -I../../../../../runtime/core/src -I    -g -O2 -MT
ChangedDataObjectListImpl.lo -MD -MP -MF
".deps/ChangedDataObjectListImpl.Tpo" -c -o ChangedDataObjectListImpl.lo
ChangedDataObjectListImpl.cpp; \
       then mv -f ".deps/ChangedDataObjectListImpl.Tpo"
".deps/ChangedDataObjectListImpl.Plo"; else rm -f
".deps/ChangedDataObjectListImpl.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../..
- -I../../../../../runtime/core/src -I -g -O2 -MT
ChangedDataObjectListImpl.lo -MD -MP -MF
.deps/ChangedDataObjectListImpl.Tpo -c ChangedDataObjectListImpl.cpp
- -fPIC -DPIC -o .libs/ChangedDataObjectListImpl.o
In file included from
../../../../../runtime/core/src/commonj/sdo/ChangeSummaryImpl.h:32,
                from
../../../../../runtime/core/src/commonj/sdo/DataObjectImpl.h:43,
                from ChangedDataObjectListImpl.cpp:31:
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:28:30: error:
libxml/xmlstring.h: No such file or directory
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:47: error:
expected ',' or '...' before '*' token
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:47: error:
ISO C++ forbids declaration of 'xmlChar' with no type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:50: error:
expected ',' or '...' before '*' token
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:50: error:
ISO C++ forbids declaration of 'xmlChar' with no type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:50: error:
'commonj::sdo::SDOXMLString::SDOXMLString(int)' cannot be overloaded
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:47: error:
with 'commonj::sdo::SDOXMLString::SDOXMLString(int)'
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:59: error:
expected ',' or '...' before '*' token
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:59: error:
ISO C++ forbids declaration of 'xmlChar' with no type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:62: error:
expected ',' or '...' before '*' token
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:62: error:
ISO C++ forbids declaration of 'xmlChar' with no type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:70: error:
ISO C++ forbids declaration of 'type name' with no type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:70: error:
'operator const int' does not name a type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:86: error:
ISO C++ forbids declaration of 'xmlChar' with no type
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:86: error:
expected ';' before '*' token
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h: In member
function 'commonj::sdo::SDOXMLString::operator const char*() const':
../../../../../runtime/core/src/commonj/sdo/SDOXMLString.h:69: error:
'xmlForm' was not declared in this scope
make[6]: *** [ChangedDataObjectListImpl.lo] Error 1
make[6]: Leaving directory
`/home/brandon/tuscany/sdo/runtime/core/src/commonj/sdo'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/brandon/tuscany/sdo/runtime/core/src/commonj'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/brandon/tuscany/sdo/runtime/core/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/brandon/tuscany/sdo/runtime/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/brandon/tuscany/sdo/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brandon/tuscany/sdo'
make: *** [all] Error 2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGoEfuBNixocndrn0RArnYAKDDwlBxgNvO3GBlFaoKWv+nAECsqgCeJCms
hw/vS5NkpP6M9DCyzCZyweg=
=aswr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to