{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/gcc/issues/9","labels_url":"https://api.github.com/repos/docker-library/gcc/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/gcc/issues/9/comments","events_url":"https://api.github.com/repos/docker-library/gcc/issues/9/events","html_url":"https://github.com/docker-library/gcc/issues/9","id":59807137,"number":9,"title":"cc: command not found","user":{"login":"suchja","id":3649865,"avatar_url":"https://avatars.githubusercontent.com/u/3649865?v=3","gravatar_id":"","url":"https://api.github.com/users/suchja","html_url":"https://github.com/suchja","followers_url":"https://api.github.com/users/suchja/followers","following_url":"https://api.github.com/users/suchja/following{/other_user}","gists_url":"https://api.github.com/users/suchja/gists{/gist_id}","starred_url":"https://api.github.com/users/suchja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suchja/subscriptions","organizations_url":"https://api.github.com/users/suchja/orgs","repos_url":"https://api.github.com/users/suchja/repos","events_url":"https://api.github.com/users/suchja/events{/privacy}","received_events_url":"https://api.github.com/users/suchja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T14:46:13Z","updated_at":"2015-03-04T14:57:10Z","closed_at":null,"body":"Hi,\r\nI'm using the gcc:4.9 image to try to build a software. I created a Dockerfile using gcc:4.9, adding the required packages via apt-get and finally cloned the source code from github. When I now start the required make && make install, one of the first error messages says\r\n\r\n/bin/sh: 1: cc: not found\r\n\r\nProbably this isn't an issue with the image, but how do you suggest to properly debug to find the root cause? Are there any other logs? Can I somehow trace what exactly is going wrong within the container?\r\n\r\nThanks and regards\r\nJan"},"comment":{"url":"https://api.github.com/repos/docker-library/gcc/issues/comments/77171848","html_url":"https://github.com/docker-library/gcc/issues/9#issuecomment-77171848","issue_url":"https://api.github.com/repos/docker-library/gcc/issues/9","id":77171848,"user":{"login":"suchja","id":3649865,"avatar_url":"https://avatars.githubusercontent.com/u/3649865?v=3","gravatar_id":"","url":"https://api.github.com/users/suchja","html_url":"https://github.com/suchja","followers_url":"https://api.github.com/users/suchja/followers","following_url":"https://api.github.com/users/suchja/following{/other_user}","gists_url":"https://api.github.com/users/suchja/gists{/gist_id}","starred_url":"https://api.github.com/users/suchja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suchja/subscriptions","organizations_url":"https://api.github.com/users/suchja/orgs","repos_url":"https://api.github.com/users/suchja/repos","events_url":"https://api.github.com/users/suchja/events{/privacy}","received_events_url":"https://api.github.com/users/suchja/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T14:57:10Z","updated_at":"2015-03-04T14:57:10Z","body":"Okay, got my software compiled. Problem was the following statement in Makefile `CC ?= gcc`. I guess this checks whether gcc is available. Maybe somehow it got the impression that it wasn't. I changed the above line to `CC = gcc` and everything is fine.\r\nSo it looks to me that this might be some sort of problem with the gcc container."}}