Setup script exited with error: command ‘gcc’ failed with exit status 1

Setup script exited with error: command ‘gcc’ failed with exit status 1



I was getting this error when I was installing Plone 4a1 from terminal. after one day search i found this

sudo apt-get install python-dev

will do the trick.

7 Responses

  1. Unsure what distro you’re on (Debian-based something, given apt-get), but this post of mine (http://davidjb.com/blog/2009/06/virtualenv-plone-and-ubuntu-904-jaunty) should help. In particular, I’m referring to the packages listed there for install — that’s everything I need on my installs.

    The other stuff about virtualenv is handy as well, especially if/when you may use an OS that doesn’t have python2.4 as its default interpreter.

  2. Edgar

    thanks for that. Very helpfull
    I was trying to install ZODB3 and I get the same error “command gcc” message

  3. wladimir

    thank you for that information, it helps me installing ZODB3!!

  4. Hi,

    Nice fix, thanks for sharing…

    Hari.

  5. Thijs

    This helped me too
    Thx!!!!

  6. Mihnea

    thank you very much. i had some previous errors because of the gcc. great :)

  7. futran

    Thank you! I got my solution from you…
    Just 5 mins search vs your searching day haha
    U R great

Leave a comment