LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-06-2003, 10:01 PM   #1
Zeshan
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Exclamation Perl Install Problem


I recently install RH 9 on my machine, Trying to configure Apache web server along with Perl. I successfully configured the server and installed the perl on it. My questions:

I placed /root/Perl-5.8.0 binaries downloaded from CPAN.org and install the perl as directed by the readme file with it. It got installed successfully, my questions are:

1- what's going to be default path for perl in my scripts?
/usr/bin/perl OR /usr/local/bin/perl ?

2- What additional configuration do I need to do after final installation i.e. 'make install'

3- I am getting premature script header (500 internal server error) for my simplest script when I run this in browser, but when I run the script in the Terminal it runs fine?

4-this shows I have no problems with the script as it runs fine in the terminal, there must be some problem with perl or with installation.

5- I have double checked the causes for internal server error 500, like setting permission, verifying the paths etc, but of no use.

Any ideas?

Thanks for any input.

Zeshan.
 
Old 09-06-2003, 11:29 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 328

Rep: Reputation: 31
First off, why did you have to install perl from CPAN - Redhat comes with all installed (unless you say no).

Do a "which perl" to see the path.

I don't think your diagnosis is right. The fact that the script runs in a terminal doesn't mean it's also producing the right html output and required strings. There is a log file for the http server where it says exactly what's wrong - somewhere on /var/log/http or so.

Hope it helps,
mlp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
Perl and GD module install problem timfair Linux - Software 0 09-17-2003 08:47 PM
perl-module Net::RawIP - install problem nic_d Linux - Software 0 07-06-2002 07:15 PM


All times are GMT -5. The time now is 06:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration