subversion installation problem

Hi all-

I'm stuck on a problem here, trying to compile subversion 1.0.5 on a sunfire 2000. I grabbed the binaries, added the packages, and figured I was to go.

When I ran the configure script, I got the following error message:

checking for gcc... no
checking for cc... cc
checking for c compiler default output
C compiler cannot create executables.

my gcc is in /usr/local/bin

Any input is appreciated.

ECB

Make sure /usr/local/bin is in your PATH when executing the script

# echo $PATH

If it isn't then the script won't find gcc. Add it to your path.

If that doesn't help, open the config.log which contains a list of tests configure has performed. It should tell you what the test was and why it failed. It may give you some clues as to what was missing.