lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] help sought to resolve lynx 2-8-6 failure to build on spa


From: Thomas Dickey
Subject: Re: [Lynx-dev] help sought to resolve lynx 2-8-6 failure to build on sparc solaris 8
Date: Wed, 2 Feb 2005 15:07:18 -0500 (EST)

On Wed, 2 Feb 2005, Larry W. Virden wrote:

I am attempting to configure and build lynx on a sparc solaris 8 machine
using Sun's C compiler, version Sun WorkShop 6 update 2 C 5.3.
I am using these flags for configuration.
...
When I try to build, I get this error.
cc -DHAVE_CONFIG_H  \
        -I/projects/intranet/include \
        -I/projects/intranet/include \
        -I/volws/lwv28/ldatae/include \
        -I/projects/gnu/sparc-sun-solaris2.8/include \
        -D__EXTENSIONS__ \
        -I../../..  \
        -I../../../src  \
        -I/home/lwv28/i/src/Unix/lynx/t/lynx2-8-6 \
        -I/home/lwv28/i/src/Unix/lynx/t/lynx2-8-6/src \
        -I/home/lwv28/i/src/Unix/lynx/t/lynx2-8-6/WWW/Library/Implementation \
        -g -Xc \
        -I/home/lwv28/i/src/Unix/lynx/t/lynx2-8-6/WWW/Library/Implementation/ \
        -DACCESS_AUTH \
        -c \
        
/home/lwv28/i/src/Unix/lynx/t/lynx2-8-6/WWW/Library/Implementation/HTParse.c

"/projects/gnu/sparc-sun-solaris2.8/include/curses.h", line 111: cannot find include 
file: <stdbool.h>
cc: acomp failed for 
/home/lwv28/i/src/Unix/lynx/t/lynx2-8-6/WWW/Library/Implementation/HTParse.c
*** Error code 2
make: Fatal error: Command failed for target `HTParse.o'
Current working directory 
/projects/intranet/src/Unix/lynx/t/lynx2-8-6/WWW/Library/Implementation
*** Error code 1
make: Fatal error: Command failed for target `all'

Can anyone help me figure out what to provide to the configuration so that lynx 
builds?

The configure script (which is biased toward gcc) decided that it found
stdbool.h (probably part of the gcc/g++ header files).  To appease the
resulting configuration, you'll have to add a -I option that points to
the directory where stdbool.h is located.  I'm guessing it's under

        /projects/gnu/sparc-sun-solaris2.8/lib/

but that's not necessarily good, since gcc's private header files (not stdbool.h, I expect) tend to have gcc-isms that may not be palatable to Sun's compiler. You might try adding a -I option to point there, just to see what happens. Otherwise, copying it someplace such as /volws/lwv28/ldatae/include might make it compile properly.

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




reply via email to

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