Build and Install CXXFLAGS, C compiler cannot create executables.

30 views
Skip to first unread message

Rohit Mulay

unread,
Jul 5, 2017, 1:08:02 AM7/5/17
to libtensor

I'm facing trouble in Build and Install part the 2nd step. I gave the command

./configure --prefix=$HOME LIBS="-llapack -lcblas -latlas" CXXFLAGS="src/Makefile.inc"

and got the following output

    
checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/rmulay17/Downloads/tensor-master': configure: error: C compiler cannot create executables See `config.log' for more details

I don't know if this command is correct or wrong because i don't know what to include in CXXFLAGS="..."

So, someone please guide me how to use.

/configure --prefix=$HOME LIBS="..." CXXFLAGS="..."
and tell me a simple way to install FTensor lib in Ubuntu 16.04 

I have already installed BLAS and LAPACK. GCC Compiler is also installed and also tired after installing libc6-dev.

This is what i got after the command

./autogen.sh


screenshot from 2017-07-05 09-39-03


Thank You,
Regards,
-Rohit Mulay

Reply all
Reply to author
Forward
0 new messages