-fpermissive error while trying to compile a package with make
Hi!
I let this speak for itself: Code:
make |
Quote:
``hpc-clust-1.1.1´´ will compile OK with g++ version 4.4.x. Debian / Ubuntu / Mint example : $ cd hpc-clust-1.1.1/ $ export CC=gcc-4.4 CXX=g++-4.4 && ./configure $ make clean && make Any questions ? Then please specify your OS : a) $ uname -m b) OS name and version. - |
Thank you very much for this quick answer.
We have Ubuntu 14.04 uname -m yields x86_64 I assume our compiler is not up to date? export CC=gcc-4.4 CXX=g++-4.4 && ./configure checking whether the C++ compiler works... no configure: error: in `/media/4tb/trichter/hpc-clust-1.1.1': configure: error: C++ compiler cannot create executables See `config.log' for more details. |
Quote:
You cannot use a tool that isn't present on your OS. Install g++-4.4 : $ sudo apt-get install g++-4.4 |
Thank you very much!
g++ got installed. Quite frankly, i wasnt aware that the package would need it. The manual doesnt tell.^^ |
← #5 .
Though all the files in hpc-clust-1.1.1 have a time stamp : 2014, some of the code may be a bit older, not usable with g++-4.7 or later. ( `g++-4.6´ may be usable, that I haven't tested.) Not easy to specify a compiler in a manual, may vary from one OS to another. And: Could be the author used 'Scientific Linux SL6' for the code. → The SL6 default compiler is gcc/g++ version 4.4.7 . - |
All times are GMT -5. The time now is 04:26 AM. |