SID-00030: Check Perl Installation
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
|
| Category: |
CategoryInstallation |
Server OS: |
Ubuntu 8.04 |
Last update: |
17 years ago |
Hi - I am working with the
TWiki04x02.TWikiInstallationGuide and in step 4 it indicates to check to verify the path of Perl. My install does not appear to have Perl at the default but there are some choices I don't want to make assumptions about. There are two folders for Perl5 and 3 folders for Perl. Can I use one of the Perl5 folders? If so, one is located in /usr/lib and the other in /usr/share. Which one seems correct to point Perl Scripts to?
Also, as part of checking the path to Perl the install instructions say to check that the Perl CGI Library is installed. How is that done?
Thanks.
--
ScottFreeman - 14 Jan 2009
Discussion and Answer
Do a
which perl to find out which Perl is in your path. Using that for TWiki is a safe bet. If needed change the shibang line (
#!/usr/bin/perl) of all scripts in the
twiki/bin directory.
--
PeterThoeny - 14 Jan 2009
Thanks, is there a separate check to see that the CGI Library is installed?
--
ScottFreeman - 14 Jan 2009
Run the configure scriot, it will tell you what Perl libs are required and installed/missing.
--
PeterThoeny - 14 Jan 2009
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.