{"issue":{"title":"Issue with graphicsmagick on Lion","user":{"login":"sashka","id":40790,"url":"https://api.github.com/users/sashka","avatar_url":"https://secure.gravatar.com/avatar/0575db0724e3e834a47fc552a9fd211c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0575db0724e3e834a47fc552a9fd211c"},"created_at":"2011-08-08T08:03:12Z","milestone":null,"labels":[{"name":"10.7","url":"https://api.github.com/repos/mxcl/homebrew/labels/10.7","color":"f5c36c"},{"name":"libpng","url":"https://api.github.com/repos/mxcl/homebrew/labels/libpng","color":"02d7e1"},{"name":"upstream-issue","url":"https://api.github.com/repos/mxcl/homebrew/labels/upstream-issue","color":"ff7722"}],"state":"open","updated_at":"2011-12-25T13:34:01Z","id":1363681,"closed_at":null,"html_url":"https://github.com/mxcl/homebrew/issues/6881","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"`brew install graphicsmagick ` generates a number of errors in `coders/png.c`: \r\nhttps://gist.github.com/1131374\r\n\r\nHomebrew environment\r\n---------------------------------\r\nHOMEBREW_VERSION: 0.8\r\nHEAD: 81f8f912bb9ed5784c33b5dec406db862e74d5ee\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_REPOSITORY: /usr/local\r\nHOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew\r\nHardware: dual-core 64-bit penryn\r\nOS X: 10.7\r\nKernel Architecture: x86_64\r\nRuby: 1.8.7-249\r\n/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby\r\nXcode: 4.2\r\nGCC-4.0: N/A \r\nGCC-4.2: build 5666 \r\nLLVM: build 2335 \r\nMacPorts or Fink? false\r\nX11 installed? true\r\n==> Build Flags\r\nCC: /usr/bin/gcc-4.2\r\nCXX: /usr/bin/g++-4.2\r\nLD: /usr/bin/gcc-4.2\r\nCFLAGS:  -march=core2 -msse4.1 -w -pipe  -O3\r\nCXXFLAGS:  -march=core2 -msse4.1 -w -pipe  -O3\r\nCPPFLAGS: -I/usr/X11/include\r\nLDFLAGS: -L/usr/X11/lib\r\nMAKEFLAGS: -j2","number":6881,"url":"https://api.github.com/repos/mxcl/homebrew/issues/6881","comments":36,"assignee":null},"comment":{"user":{"login":"gregelin","id":24979,"url":"https://api.github.com/users/gregelin","avatar_url":"https://secure.gravatar.com/avatar/57f954ba5409a6504af785ed8d42e009?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"57f954ba5409a6504af785ed8d42e009"},"created_at":"2011-12-25T13:34:01Z","updated_at":"2011-12-25T13:34:01Z","id":3270775,"body":"The above --use-clang and --HEAD solutions did not work until I fixed a few other items on my MacBook Air running Lion OS 10.7.2 first.\r\n\r\nThe command \"brew doctor\" provided useful clues as per check list recommendations (https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue).\r\n\r\nMost likely solution temporarily removing  XAMPP files from $PATH and opening a new terminal window to run brew install with --use-clang and --HEAD options. (Have now moved XAMPP files to end of $PATH.\r\n\r\nAlso did the following:\r\n- uninstalled MacPorts\r\n- made some files write-able as recommended with: chown -R <username> /usr/local/share/man/ \r\n\r\nAfter that, +1 for \r\nbrew install --use-clang --HEAD graphicsmagick\r\n\r\n","url":"https://api.github.com/repos/mxcl/homebrew/issues/comments/3270775"},"action":"created"}