[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to build ncursees-6.0 with Intel Compiler 16 due to tic segme
From: |
Thomas Dickey |
Subject: |
Re: Failed to build ncursees-6.0 with Intel Compiler 16 due to tic segment faults |
Date: |
Sat, 11 Feb 2017 17:04:48 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 09, 2017 at 12:03:33AM +0800, Wei Jianwen wrote:
> Hi,
>
> I failed to build ncursees-6.0 with Intel Compiler 16 due to tic segment
> faults in the "install" phase.
>
> Environment
>
> OS: CentOS 7
> Compiler: Intel Compiler version 16.0.3
I hadn't paid attention to icc recently (since there's no compiler warnings
of interest...) and the current download gives 17.0.1
Given that, I found no problem with the compiler, configuring ncurses
as described. You may have some problem with the library paths -
here's what I use to setup a shell with its environment:
#!/bin/sh
# $Id: with-icc,v 1.7 2017/02/11 20:29:34 tom Exp $
TOP=/opt/intel
export PATH=$TOP/bin:$PATH
export CPPFLAGS="$CPPFLAGS -DNO_IDENT"
export LD_LIBRARY_PATH=$TOP/lib/intel64:$LD_LIBRARY_PATH
export LIBRARY_PATH=$TOP/lib:$LIBRARY_PATH
export C_INCLUDE_PATH=$TOP/include
export CPLUS_INCLUDE_PATH=$TOP/include:$TOP/include/c++
export CC=icc
export CXX=icpc
exec $*
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature