From: Ian C. <ian...@co...> - 2003-08-30 09:36:02
|
1.3.2 *requires* opensp 1.5. 1.3.1 is the last version than used 1.3.4 Sorry about the confusion! On Fri, 2003-08-22 at 10:47, vl...@vo... wrote: > Hello, > > I'm trying to compile openjade-1.3.2, but till now unsuccessfully :) > > I run: > $ ./configure --prefix=/usr --enable-spincludedir=/home/neuron/sp-1.3.4/include > $ make > > First problem is: > > -- CUT -- > g++ -O3 -march=pentiumpro -I. -I./../include -I/home/neuron/sp-1.3.4/include -I/home/neuron/sp-1.3.4/include/.. -I./../grove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/builtins.dsl\" -c GroveApp.cxx -fPIC -DPIC > In file included from GroveApp.cxx:9: > GroveApp.h: In function `class OutputCharStream & operator <<(OutputCharStream &, GroveString &)': > GroveApp.h:52: no matching function for call to `OutputCharStream::write (const GroveChar *, size_t)' > /home/neuron/sp-1.3.4/include/OutputCharStream.h:25: candidates are: class OutputCharStream & OutputCharStream::write(const Char *, unsigned int) > make[2]: *** [GroveApp.lo] Error 1 > make[2]: Leaving directory `/home/neuron/openjade-1.3.2/spgrove' > make[1]: *** [spgrove] Error 2 > make[1]: Leaving directory `/home/neuron/openjade-1.3.2' > make: *** [all] Error 2 > -- CUT -- > > That can be easilly fixed by following patch: > > -- CUT -- > diff -ur openjade-1.3.2.orig/spgrove/GroveApp.h openjade-1.3.2/spgrove/GroveApp.h > --- openjade-1.3.2.orig/spgrove/GroveApp.h Sun May 2 14:57:37 1999 > +++ openjade-1.3.2/spgrove/GroveApp.h Fri Aug 22 11:23:50 2003 > @@ -49,7 +49,7 @@ > #endif > GroveString &str) > { > - return os.write(str.data(), str.size()); > + return os.write((const Char *)str.data(), str.size()); > } > > #ifdef SP_NAMESPACE > -- CUT -- > > Unfortunatelly after running make again I get this error: > > -- CUT -- > make[1]: Entering directory `/home/neuron/openjade-1.3.2' > make[2]: Entering directory `/home/neuron/openjade-1.3.2/grove' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/neuron/openjade-1.3.2/grove' > make[2]: Entering directory `/home/neuron/openjade-1.3.2/spgrove' > rm -f .libs/GroveApp.lo > g++ -O3 -march=pentiumpro -I. -I./../include -I/home/neuron/sp-1.3.4/include -I/home/neuron/sp-1.3.4/include/.. -I./../grove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/builtins.dsl\" -c GroveApp.cxx -fPIC -DPIC > mv -f GroveApp.o .libs/GroveApp.lo > g++ -O3 -march=pentiumpro -I. -I./../include -I/home/neuron/sp-1.3.4/include -I/home/neuron/sp-1.3.4/include/.. -I./../grove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/builtins.dsl\" -c GroveApp.cxx >/dev/null 2>&1 > mv -f .libs/GroveApp.lo GroveApp.lo > rm -f grove_inst.cxx > /usr/bin/perl ./../instmac.pl grove_inst.m4 >grove_inst.cxx > chmod -w grove_inst.cxx > rm -f .libs/GroveBuilder.lo > g++ -O3 -march=pentiumpro -I. -I./../include -I/home/neuron/sp-1.3.4/include -I/home/neuron/sp-1.3.4/include/.. -I./../grove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/builtins.dsl\" -c GroveBuilder.cxx -fPIC -DPIC > GroveBuilder.cxx:180: parse error before `*' > GroveBuilder.cxx: In method `void GroveImpl::addRef() const': > GroveBuilder.cxx:168: `class GroveImpl' has no member named `refCount_' > GroveBuilder.cxx: In method `void GroveImpl::release() const': > GroveBuilder.cxx:170: `class GroveImpl' has no member named `refCount_' > GroveBuilder.cxx: In method `unsigned int GroveImpl::groveIndex() const': > GroveBuilder.cxx:173: `groveIndex_' undeclared (first use this function) > GroveBuilder.cxx:173: (Each undeclared identifier is reported only once > GroveBuilder.cxx:173: for each function it appears in.) > GroveBuilder.cxx: In method `const struct SgmlDocumentChunk * GroveImpl::root() const': > GroveBuilder.cxx:174: `root_' undeclared (first use this function) > GroveBuilder.cxx: In method `const class AttributeValue * GroveImpl::impliedAttributeValue() const': > GroveBuilder.cxx:176: `impliedAttributeValue_' undeclared (first use this function) > GroveBuilder.cxx: At top level: > GroveBuilder.cxx:183: syntax error before `*' > [...] > -- CUT -- > > Which I am not able to resolve. > > `gcc --version` > 2.95.2 > > I included temporarily full output of the commands on: > www.neuronix.cz/openjade/configure.log > www.neuronix.cz/openjade/config.log > www.neuronix.cz/openjade/make1.log > www.neuronix.cz/openjade/make2.log > > Would there be any hint on how to compile openjade for me ? :) > > Thank you > Vladimir Marek > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > OpenJade-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjade-devel |