Anonymous | Login | 2022-05-23 18:45 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000969 | OMNeT++ | Installer / Productizing | public | 2016-11-25 14:54 | 2017-02-01 13:57 | ||||
Reporter | asantos | ||||||||
Assigned To | rhornig | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Platform | x86_64 | OS | GNU/Linux | OS Version | ? | ||||
Product Version | 5.0 | ||||||||
Target Version | Fixed in Version | 5.1pre3 | |||||||
Summary | 0000969: CXX environment variable being ignored with configure | ||||||||
Description | We have our own environment of compiler where GCC is installed in network filesystem. The configure script on Linux x86_64 is broken for the CXX variable: $ CXX=$(which g++) CC=$(which gcc) ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu configure: ----------------------------------------------- configure: reading configure.user for your custom settings configure: ----------------------------------------------- checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /afs/qqq/bin/gcc accepts -g... yes checking for /afs/qqq/bin/gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether /afs/qqq/bin/g++ accepts -g... yes checking for /afs/qqq/bin/g++... not found configure: error: No C++ compiler found -- one is required to build OMNeT++/OMNEST, and also for model development. Replacing CXX with tmp_CXX works fine. $ tmp_CXX=$(which g++) CC=$(which gcc) ./configure | ||||||||
Steps To Reproduce | 1. Download Omnet++ 5.0, unzip into desired location 2. Call configure script with custom CXX enviromnemt variable 3. The configure script complains about missing compiler. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0001280) rhornig (administrator) 2017-02-01 13:57 |
This is true, however ./configure is not meant to accept all variables from environment variables or command line options. You should instead set your preferred compiler inside configure.user by setting the CC and CXX variables there. |
![]() |
|||
Date Modified | Username | Field | Change |
2016-11-25 14:54 | asantos | New Issue | |
2017-02-01 13:57 | rhornig | Note Added: 0001280 | |
2017-02-01 13:57 | rhornig | Status | new => resolved |
2017-02-01 13:57 | rhornig | Fixed in Version | => 5.1pre3 |
2017-02-01 13:57 | rhornig | Resolution | open => no change required |
2017-02-01 13:57 | rhornig | Assigned To | => rhornig |
Copyright © 2000 - 2022 MantisBT Team |