lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] lynx2.8.8dev3 doesn't build on SunOS, dev2 does


From: Thomas Dickey
Subject: Re: [Lynx-dev] lynx2.8.8dev3 doesn't build on SunOS, dev2 does
Date: Thu, 10 Jun 2010 08:17:41 -0400 (EDT)

On Wed, 9 Jun 2010, Peter Jones wrote:

I am trying to build lynx2.8.8dev.3 on a (uname -a outpout follows)
"SunOS nobel 5.10 Generic_142900-04 sun4v sparc SUNW,SPARC-Enterprise-T5220"

I am getting the following error output:

====== Start of error output (edited) =====
PATH=/usr/ccs/bin:$PATH
+ PATH=/usr/ccs/bin:/bin:/usr/bin:/usr/ucb:/etc:.:/usr/local/bin

LIBS="-L/usr/local/ssl -L/usr/lib" \
LDFLAGS="-R /usr/local/ssl/lib" \
.../$LYNXVERD/configure \
--prefix=$LYNXDIR \
--with-ssl=/usr/local/ssl \
--with-cfg-file=/usr/local/lib/lynx.cfg \
--with-lss-file=/dev/null \

+ ../lynx2-8-8/configure --prefix=/tmp/jones/lynxdev --with-ssl=/usr/local/ssl 
--with-cfg-file=/usr/local/lib/lynx.cfg --with-lss-file=/dev/null
+ LIBS=-L/usr/local/ssl -L/usr/lib LDFLAGS=-R /usr/local/ssl/lib
configure: WARNING: Cannot find idn library
mkdir WWW
mkdir WWW/Library
mkdir WWW/Library/Implementation
mkdir src
mkdir src/chrtrans
make
+ make
In file included from 
../../../../lynx2-8-8/WWW/Library/Implementation/HTParse.c:8:
.../../../../lynx2-8-8/WWW/Library/Implementation/HTUtils.h:544:19: operator 
'==' has no left operand
.../../../../lynx2-8-8/WWW/Library/Implementation/HTUtils.h:550:21: operator 
'==' has no left operand
.../../../../lynx2-8-8/WWW/Library/Implementation/HTUtils.h:567:19: operator 
'>' has no left operand
.../../../../lynx2-8-8/WWW/Library/Implementation/HTUtils.h:582:20: operator 
'==' has no left operand
.../../../../lynx2-8-8/WWW/Library/Implementation/HTUtils.h:588:22: operator 
'==' has no left operand
.../../../../lynx2-8-8/WWW/Library/Implementation/HTUtils.h:605:20: operator 
'>' has no left operand
make: Fatal error: Command failed for target `HTParse.o'
Current working directory /tmp/jones/lv3/work/WWW/Library/Implementation
make: Fatal error: Command failed for target `all'
====== End  of error output (edited) =====

The related code is

#if defined(HAVE_INTTYPES_H) && defined(SIZEOF_OFF_T)
#if (SIZEOF_OFF_T == 8) && defined(PRId64)

#define PRI_off_t       PRId64
#define SCN_off_t       SCNd64
#define CAST_off_t(n)   (int64_t)(n)

#elif (SIZEOF_OFF_T == 4) && defined(PRId32)

etc.

LYNXVERD is the directory where I downloaded and expanded the source, i.e.
LYNXVERD=lynx2-8-8

LYNXDIR is a arbitrary prefix.

The build works in dev.2 .

I hope the problem will be fixed in dev.4 . I am willing to provide more
information if necessary.

I may need more information - that's based on a check that I haven't done
much with, recently.  So it would be broken by some indirect change, such
as the checking for search-path of headers and libraries.  There's a fix
for a check in _that_ here:

ftp://invisible-island.net/temp/lynx2.8.8dev.3d.patch.gz

(along with some in-progress improvements to form-printing...)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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