All -

I am running Fedora Core 2 on an AMD Athlon(tm) 64 Processor 3000+.  It
is up to date with the latest packages available.

I grabbed the latest SA tarball from a mirror, and ran rpmbuild -ta
against it.  It fails with this:

Manifying blib/man3/Mail::SpamAssassin::DnsResolver.3pm
Manifying blib/man3/Mail::SpamAssassin::SubProcBackChannel.3pm
Manifying blib/man3/Mail::SpamAssassin::Plugin::RelayCountry.3pm
+ /usr/bin/make spamc/libspamc.so
/usr/bin/make -f spamc/Makefile spamc/libspamc.so
make[1]: Entering directory `/home/thomas.cameron/redhat/BUILD/Mail-
SpamAssassin-3.1.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/cc2TpgXy.o: relocation R_X86_64_32S can not be used
when making a shared object; recompile with -fPIC
/tmp/cc2TpgXy.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [spamc/libspamc.so] Error 1
make[1]: Leaving directory `/home/thomas.cameron/redhat/BUILD/Mail-
SpamAssassin-3.1.0'
make: *** [spamc/libspamc.so] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.97589 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.97589 (%build)

Odd thing is, if I just grab the tarball and run

perl Makefile.PL < /dev/null && make && make install DESTDIR=/var/tmp/sa

it installs just fine to /var/tmp/sa

Thoughts?

Thomas

Reply via email to