All - I am trying to build packages using the spamassassin.spec file included with the SA .bz2 file. I get the error at the bottom of this message though, and I am not sure how to fix it.
I *think* I need to modify the line that looks like: CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS But I am not sure what to put there. Error I get: + /usr/bin/make spamc/libspamc.so /usr/bin/make -f spamc/Makefile spamc/libspamc.so make[1]: Entering directory `/usr/src/redhat/BUILD/Mail- SpamAssassin-3.0.0' gcc -rdynamic -Wl,-rpath,/usr/lib64/perl5/5.8.3/x86_64-linux-thread- multi/CORE spamc/libspamc.c spamc/utils.c \ -o spamc/libspamc.so -shared -ldl /usr/bin/ld: /tmp/ccWTQTnA.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /tmp/ccWTQTnA.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [spamc/libspamc.so] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/Mail- SpamAssassin-3.0.0' make: *** [spamc/libspamc.so] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.60853 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.60853 (%build) Any help greatly appreciated. -- A: Because people read from top to bottom. Q: Why is top-posting bad? Thomas Cameron, RHCE, CNE, MCSE, MCT