Tags:
create new tag
, view all tags

Question

When I run the configure script I get the following error:

Server error! The server encountered an internal error and was unable to complete your request.

Error message: Premature end of script headers: configure

Error 500 server-name 11/20/06 11:37:42 Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4

I've tried running a test perl script (read:Hello World) from the same location and it worked without error.

I've also tried inserting print "Content-type: text/html\n\n"; and use CGI::Carp qw/fatalsToBrowser/; into the configure script, but get no new information.

I'm running Winows XP SP2 with MS Services for UNIX with Xampp 1.5.3a

  • Apache 2.2.2
  • MySQL 5.0.21
  • PHP 5.1.4 + PHP 4.4.2-pl1 + PEAR
  • PHP-Switch win32 1.0 (use the "php-switch.bat")
  • XAMPP Control Version 2.3 from www.nat32.com
  • XAMPP Security 1.0
  • SQLite 2.8.15
  • OpenSSL 0.9.8b
  • phpMyAdmin 2.8.1
  • ADOdb 4.80
  • Mercury Mail Transport System v4.01b
  • FileZilla FTP Server 0.9.16c
  • Webalizer 2.01-10
  • Zend Optimizer 3.0.0

Not sure what I've done wrong here, any input would be great!

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP SP2 w/ SFU
Web server: Apache 2.2.2
Perl version: 5.?
Client OS: Windows 2000 SP4
Web Browser: Firefox 2.0
Categories: Installation

-- WilliamJohnston - 20 Nov 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.

What is Apache's error_log saying? Some environments are picky with permissions of the cgi scripts, where 775 does not work, and 755 does.

-- PeterThoeny - 21 Nov 2006

[Mon Nov 20 12:21:03 2006] [error] [client 172.16.5.66] Premature end of script headers: configure [Mon Nov 20 12:21:03 2006] [error] [client 172.16.5.66] Can't locate strict.pm in @INC (@INC contains: .) at C:/Program Files/xampp/htdocs/TWiki/bin/configure line 47.\r [Mon Nov 20 12:21:03 2006] [error] [client 172.16.5.66] BEGIN failed--compilation aborted at C:/Program Files/xampp/htdocs/TWiki/bin/configure line 47.\r

-- WilliamJohnston - 22 Nov 2006

Something is wrong with the Perl setup on your system, strict.pm is a standard Perl module. I am not familiar with Perl on Windows, but you might need to rename configure to configure.pl

-- PeterThoeny - 22 Nov 2006

 
Change status to:
Topic revision: r5 - 2006-12-29 - 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.