I am trying to install MySQL-python on my server for use with subversion and MySQL.
In the past I have been able to get this installed without any problems, however, this was on an earlier version of subversion and python.
I have just installed subversion 1.5.5 and python 2.5, which i understand needs MySQL-python.1.2.2. Since I have python's easy_install i attempted to simply do:
easy_install MySQL-python
which begins installing the correct version, however, it then errors out. The last line in the error message is:
error: Setup script exited with error: command 'gcc' failed with exit status 1
Can someone point me in the direction of finding a resolution for this?
That error message means that compilation failed. Look further up in the output to see the error message(s) from the compiler. Then google for the package name and that error message if you are unsure what it means. Usually someone has come across it before.
I usually redirect output from make commands so that I can search through it later.
Code:
# make > make.log 2>&1
# make install > install.log 2>&1
This redirects standard output and standard error to log files.
If you want to watch the output while it is doing it then start the make commands in the background and use tail -f to watch the log files.
Code:
# make > make.log 2>&1 &
# tail -f make.log
Last edited by penagate; Dec 30th, 2008 at 09:34 PM.
Then, in the console window there is a number of errors also. However, there are too many to scroll all the way back up, but I have attached a screen shot of the last of it.
There are errors in that file or a file which that file depends on. The messages don't mean anything in particular to me so I suggest you contact the distributor of the package.
I know this is specific to Leopard, I was just wondering whether it had any bearing on the problems I am having?
I have done steps 1-3 but I don't know what is going on in Step 4. I don't have either of the two directories that it mentions. Do you know what is going on in Step 4, maybe knowing what it is trying to do will shed some light on what I should be linking.