Note that there are some explanatory texts on larger screens.

plurals
  1. POgcc-4.2 failed with exit status 1
    text
    copied!<p>I've been looking for an answer to this issue but I couldn't find it, so here it is.</p> <p>I'm trying to install <a href="http://sk1project.org/modules.php?name=Products&amp;product=uniconvertor">Uniconvertor</a> with a setup.py file into a MacOS X Lion (Python 2.7.2) using:</p> <pre><code>python setup.py install </code></pre> <p>Then I get the following error code:</p> <pre><code>running install running build running build_py running build_ext building 'uniconvertor.app.modules.streamfilter' extension gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.6.sdk -g -O2 -DNDEBUG -g -O3 -arch i386 -arch x86_64 -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/modules/filter/streamfilter.c -o build/temp.macosx-10.6-intel-2.7/src/modules/filter/streamfilter.o unable to execute gcc-4.2: No such file or directory error: command 'gcc-4.2' failed with exit status 1 </code></pre> <p>I looked for the 'gcc-4.2' file in the Developer/usr/bin folder and it wasn't there, but there's a 'llvm-gcc.4.2' file that makes me think I should change the compiler from 'gcc-4.2' to the 'llvm-gcc.4.2' one.</p> <p>I'm kind of new to Mac and I don't know how else to fix it.</p> <p>Thanks.</p> <p>Edit:</p> <p>I tried using:</p> <pre><code>cd /Developer/usr/bin ln -s llvm-gcc-4.2 gcc-4.2 </code></pre> <p>And I get a little more progress, but then a new error:</p> <pre><code>running install_lib creating /Library/Python/2.7/site-packages/uniconvertor error: could not create '/Library/Python/2.7/site-packages/uniconvertor': Permission denied </code></pre> <p>What could be the cause of this 'Permission denied'?</p> <p>I'm running it into an Admin account and it doesn't ask for a password or anything.</p> <p>Thank you again.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload