lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev install lynx2-8-1-dev25-intl on ultrix4_3


From: Webmaster Jim
Subject: Re: lynx-dev install lynx2-8-1-dev25-intl on ultrix4_3
Date: Mon, 21 Sep 1998 16:38:45 -0400

On Mon, Sep 21, 1998 at 08:16:57PM +0200, Claude SOMA - CNTS wrote:
> Here some problems installing lynx2-8-1-dev25-intl
> on ULTRIX V4.3
> 
> 1) many optimization error
> error:
> uopt: Warning: HTLoadHTTP: this procedure not optimized because it
> exceeds size threshold; to optimize this procedure, use -Olimit option
> with value >= 1186.
> 
> why: because -Olimit value to low
> solution: make "CFLAGS=-DULTRIX -O -Olimit 4000 -G 7"
> 
> 2) compilation error
> error:
> ccom: Error: ../../../WWW/Library/Implementation/HTString.c, line 235: syntax 
> error
>                                defined by AC_C_CONST */ char *
> 
>       ---------------------------------^
> 
> why: error in lynx_cfg.h (bad after configure)
> solution: correct lynx_cfg.h before compiling
> 
> diff lynx_cfg.h lynx_cfg.h.nok
> < #define const                       /* defined by AC_C_CONST */
> ---
> > #define const                          defined by AC_C_CONST */
> 
> 3) CFLAGS lost whith this command
> cd intl && make CC="cc"
> so optimization error again in intl
> 
> 4) compilation error for bindtextdom.c
> error:
> cpp: error ./gettext.h:59: syntax error
> why: because UINT_MAX defined in limits.h to
> #define UINT_MAX        ((unsigned)4294967295)  /* max value of an "u_int" */
> and compiler don't accept
> #if UINT_MAX == UINT_MAX_32_BITS
> 
> solution: undef UINT_MAX for ultrix
> 
> diff gettext.h gettext.h.ori
> 55,62d54
> < /*
> <  Line "#if UINT_MAX == UINT_MAX_32_BITS" give a syntax error on ultrix
> <  4.3, because UINT_MAX is defined in limits.h as ((unsigned)4294967295)
> < */
> < #ifdef ULTRIX
> < #undef UINT_MAX
> < #endif
> < 
> 
> 
> 5) compilation error for bindtextdom.c
> error:
> ccom: Error: ./gettextP.h, line 40: syntax error
> static inline nls_uint32
> -----------------------^
> why: inline not accepted
> solution: define inline for this compiler
> 
> diff lynx_cfg.h lynx_cfg.h.nok
> < 
> < /*
> <  *ultrix 4.3 don't like inline
> <  */
> < #ifdef ULTRIX
> < #define inline
> 
> 6) make error in po directory
> error:
> Make: line 107: syntax error.  Stop.
> why: a \ on the last line
> solution: delete it
> 
> diff makefile makefile.ori
> 74c74
> <     ../WWW/Library/Implementation/HTWSRC.c 
> ---
> >     ../WWW/Library/Implementation/HTWSRC.c \
> 
> 7) no generation of po file because gettext not installed
> error:
> cd po && make CC="cc"
> file=./`echo de | sed 's,.*/,,'`.gmo    && rm -f $file && PATH=../src:$PATH 
> msgfmt -o $file de.po
> sh: msgfmt: not found
> *** Error code 1
> why: no gettext
> solution: install gettext or a shell named msgfmt to continue to
> build lynx whith
> echo NOT_DONE $0 $*
> in it
> 
> 8) compilation Warning in LYLocal.c
> ccom: Warning: ./LYLocal.c, line 2067: ambiguous assignment (=*); = * assumed
>                           *(bp>buf+bufsize-2 ?  &overrun : bp++) =*s;
>       ------------------------------------------------------^
> ccom: Warning: ./LYLocal.c, line 2076: ambiguous assignment (=*); = * assumed
>                   *(bp>buf+bufsize-2 ?  &overrun : bp++) =*s;
>       ----------------------------------------------^
> 
> 9) loader error loading lynx
> error:
> ld:
> Undefined:
> S_ISLNK
> why: because S_IFLNK defined but S_ISLNK no !!!
> solution: define S_ISLNK in LYUtils.h (is this the good one ?)
> 
> diff LYUtils.h LYUtils.h.ori
> 167,174d166
> < /*
> <  *ultrix 4.3 S_ISLNK is not defined (but S_IFLNK is)
> <  * is this the good place ?
> <  */
> < #ifdef ULTRIX
> < #define S_ISLNK(m)      (((m)&(S_IFMT)) == (S_IFLNK))
> < #endif
> < 
> 
> 11) cpp warning
> error:
> cpp: warning ../../../WWW/Library/Implementation/HTFile.c:55: HT_EM_SPACE 
> redefined
> why: because IT IS redefined and old (but good one) don't accept
> HTFile.c
> include this file
>       "../../../WWW/Library/Implementation/HTFile.h"
> include this file
>               "../../../src/HTML.h"
> include this file
>                       "../../../WWW/Library/Implementation/HTMLDTD.h"
> 
> and HTMLDTD.h define HT_EM_SPACE
> 
> solution: delete line 55
> 
> Not tested !!! New compiler give a warning only if the define differ.
> 
> Claude Soma

OK thanks for checking it out. I will add it to my growing list of
"interesting" facts about gettext() conversion. The "intl" version is
not integrated into the main Lynx tree, so much testing will be needed
after 2-8-2 is released to get internationalisation functional.

------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
Marvin the Paranoid Android says:
I'm looking forward to retiring in about ten billion years you know.
Not that that will be any more interesting than this.
God what a totally depressing thought.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]