bug-ncurses
[Top][All Lists]
Advanced

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

Re: fails to build under Solaris 10/Sparc


From: Peter Kruse
Subject: Re: fails to build under Solaris 10/Sparc
Date: Fri, 21 Oct 2011 08:29:17 +0200

Hello,

On Thu, Oct 20, 2011 at 10:18 PM, Thomas Dickey <address@hidden> wrote:
> hmm - I did a Solaris build on the 1st, but perhaps did not notice that in
> (same date) since I had installed Berkeley Database to check a different
> aspect.  will investigate/fix - thanks

oh, while you're at it, I get another error:

2011-10-21 08:23:10 <command-line>:0:0: warning: "_XOPEN_SOURCE"
redefined [enabled by default]
2011-10-21 08:23:10 <built-in>:0:0: note: this is the location of the
previous definition
2011-10-21 08:23:10 In file included from /usr/include/iso/stdlib_iso.h:30:0,
2011-10-21 08:23:10 from /usr/include/stdlib.h:18,
2011-10-21 08:23:10 from ../c++/internal.h:53,
2011-10-21 08:23:10 from ../c++/cursesf.cc:34:
2011-10-21 08:23:10
/apps/local/gcc/4.6.1/lib/gcc/sparc-sun-solaris2.10/4.6.1/include-fixed/sys/feature_tests.h:341:2:
error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
applications   and pre-2001 POSIX applications"
2011-10-21 08:23:11 make[1]: *** [../obj_s/cursesf.o] Error 1
2011-10-21 08:23:11 make: *** [all] Error 2

if I don't apply this patch to configure:

--- configure.orig      Fri Oct 21 08:26:50 2011
+++ configure   Fri Oct 21 08:27:30 2011
@@ -7251,7 +7251,7 @@
        # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
        ;;
 solaris2.1[0-9]) #(vi
-       cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
+       cf_xopen_source="-D__EXTENSIONS__"
        ;;
 solaris2.[1-9]) #(vi
        cf_xopen_source="-D__EXTENSIONS__"

maybe you could have a look at that, too?

Regards,

  Peter



reply via email to

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