[CDRIVER-2292] --with-zlib or --with-snappy does not respect "system" Created: 18/Sep/17  Updated: 28/Oct/23  Resolved: 20/Sep/17

Status: Closed
Project: C Driver
Component/s: Build, libmongoc
Affects Version/s: 1.8.0
Fix Version/s: 1.8.1

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-2326 Can't disable zlib, although ./config... Closed

 Description   

Passing "--with-zlib=system" or "--with-snappy=system" to configure always fails with "Cannot find system installed zlib" or "Cannot find system installed snappy". The configure check in our Autotools script only handles "auto" or "bundled" properly, because of a wrong boolean. If you pass "bundled" and the system libraries are available, configure does find and use them by default.



 Comments   
Comment by Githook User [ 12/Oct/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 fix --with-snappy/zlib=no
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/778d1bcdb751b89445822283be18d3457860e5e2

Comment by Githook User [ 12/Oct/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 respect --with-zlib/snappy=system
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/d49be4db4237d842c71a1bf5d1f1c6f3dad72304

Comment by Githook User [ 23/Sep/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 fix --with-zlib=no, part 2
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/6ff35ef154a404e4e8b05f69d4744b0901efd19a

Comment by Githook User [ 23/Sep/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 fix --with-snappy/zlib=no
Branch: r1.8
https://github.com/mongodb/mongo-c-driver/commit/778d1bcdb751b89445822283be18d3457860e5e2

Comment by Githook User [ 23/Sep/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 fix --with-snappy/zlib=no
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/6d36be92f70b7615c3d6ae5755be27702fc8cc7b

Comment by Githook User [ 20/Sep/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 respect --with-zlib/snappy=system
Branch: r1.8
https://github.com/mongodb/mongo-c-driver/commit/d49be4db4237d842c71a1bf5d1f1c6f3dad72304

Comment by Githook User [ 20/Sep/17 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2292 respect --with-zlib/snappy=system
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9636fa314bbe44b194d383d1e8529b5bb5a26f96

Generated at Wed Feb 07 21:14:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.