{"action":"created","issue":{"url":"https://api.github.com/repos/kpu/kenlm/issues/35","labels_url":"https://api.github.com/repos/kpu/kenlm/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/kpu/kenlm/issues/35/comments","events_url":"https://api.github.com/repos/kpu/kenlm/issues/35/events","html_url":"https://github.com/kpu/kenlm/issues/35","id":90209510,"number":35,"title":"installing KenLM","user":{"login":"CapitalChi","id":12942828,"avatar_url":"https://avatars.githubusercontent.com/u/12942828?v=3","gravatar_id":"","url":"https://api.github.com/users/CapitalChi","html_url":"https://github.com/CapitalChi","followers_url":"https://api.github.com/users/CapitalChi/followers","following_url":"https://api.github.com/users/CapitalChi/following{/other_user}","gists_url":"https://api.github.com/users/CapitalChi/gists{/gist_id}","starred_url":"https://api.github.com/users/CapitalChi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CapitalChi/subscriptions","organizations_url":"https://api.github.com/users/CapitalChi/orgs","repos_url":"https://api.github.com/users/CapitalChi/repos","events_url":"https://api.github.com/users/CapitalChi/events{/privacy}","received_events_url":"https://api.github.com/users/CapitalChi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-06-22T20:50:21Z","updated_at":"2015-06-25T21:12:41Z","closed_at":null,"body":"Running on OSX, boost 1.55\r\nI'm essentially following the instructions in this document: \r\nhttp://victor.chahuneau.fr/notes/2012/07/03/kenlm.html\r\n\r\nInterestingly, everything worked once, but then stopped working.  When I input ./bjam, I get a couple of errors, one involving a broken pipe, but the one I'm most concerned about is:\r\n\r\n-bash: ./kenlm/bin/lmplz: No such file or directory\r\n\r\nThe output begins with: warning: No toolsets are configured.\r\nwarning: Configuring default toolset \"darwin\".\r\nwarning: If the default is wrong, your build may not work correctly.\r\nwarning: Use the \"toolset=xxxxx\" option to override our guess.\r\nwarning: For more configuration options, please consult\r\nwarning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html\r\n...patience...\r\n...found 628 targets...\r\n...updating 38 targets...\r\n \r\nand at the end, the output is...\r\n\r\n...failed darwin.link lm/bin/left_test.test/darwin-5.1.0/release/threading-multi/left_test...\r\n...skipped <plm/bin/left_test.test/darwin-5.1.0/release/threading-multi>left_test.run for lack of <plm/bin/left_test.test/darwin-5.1.0/release/threading-multi>left_test...\r\n...failed updating 23 targets...\r\n...skipped 15 targets...\r\n\r\n\r\nIf I could attach the log I would but it's very long!"},"comment":{"url":"https://api.github.com/repos/kpu/kenlm/issues/comments/115399670","html_url":"https://github.com/kpu/kenlm/issues/35#issuecomment-115399670","issue_url":"https://api.github.com/repos/kpu/kenlm/issues/35","id":115399670,"user":{"login":"CapitalChi","id":12942828,"avatar_url":"https://avatars.githubusercontent.com/u/12942828?v=3","gravatar_id":"","url":"https://api.github.com/users/CapitalChi","html_url":"https://github.com/CapitalChi","followers_url":"https://api.github.com/users/CapitalChi/followers","following_url":"https://api.github.com/users/CapitalChi/following{/other_user}","gists_url":"https://api.github.com/users/CapitalChi/gists{/gist_id}","starred_url":"https://api.github.com/users/CapitalChi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CapitalChi/subscriptions","organizations_url":"https://api.github.com/users/CapitalChi/orgs","repos_url":"https://api.github.com/users/CapitalChi/repos","events_url":"https://api.github.com/users/CapitalChi/events{/privacy}","received_events_url":"https://api.github.com/users/CapitalChi/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T21:12:40Z","updated_at":"2015-06-25T21:12:40Z","body":"Hi again :)\nI am now starting from square 1 again, with another error.  This problem is also occurring for my colleague who tried to install kenlm with me a few days ago.  We both brew installed boost (and boost-python).  When we run ./bjam, we get the error\n\n\nFailed to run bash -c \"g++  -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep '#define BOOST_'\"\n\nBoost does not seem to be installed or g++ is confused.\n\nAfter googling, I see that some Moses users encountered this for various reasons, but that makes sense to the extent that it is the same code;  I looked around and this is coming from the sanity.jam file:\n#Argument is e.g. 103600\nrule boost ( min-version ) {\n  local cmd = \"bash -c \\\"g++ \"$(I-boost-include)\" -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep '#define BOOST_'\\\"\" ;\n  local boost-shell = [ SHELL \"$(cmd)\" : exit-status ] ;\n  if $(boost-shell[2]) != 0 && $(CLEANING) = no {\n    echo Failed to run \"$(cmd)\" ;\n    exit Boost does not seem to be installed or g++ is confused. : 1 ;\n  }\n\nI tried to see what this would give me: g++ -x c++ -E /dev/null -include boost/version.hpp -v\n\n\nApple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)\n\nTarget: x86_64-apple-darwin14.3.0\n\nThread model: posix\n\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\" -cc1 -triple x86_64-apple-macosx10.10.0 -E -disable-free -disable-llvm-verifier -main-file-name null -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 242 -v -dwarf-column-info -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0 -include boost/version.hpp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -stdlib=libc++ -fdeprecated-macro -fdebug-compilation-dir /Users/jir955/kenlm -ferror-limit 19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o - -x c++ /dev/null\n\nclang -cc1 version 6.1.0 based upon LLVM 3.6.0svn default target x86_64-apple-darwin14.3.0\n\nignoring nonexistent directory \"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/v1\"\n\nignoring nonexistent directory \"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/local/include\"\n\nignoring nonexistent directory \"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/Library/Frameworks\"\n\n#include \"...\" search starts here:\n\n#include <...> search starts here:\n\n /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1\n\n /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include\n\n /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include\n\n /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include\n\n /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks (framework directory)\n\nEnd of search list.\n\n# 1 \"/dev/null\"\n\n# 1 \"<built-in>\" 1\n\n# 1 \"<built-in>\" 3\n\n# 326 \"<built-in>\" 3\n\n# 1 \"<command line>\" 1\n\nIn file included from <built-in>:326:\n\n<command line>:1:10: fatal error: 'boost/version.hpp' file not found\n\n#include \"boost/version.hpp\"\n\n         ^\n\n# 1 \"<built-in>\" 2\n\n# 1 \"/dev/null\" 2\n\n\n1 error generated.\n\n\nThank you for your help.\nBest wishes,\nRachel\nFrom: Kenneth Heafield <notifications@github.com<mailto:notifications@github.com>>\nReply-To: kpu/kenlm <reply@reply.github.com<mailto:reply@reply.github.com>>\nDate: Wednesday, June 24, 2015 at 4:42 PM\nTo: kpu/kenlm <kenlm@noreply.github.com<mailto:kenlm@noreply.github.com>>\nCc: Vishnepolsky Rachel <rachel.vishnepolsky@capitalone.com<mailto:rachel.vishnepolsky@capitalone.com>>\nSubject: Re: [kenlm] installing KenLM (#35)\n\n\nSo is this resolved by unborking the compiler? I'm also confused as to how you got gcc 5 by doing sudo tar -xvf gcc-4.9-bin.tar .\n\n—\nReply to this email directly or view it on GitHub<https://github.com/kpu/kenlm/issues/35#issuecomment-115020386>.\n________________________________________________________\n\nThe information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.\n"}}