Tags:
create new tag
view all tags

SID-02414: Error Running Configure

Status: Answered Answered TWiki version: 6.1.0 Perl version: 5.28.1
Category: CategoryInstallation Server OS: centos 7.6, kernel 3.10.0 Last update: 6 years ago

Hi - I am installing the latest twiki verison fresh on a Centos 7 server - I am getting this error though when running bin/configure:

Failed to load the perl module File::Temp. The module was found at /usr/local/lib/perl5/5.28.1/File/Temp.pm

Please ensure that:

  1. File::Temp is installed,
  2. that the module is available on the @INC path,
  3. that the webserver user (apache) has permission to read the File/Temp.pm file.
The detailed error seen was: Can't load '/usr/local/lib/perl5/5.28.1/x86_64-linux/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/local/lib/perl5/5.28.1/x86_64-linux/auto/Fcntl/Fcntl.so: undefined symbol: PL_stack_sp at /usr/share/perl5/XSLoader.pm line 68. at /usr/local/lib/perl5/5.28.1/x86_64-linux/Fcntl.pm line 66. Compilation failed in require at /usr/local/lib/perl5/5.28.1/File/Temp.pm line 15. BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.28.1/File/Temp.pm line 15. Compilation failed in require at (eval 16) line 2. BEGIN failed--compilation aborted at (eval 16) line 2.

I have File::Temp installed though:

# cpan -l | grep -i temp Locale::Maketext::Extract::Plugin::TextTemplate 1.00 File::Temp 0.2309 File::Temp 4.40 CGI::File::Temp 4.13 File::Temp 0.2304

Can anyone help and point me in the right direction?

-- TWiki Guest - 2019-09-25

Discussion and Answer

It looks like something is wrong with the File::Temp and dependencies. To debug try this in shell as root and apache:

perl -e 'use File::Temp; print "$File::Temp::VERSION\n"'

I also recommend to google for undefined symbol: PL_stack_sp

-- Peter Thoeny - 2019-09-25

Problem is fixed now - in the bin/LocalLib.cfg there was this section:

------------++ Path to TWiki's CPAN base. # OPTIONAL: # TWiki ships with some CPAN modules, such as File::Temp. They load after # the default Perl libs. If you want to load them before the system libs, # uncomment the following line.

#$CPANBASE = "$twikiLibPath/CPAN/lib/";

The bottom line was uncommented - when I commented it out it all started working.

-- TWiki Guest - 2019-09-26

I am glad it's fixed.

-- Peter Thoeny - 2019-09-30

      Change status to:
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.
SupportForm
Status Answered
Title Error Running Configure
SupportCategory CategoryInstallation
TWiki version 6.1.0
Server OS centos 7.6, kernel 3.10.0
Web server Apache 2.4.6
Perl version 5.28.1
Browser & version Firefox 69.0
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2019-09-30 - 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.