{"action":"created","issue":{"url":"https://api.github.com/repos/lastpass/lastpass-cli/issues/133","labels_url":"https://api.github.com/repos/lastpass/lastpass-cli/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/lastpass/lastpass-cli/issues/133/comments","events_url":"https://api.github.com/repos/lastpass/lastpass-cli/issues/133/events","html_url":"https://github.com/lastpass/lastpass-cli/issues/133","id":117949190,"number":133,"title":"brew install lastpass-cli --with-pinentry fails when XCode CLI installed but not XCode itself","user":{"login":"cjcjameson","id":6885889,"avatar_url":"https://avatars.githubusercontent.com/u/6885889?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcjameson","html_url":"https://github.com/cjcjameson","followers_url":"https://api.github.com/users/cjcjameson/followers","following_url":"https://api.github.com/users/cjcjameson/following{/other_user}","gists_url":"https://api.github.com/users/cjcjameson/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcjameson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcjameson/subscriptions","organizations_url":"https://api.github.com/users/cjcjameson/orgs","repos_url":"https://api.github.com/users/cjcjameson/repos","events_url":"https://api.github.com/users/cjcjameson/events{/privacy}","received_events_url":"https://api.github.com/users/cjcjameson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-20T01:53:23Z","updated_at":"2015-12-07T15:40:53Z","closed_at":"2015-12-04T19:29:05Z","body":"Hi there, just letting you know of the following:\r\n\r\nIf you have the XCode CLI tools installed, but not the XCode program itself, `brew install lastpass-cli --with-pinentry` fails:\r\n\r\n```\r\nbrew install lastpass-cli --with-pinentry\r\n==> Downloading https://github.com/lastpass/lastpass-cli/archive/v0.7.0.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/lastpass-cli-0.7.0.tar.gz\r\n==> make PREFIX=/usr/local/Cellar/lastpass-cli/0.7.0 install\r\nLast 15 lines from /Users/swag/Library/Logs/Homebrew/lastpass-cli/01.make:\r\nIn file included from cipher.c:36:\r\nIn file included from ./cipher.h:4:\r\n./kdf.h:4:10: fatal error: 'sys/types.h' file not found\r\n#include <sys/types.h>\r\n         ^\r\n1 error generated.\r\nmake: *** [blob.o] Error 1\r\nIn file included from clipboard.c:38:\r\n./util.h:4:10: fatal error: 'stdio.h' file not found\r\n#include <stdio.h>\r\n         ^\r\n1 error generated.\r\nmake: *** [clipboard.o] Error 1\r\n1 error generated.\r\nmake: *** [cipher.o] Error 1\r\n\r\nREAD THIS: https://git.io/brew-troubleshooting\r\n```\r\n\r\nInstalling XCode itself resolved the issue and unblocked brew. I'm on a pretty fresh install of El Capitan.\r\n\r\nBrew's unblocked, although `make` fails; I'm moving along but looks like there's an openssl dependency I'm missing that wasn't automatically installed or checked for:\r\n\r\n```\r\ncc -O3 -march=native -fomit-frame-pointer -pipe -std=gnu99 -D_GNU_SOURCE -pedantic -Wall -Wextra -Wno-language-extension-token -MMD -Wno-deprecated-declarations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2   -c -o lpass.o lpass.c\r\nIn file included from lpass.c:37:\r\nIn file included from ./cmd.h:4:\r\nIn file included from ./blob.h:4:\r\n./kdf.h:5:10: fatal error: 'openssl/sha.h' file not found\r\n#include <openssl/sha.h>\r\n         ^\r\n1 error generated.\r\nmake: *** [lpass.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/lastpass/lastpass-cli/issues/comments/162561547","html_url":"https://github.com/lastpass/lastpass-cli/issues/133#issuecomment-162561547","issue_url":"https://api.github.com/repos/lastpass/lastpass-cli/issues/133","id":162561547,"user":{"login":"travi","id":126441,"avatar_url":"https://avatars.githubusercontent.com/u/126441?v=3","gravatar_id":"","url":"https://api.github.com/users/travi","html_url":"https://github.com/travi","followers_url":"https://api.github.com/users/travi/followers","following_url":"https://api.github.com/users/travi/following{/other_user}","gists_url":"https://api.github.com/users/travi/gists{/gist_id}","starred_url":"https://api.github.com/users/travi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travi/subscriptions","organizations_url":"https://api.github.com/users/travi/orgs","repos_url":"https://api.github.com/users/travi/repos","events_url":"https://api.github.com/users/travi/events{/privacy}","received_events_url":"https://api.github.com/users/travi/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:40:53Z","updated_at":"2015-12-07T15:40:53Z","body":"I'm having the same issue as the first problem mentioned above. I only have `xcode-select` installed and would prefer not to upgrade to the full blown Xcode since the lighter weight command-line tools cover all of my other needs. \r\n\r\nAny chance this could be updated to not have a dependency on the full Xcode?"}}