SourceForge's compile farm is great if you don't have lots of different machines to test things on. The only problem is that their Solaris perl installation seems severely borked, in that it won't compile perl XS modules right.
Anyway, if you ever have to use cf.sourceforge.net, here's how you get XS modules to compile cleanly:
perl Makefile.PL CC=gcc LD=gcc LDDLFLAGS=-shared OPTIMIZE="-O2" CCCDLFLAGS=-fPIC
EBROKENPERL (Score:1)
Re:EBROKENPERL (Score:2)
Re:EBROKENPERL (Score:5, Insightful)
Seen this many times on a number of different vendors' boxes. The explaination goes like this:
Another good reason for building your own version of Perl and not relying on a pre-built version.
Reply to This
Parent
Re:EBROKENPERL (Score:3, Informative)
Last I checked, Solaris (version 7, I think, and possibly 8), needed me to do a lot of CC=gcc LD=gcc stuff to compile XS modules, but that was because I hadn't installed Sun's compiler. On some systems we made the changes directly to the Config.pm module and it worked.
However, I've left off [perl.org] trying to interfere with the system Perl on any machine. Even on my LFS [linuxfromscratch.org] machines there's a Perl compiled when installing the system in /usr/bin, but the Perl I use for programming and installing modules with is in /u
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:EBROKENPERL (Score:2, Interesting)
Re:EBROKENPERL (Score:1)