[ZBX-12793] zabbix autoconf script does not use the system compiler by default Created: 2017 Sep 28 Updated: 2024 Apr 10 Resolved: 2017 Oct 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | None |
Fix Version/s: | 4.0.0alpha1, 4.0 (plan) |
Type: | Incident report | Priority: | Trivial |
Reporter: | Andrea Biscuola (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | autoconf, compiler | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: | Team A |
Team: | Team A |
Sprint: | Sprint 17, Sprint 18 |
Story Points: | 0.25 |
Description |
The zabbix autoconf script search, by default for the ``gcc'' compiler command. This is not standard. This actually affect all the platforms that does not use gcc as a system compiler, causing the user to force the setting of the CC environment variable to override what the zabbix configure script want to do. It's just a minor annoyance, but respecting the standards is always good |
Comments |
Comment by Andrea Biscuola (Inactive) [ 2017 Sep 29 ] |
The fix for this is pretty simple: Index: configure.ac =================================================================== --- configure.ac (revision 73064) +++ configure.ac (working copy) @@ -37,7 +37,7 @@ dnl * * dnl ***************************************************************** -AC_PROG_CC +AC_PROG_CC([cc gcc clang]) AM_PROG_CC_C_O dnl ***************************************************************** We check for cc (generally the system compiler) and after that we check for specific compilers. |
Comment by Andrea Biscuola (Inactive) [ 2017 Oct 03 ] |
Fixed in svn://svn.zabbix.com/branches/dev/ZBX-12793 Add to the main configuration script the explicit checks for cc |
Comment by Andris Mednis [ 2017 Oct 05 ] |
Successfully tested. |
Comment by Andrea Biscuola (Inactive) [ 2017 Oct 06 ] |
Released in
|