Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x04
TWiki plugins: CalendarPlugin, DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Installation

-- IgorNikolic - 19 Oct 2006

Answer

ALERT! 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

Change status to:

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt Date::Calc_install_Errors_in_64bit_linux.txt r1 manage 10.5 K 2006-10-23 - 08:08 UnknownUser The error messages during installing Date::Calc
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-12-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.