[ZBX-11081] Broken compilation with libcurl Created: 2016 Aug 11 Updated: 2017 May 30 Resolved: 2016 Aug 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 2.0.19rc1, 2.2.15rc1, 3.0.5rc1, 3.2.0alpha2 |
Fix Version/s: | 3.0.5rc1, 3.2.0alpha2 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Glebs Ivanovskis (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | compilation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Long story short, m4/libcurl.m4 exports LIBCURL_CFLAGS but configure.ac imports LIBCURL_CPPFLAGS. If no other component adds -I compiler flag with a path where libcurl headers are installed (by accident) Zabbix compilation will fail. Not a regression from Seems like it's a very old bug, running (in 2.0 branch) $ svn diff m4/libcurl.m4 configure.in -c 5885 reveals that LIBCURL_CPPFLAGS was renamed to LIBCURL_CFLAGS in m4 script but configure script wasn't synced. |
Comments |
Comment by Sergejs Paskevics [ 2016 Aug 16 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-11081 |
Comment by Aleksandrs Saveljevs [ 2016 Aug 16 ] |
Looks good, although ideally we could probably output cURL flags in library-specific flag section in ./configure output. |
Comment by Sergejs Paskevics [ 2016 Aug 17 ] |
Fixed in:
|