Question
Hello people,
Im having problems installing the plugin on a
RedHatEnterpriseLinux 64bit machine.
When runing the _install.pl script, things fail with
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libc.so when searching for -lc
etc...
I cant install the Date::Calc and the HTMLCalendar ...
I realize this is a Perl problem, not speciffically
CalendarPlugin, but since other Perl modules do compile I figured maybe here somebody has also seen this problem. Google is no help...
Any suggestions how to get around this ?
Thanks !
Environment
--
IgorNikolic - 19 Oct 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Try the CPAN installer, see
HowToInstallCpanModules.
--
PeterThoeny - 21 Oct 2006
Hello Peter, That is the first thing I did, and I get exactly the same problem...
--
IgorNikolic - 21 Oct 2006
What error message do yoy get when you do a:
cpan> install Date::Calc
--
PeterThoeny - 22 Oct 2006
Here is the full dump of the output :
http://phpfi.com/166366
I didnt want to paste 3 pages of errors...
Igor
--
IgorNikolic - 22 Oct 2006
Thanks. BTW, you can also attach files here. I am copying the part that failed in building Date::Calc :
gcc -shared Calc.o DateCalc.o -o blib/arch/auto/Date/Calc/Calc.so
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Date/Calc/Calc.so] Error 1
/usr/bin/make -- NOT OK
Sorry, I do not know how to fix that. Someone else might chime in. You could ask also in a Perl or CPAN forum.
--
PeterThoeny - 23 Oct 2006
Thanks for looking at this. I'll go over to the CPAN forums,and report back on the results.
--
IgorNikolic - 23 Oct 2006