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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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 Action Size Date Who Comment
Texttxt Date::Calc_install_Errors_in_64bit_linux.txt manage 10.5 K 2006-10-23 - 08:08 IgorNikolic The error messages during installing Date::Calc
Topic revision: r5 - 2006-12-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.