@mfikes : sorry if this is a super basic question, but when I try to build, I get an error about not being able to find zlib: `$ ./script/build ### Building planck-cljs ### Building planck-c ### Bundling ClojureScript artifacts for 1st stage ### Building 1st stage Planck binary -- The C compiler identification is AppleClang 8.0.0.8000042 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29") -- Checking for module 'zlib' -- No package 'zlib' found CMake Error at /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindPkgConfig.cmake:415 (message): A required package was not found Call Stack (most recent call first): /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindPkgConfig.cmake:588 (pkgcheck_modules_internal) CMakeLists.txt:68 (pkg_check_modules) -- Configuring incomplete, errors occurred!` I have the latest version of the xcode command tools, which I think includes zlib. I am using OSX 10.12.1 (16B2555)
@ghufran No problem: Here: https://github.com/mfikes/planck/wiki/Building#macos
I don’t recall having to install zlib though...
My install indicates this right around there:
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.1")
-- Checking for module 'zlib'
-- Found zlib, version 1.2.5
@mfikes : thanks! I just installed the dependencies from the wiki page, and restart, but still getting the same error, "No package 'zlib’ found"
I also have a box running 10.12… hrm...
I wonder if pkg-config has been updated for that OS release (I have a slightly newer version than you)
a newer version of pkg-config?
Mine is at 0.29.1, yours is at 0.29
Maybe brew upgrade pkg-config
I just tried, homebrew gave me an error about xcode being too outdated (7.1) - I assumed if I had the latest version of the command-line tools, I wouldn’t need the full xcode, but I’ll download it, upgrade pkg-config, then try again!
Cool
@mfikes : the new pkg-config fixed the problem, thanks!
Ahh. Good to know!