From: Sam S. <sd...@gn...> - 2004-08-10 17:23:32
|
> * Michael Livshin <py...@pz...g> [2004-08-10 17:52:08 +0300]: > Sam Steingold <sd...@gn...> writes: >>> * Michael Livshin <py...@pz...g> [2004-08-10 15:16:02 +0300]: >>> >>> Clisp tries (and fails, for instance on Solaris 2.5.1) to include >>> some strange non-standard include files, apparently to support >>> Unicode, even when configured "--without-unicode". >> >> please make config.log available to us (preferably as URL). > > <URL:http://cmm.kakpryg.net/tmp/clisp/solaris-2.5.1/> contains two > logs: config.log and the screen log of the whole configure/make thing > till it fails. In file included from unitypes.h:23, from uniwidth.h:22, from charstrg.d:378: stdint.h:37:28: sys/int_types.h: No such file or directory In file included from uniwidth.h:22, from charstrg.d:378: unitypes.h:26: parse error before "ucs4_t" In file included from charstrg.d:378: uniwidth.h:43: parse error before "uc" uniwidth.h:48: parse error before '*' token uniwidth.h:50: parse error before '*' token uniwidth.h:52: parse error before '*' token uniwidth.h:56: parse error before '*' token uniwidth.h:58: parse error before '*' token uniwidth.h:60: parse error before '*' token 1. CLISP-supplied stdint.h includes <sys/int_types.h> on __sun. could you please check whether you have instead <sys/inttypes.h> <inttypes.h> 2. it appears that UNICODE is defined despite --without-unicode. indeed, this is a bug in CLISP. please try the appended patch and place screen-1.log and config-1.log in the above place. Thanks. >>> 0. an expressed willingness to support such vanilla Clisp >>> configuration (assuming the work is of sufficient quality and >>> maintainable enough to be eventually included in the main Clisp >>> distribution). >> you got it. > cool. > >>> 1. guidance, as I don't quite know where to begin. >> you will get it as soon as you start sending detailed bug reports. > OK, any other excuses? :) let me make something clear: this is a two-way street. just like you will get help from us, we expect help from you. specifically, even when your "vanilla" CLISP is build, you will be asked to try to build other CLISP configurations on your system, including UNICODE systems, _specifically_ so that others will be able to build CLISP OOTB. -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Yeah, yeah, I love cats too... wanna trade recipes? --- makemake.in 09 Aug 2004 09:27:51 -0400 1.464 +++ makemake.in 10 Aug 2004 13:07:52 -0400 @@ -189,9 +189,14 @@ -without-* | --without-* | -with-no* | --with-no*) ## we are different from autoconf-generated configure scripts: ## if you pass --without-foo or --with-foo=no to a configure script, - ## $with_foo is set to "no", but if you pass it to makemake, + ## ${with_foo} is set to "no", but if you pass it to makemake, ## it is set to an empty string. to fix this, one has to change ## this file and clisp-link.in -- sds 2003-11-04 + ## how do we check options? + ## -n "${with_foo}" === yes (but defaults to no) + ## -n "${with_foo-yes}" === yes (and defaults to yes) + ## -z "${with_foo}" === no (and defaults to no) + ## -z "${with_foo-yes}" === no (but defaults to yes) package=`echol "$1"|sed 's/-*with\(out-\|-no-*\)//'` # Delete all the valid chars; see if any are left. if test -n "`echol $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then @@ -982,7 +987,7 @@ fi -if test -n "$with_dynamic_modules"; then +if [ -n "${with_dynamic_modules-yes}" ]; then # Support for dynamic loading. Taken from libtool's ltconfig.in. if [ $XCC_GCC = true ] ; then XCC_LINKER_FLAG_PREFIX='-Wl,' @@ -1171,14 +1176,14 @@ FILES='' -if [ "${with_unicode}" != "0" ]; then +if [ -n "${with_unicode-yes}" ]; then XCFLAGS="$XCFLAGS -DUNICODE" fi -if [ -n "${with_threads}" -a "${with_threads}" != "0" ]; then +if [ -n "${with_threads}" ]; then XCFLAGS="$XCFLAGS -DMULTITHREAD -D${with_threads}" fi -if [ "${with_termcap_ncurses}" = "0" -o "${LIBTERMCAP}" = "broken" ] ; then +if [ -z "${with_termcap_ncurses-yes}" -o "${LIBTERMCAP}" = "broken" ] ; then XCFLAGS=$XCFLAGS' -DNO_TERMCAP_NCURSES' LIBTERMCAP="" fi @@ -1190,7 +1195,7 @@ LIB_TYPE="unix"; # libfoo.a fi -if test -n "$with_dynamic_ffi"; then +if [ -n "${with_dynamic_ffi-yes}" ]; then XCFLAGS="$XCFLAGS -DDYNAMIC_FFI" if [ ${LIB_TYPE} = "win32" ] ; then XCL_FFILIBS='avcall.lib callback.lib' @@ -1203,7 +1208,7 @@ XCL_FFILIBS='' fi -if test -n "$with_dynamic_modules"; then +if [ -n "${with_dynamic_modules-yes}" ]; then XCFLAGS="$XCFLAGS -DDYNAMIC_MODULES" fi @@ -1222,11 +1227,12 @@ fi if [ $TOS = unix ] ; then - if [ "${with_readline}" = "0" ]; then + if [ -z "${with_readline-yes}" ]; then + # --without-readline was supplied XCFLAGS=$XCFLAGS' -DNO_READLINE' else FILES='libnoreadline.a '$FILES - if [ "${with_readline}" != "" ]; then + if [ -n "${with_readline}" ]; then # --with-readline was supplied ==> barf when readline is missing if grep "#undef HAVE_READLINE" unixconf.h 2>&1 >/dev/null; then echol "makemake: configure failed to detect readline" >&2 @@ -1239,7 +1245,7 @@ USE_GETTEXT='' XCL_GETTEXTLIB='' if [ $TOS = unix ] ; then - if [ "${with_gettext}" = "0" ]; then + if [ -z "${with_gettext-yes}" ]; then XCFLAGS=$XCFLAGS' -DNO_GETTEXT' else if [ @USE_NLS@ = yes ] ; then @@ -1270,7 +1276,7 @@ CPARTS=$CPARTS' io' CPARTS=$CPARTS' array hashtabl list package record weak sequence' CPARTS=$CPARTS' charstrg debug error misc time predtype symbol lisparit i18n' -if [ $TSYS = master -o -n "$with_dynamic_ffi" ] ; then +if [ $TSYS = master -o -n "${with_dynamic_ffi-yes}" ] ; then CPARTS=$CPARTS' foreign' fi if [ $TSYS = master -o $TOS = unix ] ; then @@ -1279,7 +1285,7 @@ if [ $TSYS = master -o $TOS = win32 ] ; then CPARTS=$CPARTS' win32aux' fi -if [ -n "${with_threads}" -a "${with_threads}" != "0" ]; then +if [ -n "${with_threads}" ]; then CPARTS=$CPARTS' zthread' fi CPARTS=$CPARTS' built' @@ -1311,13 +1317,13 @@ UNICODE_INCLUDES='' UNICODE_EXTRA='' -if [ "${with_unicode}" != "0" ] ; then +if [ -n "${with_unicode-yes}" ] ; then UNICODE_INCLUDES=$UNICODE_INCLUDES' uni_upcase uni_downcase uni_attribute uniname' UNICODE_EXTRA=${UNICODE_EXTRA}' streq.h cjk.h uniwidth.h width.c unitypes.h uniname.h uninames.h' fi NLS_INCLUDES='' -if [ "${with_unicode}" != "0" ] ; then +if [ -n "${with_unicode-yes}" ] ; then NLS_INCLUDES=$NLS_INCLUDES' nls_ascii' NLS_INCLUDES=$NLS_INCLUDES' nls_iso8859_1 nls_iso8859_2 nls_iso8859_3' NLS_INCLUDES=$NLS_INCLUDES' nls_iso8859_4 nls_iso8859_5 nls_iso8859_6' @@ -1443,14 +1449,14 @@ LPARTS=$LPARTS' fill-out disassem condition loadform gstream xcharin keyboard' LPARTS=$LPARTS' screen beossock runprog query reploop dribble complete' LPARTS=$LPARTS' pprint describe room edit macros3 clhs inspect gray' -if [ -n "${with_threads}" -a "${with_threads}" != "0" ]; then +if [ -n "${with_threads-yes}" ]; then LPARTS=$LPARTS' threads' fi -if [ $TSYS = master -o -n "$with_dynamic_ffi" ] ; then +if [ $TSYS = master -o -n "${with_dynamic_ffi-yes}" ] ; then LPARTS=$LPARTS' foreign1' fi LPARTS=$LPARTS' german' -if [ "$with_unicode" != "0" ] ; then +if [ -n "${with_unicode-yes}" ] ; then LPARTS=$LPARTS' french spanish russian' fi LPARTS=$LPARTS' dutch deprecated config' @@ -1599,7 +1605,7 @@ echol "# rawsock raw socket access" echol "# regexp POSIX regular expressions" echol "# pcre Perl-compatible regular expressions" -if test -n "$with_dynamic_ffi"; then +if [ -n "${with_dynamic_ffi-yes}" ]; then echol "# wildcard wildcard matching" echol "# postgresql interface to PostgreSQL ODBMS" echol "# fastcgi FastCGI (http://www.fastcgi.com/) interface" @@ -1651,7 +1657,7 @@ fi echol "X_LIBS = ${X_LIBS}" X_LIBS="\$(X_LIBS)" -if test -n "$with_dynamic_modules"; then +if [ -n "${with_dynamic_modules-yes}" ]; then echol 'MODULE_CPPFLAGS = $(CPPFLAGS) ' echol 'MODULE_CFLAGS = $(CFLAGS) '"${XCC_PICFLAG}" echol 'MODULE_CLFLAGS = $(CLFLAGS) '"${XCC_DLOPENABLE_EXE_FLAG}" @@ -2207,7 +2213,7 @@ done fi -if [ -n "$with_dynamic_ffi" -a $HOS = unix ] ; then +if [ -n "${with_dynamic_ffi-yes}" -a $HOS = unix ] ; then echol "trampoline${NEXT}trampoline.h :" echotab "cd trampoline && \$(MAKE) && \$(MAKE) check" echol @@ -2259,7 +2265,7 @@ if [ $f = spvw -o $f = hashtabl ] ; then depends=$depends' aridecl' fi - if [ $f = charstrg -a "${with_unicode}" != "0" ] ; then + if [ $f = charstrg -a -n "${with_unicode-yes}" ] ; then depends=$depends${UNICODE_INCLUDES} dependsc=${dependsc}${UNICODE_EXTRA} fi @@ -2434,7 +2440,7 @@ echol fi -if [ -n "$with_dynamic_ffi" ] ; then +if [ -n "${with_dynamic_ffi-yes}" ] ; then for f in avcall callback; do if [ ${LIB_TYPE} = "unix" ] ; then echol "$f.h lib$f.a :" @@ -2608,7 +2614,7 @@ else localeflags='-B .' fi -if [ "${with_unicode}" != "0" ] ; then +if [ -n "${with_unicode-yes}" ] ; then encflags=' -Efile UTF-8 -Eterminal UTF-8' else encflags='' @@ -2907,7 +2913,7 @@ for f in clisp-link ; do echol "${f} : ${SRCDIR}${f}.in" XCC_CREATESHARED_=`echo "$XCC_CREATESHARED" | sed -e 's,\\$,$$,g'` - echotab "sed -e 's%@with_dynamic_modules@%$with_dynamic_modules%' -e 's%@createsharedlib@%$XCC_CREATESHARED_%' -e 's%@LEXE@%${LEXE}%' < ${SRCDIR}${f}.in > ${f}" + echotab "sed -e 's%@with_dynamic_modules@%${with_dynamic_modules}%' -e 's%@createsharedlib@%$XCC_CREATESHARED_%' -e 's%@LEXE@%${LEXE}%' < ${SRCDIR}${f}.in > ${f}" echotab "chmod a+x ${f}" echol done @@ -3510,7 +3516,7 @@ clean4 : clean3 -\$(RM) \$(CFILES) !! -if [ -n "$with_dynamic_ffi" ] ; then +if [ -n "${with_dynamic_ffi-yes}" ] ; then cat <<!! -\$(RM) avcall.h -\$(RM) callback.h vacall_r.h trampoline_r.h |