{"issue":{"created_at":"2011-12-10T14:05:33Z","state":"open","updated_at":"2011-12-10T14:05:33Z","user":{"gravatar_id":"d1e060fe75a68836bf8a3209a9066bbe","id":144366,"url":"https://api.github.com/users/damiannz","avatar_url":"https://secure.gravatar.com/avatar/d1e060fe75a68836bf8a3209a9066bbe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"damiannz"},"comments":0,"body":"Per subject: brew install libpano fails on Lion, llvm-gcc-4.2, building png.c:\r\n\r\npng.c: In function ‘writePNG’:\r\npng.c:59: error: dereferencing pointer to incomplete type\r\npng.c:71: error: dereferencing pointer to incomplete type\r\npng.c:72: error: dereferencing pointer to incomplete type\r\npng.c:73: error: dereferencing pointer to incomplete type\r\n\r\nbrew doctor output:\r\n\r\n````$ brew doctor\r\nWe couldn't detect gcc 4.2.x. Some formulae require this compiler.\r\nNOTE: Versions of XCode newer than 4.2 don't include gcc 4.2.x.\r\n\r\nSome \"config\" scripts were found in your path, but not in system or Homebrew folders.\r\n\r\n`./configure` scripts often look for *-config scripts to determine if software packages\r\nare installed, and what additional flags to use when compiling and linking.\r\n\r\nHaving additional scripts in your path can confuse software installed via Homebrew if\r\nthe config script overrides a system or Homebrew provided script of the same name.\r\n\r\n/opt/X11/bin\r\n    freetype-config libpng-config libpng15-config\r\n\r\nSetting DYLD_LIBRARY_PATH can break dynamic linking.\r\nYou should probably unset it.\r\n````\r\n\r\nfull brew install -v output is at https://gist.github.com/1455235\r\n\r\n","assignee":null,"id":2511099,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":9073,"title":"libpano fails with Lion (llvm-gcc-4.2) building png.c","html_url":"https://github.com/mxcl/homebrew/issues/9073","closed_at":null,"url":"https://api.github.com/repos/mxcl/homebrew/issues/9073","milestone":null},"action":"opened"}