{"issue":{"user":{"id":1221194,"login":"zencuke","url":"https://api.github.com/users/zencuke","avatar_url":"https://secure.gravatar.com/avatar/9adfdfd72a020335ccbd1e0edfd3be0b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9adfdfd72a020335ccbd1e0edfd3be0b"},"milestone":null,"created_at":"2011-11-28T03:25:35Z","title":"can't get node-clucene to build properly on OS X 10.7.2","labels":[],"state":"closed","updated_at":"2011-12-21T16:02:04Z","id":2363672,"html_url":"https://github.com/LockerProject/Locker/issues/467","closed_at":"2011-12-21T16:02:04Z","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"I have spend the last two days trying to install locker. First I tried lockerbox.sh. Then I followed the link to \"Detailed Install Instructions.\" Half the commands on this page failed for one reason or another: Macports/fink incompatability; node version incompatability with npm; npm can't cope with some of the dependencies in Locker/package.json. Apparently some of the specified package versions in this file are no longer supported by the current npm. I have gotten so many different errors and tried so many workarounds that I have probably created incompatibilities between all the things locker depends on. I believe I finally have the correct versions of most things. At least ./checkEnv.sh doesn't complain about the versions it finds. However npm install still fails. \r\n\r\nnpm ERR! error installing unshortener@0.0.8     at Request._callback (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:180:12)\r\nnpm ERR! error installing unshortener@0.0.8     at Request.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:99:22)\r\n\r\n\r\nI most recently deleted the Locker directory and tried lockerbox.sh again hoping iot would succeed it the dependencies were already installed, I got the following results:\r\n\r\n1) curl https://github.com/LockerProject/lockerbox/blob/master/lockerbox.sh > lockerbox.sh\r\nRather than download the script this commands downloads the html web page that contains it. I fixed this by going to that page and clicking on raw and then downloading the file with my browser.\r\n\r\n2) papas-macintosh:~ steven$ ./lockerbox.sh \r\n... successful progress reports clipped ...\r\n./lockerbox.sh: line 58: pkg-config: command not found\r\nCLucene not found!\r\n\r\nAbout to download, build, and install locally CLucene.\r\nThis could take a while....git://clucene.git.sourceforge.net/gitroot/clucene/clucene already downloaded.\r\n-- The C compiler identification is GNU\r\n-- The CXX compiler identification is GNU\r\n-- Checking whether C compiler has -isysroot\r\n-- Checking whether C compiler has -isysroot - yes\r\n-- Checking whether C compiler supports OSX deployment target flag\r\n-- Checking whether C compiler supports OSX deployment target flag - yes\r\n-- Check for working C compiler: /Developer/usr/bin/gcc\r\n\r\nMake Error at /Applications/CMake 2.8-6.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):\r\n  The C compiler \"/Developer/usr/bin/gcc\" is not able to compile a simple\r\n  test program.\r\n\r\nThis is probably because Apple has restructured where and how it installs these tools in the latest version of Xcode for Lion. In particular /Developer/usr/bin/gcc doesn't exist. However I'm not sure what to do about it. clucene isn't exactly the simplest thing to install manually but I am looking into it. Is this the right approach? I've noticed that some other projects seem to have trouble coping with the newest xcode release. I have been assuming up till now that my problems were either operator error or something weird about my configuration but my problems are so egregious that I am beginning to wonder if I am the first person to attempt this with the newest xcode. Should I expect this to work?","number":467,"url":"https://api.github.com/repos/LockerProject/Locker/issues/467","comments":21,"assignee":{"id":61632,"login":"quartzjer","url":"https://api.github.com/users/quartzjer","avatar_url":"https://secure.gravatar.com/avatar/37f35d1f68254e700446b361d3c61782?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"37f35d1f68254e700446b361d3c61782"}},"action":"closed"}