problems after installing GCC4 on RH 4 ES Server`
Hello all...
Don't know just how to present this problem, so I'll take the "I got here from there" approach to explain my prob. Please excuse any useless, incorrectly ordered or mis-posted information. Orig Prob: Too much SPAM (using sendmail)- searched RedHat.com, and found How to set up a home email server (without being spammed to death) by Stuart R. Kirk This sounded like what I need for my "small" server - only about 15 domains and 25-30 users, a single static IP using a "many-to-one" scheme to host the domains. This "How To" instructs me to insure the server has the following packages installed: dovecot sendmail sendmail-cf squirrelmail perl gcc. All except GCC seems to installed. Used Up2date to install GCC4, the only version it offered. Followed the instructions in the "How To" to download, install and configure MailScanner, SpamAssassin, and ClamAV. During the installation sequence there are "perl Makefile.PL", "make", "make test" and "make install" commands issued by the installing package, at this point "perl Makefile.PL" seems to run without errors, but I recieve an error that GCC is not found when it gets to "make", "make test" (and possibly :make install", too, but I never bothered to continue past "make test" due to the erro about not finding GCC). I do see /usr/bin/gcc4 (an actual file), and /usr/libexec/gcc (a folder), /usr/lib/gcc (a folder). CD to /usr/bin and execute gcc4 -v gives : Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --with-gxx-include-dir=/usr/include/c++/3.4.3 --enable-libgcj-multifile --enable-languages=c,c++,java,f95 --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.1 20070105 (Red Hat 4.1.1-53) I hope I have not put this in the wrong forum, or tried to give too much or useless info/results in this post, this being my 1st post here. I did try searching the forums for similar problems and solutions, but did not find any that seemed to address this problem in a manner I could understand. Regards... TexasMike |
Follow the instructions here and install the rpmforge-release, yum and related packages:
The related packages are: * sqlite * python-sqlite * python-elementtree * python-urlgrabber http://dag.wieers.com/rpm/FAQ.php#B When done type; yum install mailscanner clamav spamass-milter |
Lenard,
The rpmforge and yum are currently installing. Could you tell me just what this will do for my situation? Just trying to understand the reason and process. Regards... TexasMike |
All are already built for you, no reason to build anything!!
|
Lenard,
Thanks for the clarification. I'll get on this 1st thing Monday morning. Regards... TexasMike |
Lenard,
OK, all worked, except the "mailscanner" portion of this instruction: "When done type; yum install mailscanner clamav spamass-milter". I got the following when it got to mailscanner: # yum install mailscanner clamav spamass-milter Setting up Install Process Setting up repositories rpmforge 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 1.5 MB 00:07 rpmforge : ################################################## 6331/6331 Added 6331 new packages, deleted 0 old in 61.09 seconds Parsing package install arguments No Match for argument: mailscanner (Plus more output relating to the other pkgs, which finished without error). So.... I tried this: # up2date --install mailscanner Fetching Obsoletes list for channel: rhel-i386-es-4... Fetching Obsoletes list for channel: dag... Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- The following packages you requested were not found: mailscanner If I understand what was accomplished with these instructions, GCC is not being used (therefore not necessarily needed), and all the pkgs obtained via the command "yum install mailscanner clamav spamass-milter" are already compiled. Where might I find Mailscanner in "pre-compiled" format? Regards... TexasMike |
Hmmm, did a quick check........ it seems that the mailscanner rpm file is not available from Dag's site (rpmforge).
Visit here then: http://www.mailscanner.info/downloads.html Get the Stable version; Version 4.62.9-2 for RedHat, Fedora and Mandrake Linux (and other RPM-based Linux distributions) |
Lenard,
I followed the instructions below: Quote:
Quote:
The DL and installation of rpmforge-release, yum and related packages: * sqlite * python-sqlite * python-elementtree * python-urlgrabber appeared to go fine, but install of MailScanner appears to be problematic due to dependancies...(?) Am I correct in believing this is not a pre-compiled version, or are there many more dependancies that need to be resolved? Gosh, what a can of worms this is turning into!! Sorry for the large output quote, but thought it'd help if you saw it all.... TeaxsMike EDIT-1: Lenard, when I continue on with activation of MailScanner, the following is the result: Quote:
use Filesys::Df; TeaxsMike |
Hmmmm........
Quote:
|
Lenard,
used command up2date --install rpm-build Output was: Quote:
Quote:
TexasMike |
Lenard,
I discovered my error - I failed to go back and re-run MailScanner's install.sh after resolving probs with rpm-build. Re-ran the install.sh command for MailScanner, and it finished successfully!! I just opened my email prog Evolution on an UBUNTU box, and I now see emails with {Spam?}!! I think MailScanner is now tagging Spam as such??? I'll try this from my Vista and XP systems at home this evening and report the results back here. Wish me Luck!!!! regards... TexasMike |
Lenard,
I would like to thank you for all your advice, support, and tolerance of my ignorance. Thanks to you MailScanner is now up and running on RedHat 4ES server!! I know I have more to do to fine tune all this, but it's working, and marking mail with {SPAM?}. Now I gotta buy their book and learn more about this whole thing. You were very helpful, and I hope others will get some insight about this installation from these posts. The folks here at Linuxquestions.org forums ROCK!!! Again, Many Thanks!!! I'd consider this posting thread to be closed with successful results. Regards... TexasMike |
All times are GMT -5. The time now is 09:17 PM. |