Using nginx 1.1 with the intel compiler

Maxim Dounin mdounin at mdounin.ru
Wed Feb 22 13:45:57 UTC 2012


Hello!

On Thu, Feb 23, 2012 at 02:31:31AM +1300, Ryan Brown wrote:

> Not sure what I'm doing wrong here..
> 
> [root at bob:~/trunk]# export | grep cc
> CC=icc
> LD_LIBRARY_PATH=/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/ipp/../compiler/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/ipp/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/tbb/lib/ia32//cc4.1.0_libc2.4_kernel2.6.16.21:/opt/intel/composer_xe_2011_sp1.9.293/debugger/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/mpirt/lib/ia32
> LIBRARY_PATH=/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/ipp/../compiler/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/ipp/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/ia32:/opt/intel/composer_xe_2011_sp1.9.293/tbb/lib/ia32//cc4.1.0_libc2.4_kernel2.6.16.21
> 
> [root at bob:~/trunk]# ./configure
> checking for OS
>  + Linux 3.2.5 i686
> checking for C compiler ... not found
> 
> ./configure: error: C compiler icc is not found
> 
> Even if I specify it,
> 
> [root at bob:~/trunk]# ./configure --with-cc=/opt/intel/bin/icc
> checking for OS
>  + Linux 3.2.5 i686
> checking for C compiler ... not found
> 
> ./configure: error: C compiler /opt/intel/bin/icc is not found
> 
> And just specifying "icc" instead"
> 
> [root at bob:~/trunk]# ./configure --with-cc=icc
> checking for OS
>  + Linux 3.2.5 i686
> checking for C compiler ... not found
> 
> ./configure: error: C compiler icc is not found
> 
> hmm still not found, its in the path:
> 
> [root at bob:~/trunk]# icc --version
> icc (ICC) 12.1.3 20120212
> Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.

Try looking into objs/autoconf.err, it will have exact reason for 
the "not found" verdict.  Most likely it fails to compile code for 
some reason, the autoconf.err file should have details.

Maxim Dounin



More information about the nginx mailing list