{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/2179","repository_url":"https://api.github.com/repos/manastech/crystal","labels_url":"https://api.github.com/repos/manastech/crystal/issues/2179/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/2179/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/2179/events","html_url":"https://github.com/manastech/crystal/issues/2179","id":134624942,"number":2179,"title":"llvm/IR/DebugLoc.h: No such file or directory","user":{"login":"stugol","id":1113153,"avatar_url":"https://avatars.githubusercontent.com/u/1113153?v=3","gravatar_id":"","url":"https://api.github.com/users/stugol","html_url":"https://github.com/stugol","followers_url":"https://api.github.com/users/stugol/followers","following_url":"https://api.github.com/users/stugol/following{/other_user}","gists_url":"https://api.github.com/users/stugol/gists{/gist_id}","starred_url":"https://api.github.com/users/stugol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stugol/subscriptions","organizations_url":"https://api.github.com/users/stugol/orgs","repos_url":"https://api.github.com/users/stugol/repos","events_url":"https://api.github.com/users/stugol/events{/privacy}","received_events_url":"https://api.github.com/users/stugol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T16:16:36Z","updated_at":"2016-02-18T17:54:40Z","closed_at":null,"body":"I'm probably doing something stupid again, but when I try to compile Crystal now, I get:\r\n```\r\ng++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc `/usr/bin/llvm-config --cxxflags`\r\nsrc/llvm/ext/llvm_ext.cc:2:30: fatal error: llvm/IR/DebugLoc.h: No such file or directory\r\ncompilation terminated.\r\nmake: *** [src/llvm/ext/llvm_ext.o] Error 1\r\n```\r\nThe entire sequence of build commands I'm using is as follows, from a fresh Debian 64-bit installation:\r\n```\r\napt-get update\r\napt-get install -y llvm libpcre3-dev build-essential curl git zlib1g-dev automake libtool pkg-config unp libedit-dev libssl-dev libevent-dev libgc-dev libreadline-dev libgdbm-dev\r\ncurl http://dist.crystal-lang.org/apt/setup.sh | bash\r\napt-get install -y crystal\r\ngit clone https://github.com/manastech/crystal.git\r\ncd crystal\r\n\r\ngit clone git://github.com/ivmai/bdwgc.git\r\ncd bdwgc\r\ngit clone git://github.com/ivmai/libatomic_ops.git\r\nautoreconf -vif\r\nautomake --add-missing\r\n./configure\r\nmake\r\nmake install\r\n\r\ncurl -O http://www.xmailserver.org/pcl-1.12.tar.gz\r\nunp pcl-1.12.tar.gz\r\ncd pcl-1.12\r\n./configure\r\nmake\r\nmake install\r\ncd ../..\r\n\r\nrm /usr/lib/libgc.so* || true\r\napt-get remove libpcl1-dev || true\r\n\r\nmake\r\ncd ..\r\nln -s /root/crystal/bin/crystal /usr/local/bin/\r\nln -s /usr/lib/x86_64-linux-gnu/libcrypto.a /opt/crystal/embedded/lib/\r\nln -s /usr/lib/x86_64-linux-gnu/libz.a /opt/crystal/embedded/lib/\r\n\r\necho >>/etc/bash.bashrc export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH\r\necho >>/etc/bash.bashrc export LD_LIBRARY_PATH=/usr/local/lib\r\n. /etc/bash.bashrc \r\n```\r\nI've tried also installing `llvm-dev`. It didn't help."},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/185833977","html_url":"https://github.com/manastech/crystal/issues/2179#issuecomment-185833977","issue_url":"https://api.github.com/repos/manastech/crystal/issues/2179","id":185833977,"user":{"login":"kirbyfan64","id":1690697,"avatar_url":"https://avatars.githubusercontent.com/u/1690697?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbyfan64","html_url":"https://github.com/kirbyfan64","followers_url":"https://api.github.com/users/kirbyfan64/followers","following_url":"https://api.github.com/users/kirbyfan64/following{/other_user}","gists_url":"https://api.github.com/users/kirbyfan64/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbyfan64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbyfan64/subscriptions","organizations_url":"https://api.github.com/users/kirbyfan64/orgs","repos_url":"https://api.github.com/users/kirbyfan64/repos","events_url":"https://api.github.com/users/kirbyfan64/events{/privacy}","received_events_url":"https://api.github.com/users/kirbyfan64/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T17:54:40Z","updated_at":"2016-02-18T17:54:40Z","body":"What's your version of LLVM?"}}