planck

Planck ClojureScript REPL
2016-12-12T00:25:23.000058Z

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

mfikes 2016-12-12T00:26:37.000060Z

@ghufran No problem: Here: https://github.com/mfikes/planck/wiki/Building#macos

mfikes 2016-12-12T00:27:57.000063Z

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

mfikes 2016-12-12T00:32:11.000064Z

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

2016-12-12T00:33:03.000065Z

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

mfikes 2016-12-12T00:33:18.000066Z

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

mfikes 2016-12-12T00:34:15.000067Z

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

2016-12-12T00:36:19.000068Z

a newer version of pkg-config?

mfikes 2016-12-12T00:36:36.000069Z

Mine is at 0.29.1, yours is at 0.29

mfikes 2016-12-12T00:37:04.000070Z

Maybe brew upgrade pkg-config

2016-12-12T00:40:58.000071Z

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!

mfikes 2016-12-12T00:41:15.000072Z

Cool

2016-12-12T04:25:27.000073Z

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

mfikes 2016-12-12T04:25:40.000074Z

Ahh. Good to know!