Fork me on GitHub
#planck
<
2016-12-12
>
ghufran00:12:23

@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)

mfikes00:12:57

I don’t recall having to install zlib though...

mfikes00:12:11

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

ghufran00:12:03

@mfikes : thanks! I just installed the dependencies from the wiki page, and restart, but still getting the same error, "No package 'zlib’ found"

mfikes00:12:18

I also have a box running 10.12… hrm...

mfikes00:12:15

I wonder if pkg-config has been updated for that OS release (I have a slightly newer version than you)

ghufran00:12:19

a newer version of pkg-config?

mfikes00:12:36

Mine is at 0.29.1, yours is at 0.29

mfikes00:12:04

Maybe brew upgrade pkg-config

ghufran00:12:58

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!

ghufran04:12:27

@mfikes : the new pkg-config fixed the problem, thanks!

mfikes04:12:40

Ahh. Good to know!