Fossil Forum

Bug in zlib path handling
Login

Bug in zlib path handling

Bug in zlib path handling

(1) By Daniel Macks (dmacks) on 2023-10-22 14:32:34 [source]

With fossil-2.22 on OS X, I have my zlib.h and libz.dylib in a non-default location (/opt/things/{include,lib} respectively), so I pass --with-zlib=/opt/things when configuring the build process. It fails, because that flag gets propagated as -I/opt/things -L/opt/things. It appears to assume that if zlib is in a non-default location, it is a flat directory the way compat/zlib is, rather than a FHS-type layout.

(2) By Warren Young (wyoung) on 2023-10-23 01:13:31 in reply to 1 [link] [source]

I've made an improvement to the trunk version of the configure script that should solve this. Please give it a try before we release Fossil 2.23. It works here, but I might not have tested everything you need.