[Top][All Lists]

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

Re: copious errors compiling on netbsd

From: John Darrington
Subject: Re: copious errors compiling on netbsd
Date: Wed, 23 Apr 2008 18:12:23 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Apr 22, 2008 at 11:25:16PM -0400, Jason Stover wrote:
     On Tue, Apr 22, 2008 at 10:56:54PM -0400, Jason Stover wrote:
     > NetBSD 3.1, alpha architecture, strange locations for
     > libs and includes, configured --without-gui. You can see the errors at

Can you post the config.log file ?

     Looking at the errors, I see a lot of this kind of thing:
     /sys/pkg/include/ncurses.h:320: error: conflicting types for `attr_t'
     /usr/include/curses.h:49: error: previous declaration of `attr_t'
     On this system, the more recent file with the declaration is 
     not /usr/include/curses.h.
     Is this something the configure script should handle, or is it
     an idiosyncrasy the user should be taking care of?

It certainly looks like you have two different (incompatible) versions
of ncurses.  Since one of them is in the default path, I don't see any
way to prevent this from getting included first.

You could force configure to find the older one, by running configure
with "NCURSES_CFLAGS=-I/usr/include ./configure ..."

For all the benefit we get from libncurses (not very  much), and the
link/compile problems it uses I wonderif we oughtn't to have a
--without-libncurses flag.


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

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