aquagerbil

Member
Mar 17, 2004
11
0
151
I do not think thsi is specifically a cpanel issue, but I am hoping someone may had the same or simialr problem and can point me in the right direction.

My spamd is failing so I tried to run the /scripts/fixspamassassinfailedupdate script. That fails because it says gcc can't compile executables.

checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [spamc/Makefile] Error 77
/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible
is the exact thing it says.


I confirmed that it is not disabled in WHM.

I also tried /fixeverything script as well as the gcc3 (which fails with the lasty part being this:

make: *** [install-gcc] Error 2
Any ideas?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
You're not out of disk space are you?

You could also try clearing out /home/.cpan

rm -Rfv /home/.cpan/

Then try installing spamassassin:

/scripts/perlinstaller --force Mail::SpamAssassin

If it still fails, navigate through the directories to the SpamAssassin build under /home/.cpan and have a look for the config.log file and see where it's actually failing.
 

aquagerbil

Member
Mar 17, 2004
11
0
151
As it turns out, I was not out of diskspace or anything as easy as that.

About half of my server is gone (I mean half of the files). I am having to have the OS reloaded and hope i can get the accounst restores asap. What a disaster.

Thanks for the help though.