From: Syd B. <Syd...@br...> - 2003-06-09 17:00:34
|
First, is there a openjade-user list? I doubt whether I qualify as a developer. While I did port SGMLS to VM/370, that was over a decade ago, and I've never touched SP nor OpenSP, not suprising as I do not even speak C++. Just so you can aim responses at the correct exper- tise level, I should admit up front that I haven't written any C code since that SGMLS port, and have never written a Makefile or such. So, on to the problem. I'd like the most recent version of OpenSP, in particular a version of osx that supports -xpreserve-case. Running on a freshly updated Debian 3.0 "stable" (I think) system running gcc 2.95.4 (on which OpenSP 1.5 built just fine), I was unable to build OpenSP yanked from CVS earlier today. * aclocal seemed to work fine * autoheader produced lots of warnings, but nothing that looked fatal. [1] * automake --add-missing complained of two missing files. [2] * autoconf did not like LIBOBJS, whatever that is. [3] * ./configure (with --prefix=, --enable-http, and --enable-default-catalog= specified) seemed to work fine. * make compiled quite a few files, but then had an error. [4] It looked like the error was in the HTTP support. While I would very much like HTTP support, I've lived without it for many years, and I really need -xpreserve-case, so ... * ./configure with the same paths, but without --enable-http seemed to work fine. * make got much further this time (looks to this amateur like it may have finished compiling everything), but still ended with an error. [5] Now, that said, it seems that the osx wrapper that was generated (./sx/osx) actually does do the right thing (call a version of sx that supports -xcase-preserve). Nonetheless, it really ought to build properly, I should think; and I really would like HTTP support. I have not yet tried "make install", as I'm not sure that it will do the right thing given that "make" didn't end nicely. output excerpts ====== ======== [1] --------- (502) emt ~/OpenSP @ 11:10:06 ->autoheader WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader2.50: `config.h.in' is created [2] --------- (503) emt ~/OpenSP @ 11:10:28 ->automake --add-missing automake: configure.in: installing `./install-sh' automake: configure.in: installing `./mkinstalldirs' automake: configure.in: installing `./missing' configure.in: 423: required file `./ltmain.sh' not found automake: Makefile.am: installing `./INSTALL' automake: Makefile.am: required file `./ChangeLog' not found [3] --------- (504) emt ~/OpenSP @ 11:10:41 ->autoconf configure.in:266: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' [4] --------- Last 8 lines of output: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -g -O2 -Wp,-MD,.deps/URLStorage.pp -c URLStorage.cxx -fPIC -DPIC -o .libs/URLStorage.lo URLStorage.cxx: In method `enum OpenSP::HTTP_RESPONSE_TYPE OpenSP::HttpSocketStorageObject::open(const OpenSP::String<char> &, short unsigned int, const OpenSP::String<char> &, OpenSP::Messenger &, char *)': URLStorage.cxx:572: parse error before `;' make[2]: *** [URLStorage.lo] Error 1 make[2]: Leaving directory `/home/syd/OpenSP/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/syd/OpenSP' make: *** [all-recursive-am] Error 2 [5] --------- Last 17 lines of output: cat-id-tbl.c changed cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id file=./`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file de.po de.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. file=./`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ja.po file=./`echo sv | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file sv.po make[2]: Leaving directory `/home/syd/OpenSP/po' make[2]: Entering directory `/home/syd/OpenSP' make[2]: *** No rule to make target `ChangeLog', needed by `all-am'. Stop. make[2]: Leaving directory `/home/syd/OpenSP' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/syd/OpenSP' make: *** [all-recursive-am] Error 2 |