[pm-h] Perl Modules at HG

Mike Flannigan mikeflan at att.net
Sat Dec 1 08:58:01 PST 2018


Let me be a little more verbose here.

The program works fine if you click on one of those
words - so this link works:
http://mflan.com/cgi-bin/qa.cgi?name=muscle

If you put a word (and word) in the box and hit
submit, it does not work.

If you put muscle in that box and hit submit it
does not work.

I need File::Find installed, that is for sure.
I may need more things after that.


Mike



On 12/1/2018 9:40 AM, Julian Brown wrote:
> So changing the shebang to #!/usr/bin/perl fixed your problem?
>
> Julian
>
> On Sat, Dec 1, 2018 at 8:56 AM Mike Flannigan <mikeflan at att.net 
> <mailto:mikeflan at att.net>> wrote:
>
>
>     Thanks Julian,
>
>     Using that shebang produced a 500: Internal Error
>
>
>     Before yesterday I was using
>     #!/usr/local/bin/perl
>     It worked long ago with that.
>
>     Now I am using
>     #!/usr/bin/perl
>     use cPanelUserConfig;
>
>     just because they say to use that.
>
>
>     The website is this:
>     http://www.mflan.com/cgi-bin/qa.cgi
>
>     Just put 'and' or 'doctor' in the search
>     window and hit Submit.  It should produce
>     a list of questions like when you click
>     on any of the bold words on the right side
>     of the page.
>
>
>     Yes, it is a cPanel server (in my opinion).
>
>
>
>     Mike
>
>
>     On 12/1/2018 8:40 AM, Julian Brown wrote:
>>     If your "script" has a shebang at the top, make sure it says:
>>
>>     #!/usr/local/cpanel/3rdparty/bin/perl
>>
>>     That will ensure you are using the cPanel Perl which has all
>>     those modules installed.
>>
>>     Julian
>>
>>     On Sat, Dec 1, 2018 at 8:39 AM Julian Brown <jlbprof at gmail.com
>>     <mailto:jlbprof at gmail.com>> wrote:
>>
>>         Does the HG server that is being used is it a cPanel server? 
>>          If so everything you need should already be there.
>>
>>         Julian
>>
>>         On Sat, Dec 1, 2018 at 6:29 AM Mike Flannigan
>>         <mikeflan at att.net <mailto:mikeflan at att.net>> wrote:
>>
>>
>>             A sign of the times?
>>
>>             I have a CGI program on HostGator that worked fine
>>             for years.  Now it takes the form input, recreates
>>             the webpage, but does not produce any output.  I
>>             have this set:
>>             use CGI::Carp qw(fatalsToBrowser);
>>             but there are no errors given.
>>
>>             I think it broke when they moved me to a new
>>             server many months ago.
>>
>>             I notice that File::Find, which the program uses, is
>>             not listed as an installed module.
>>
>>             ExtUtils::MakeMaker     7.34
>>             File::Copy::Recursive     0.44
>>             File::HomeDir     1.004
>>             File::Path     2.16
>>
>>             and 40+ others are installed, but not File::Find.
>>
>>             Wouldn't that produce an error when it saw:
>>             use File::Find in the program?
>>
>>
>>             So I call up support.  1st tier couldn't handle it,
>>             so they bumped it up to tier 2 support.  Mine is
>>             the first call the tier 2 guy has ever had regarding
>>             Perl modules!
>>
>>             When we try to install File::Find it gives error:
>>
>>             Ping:0.000100851058959961 (ticks) Testing connection
>>             speed to
>>             208.43.108.66 using pureperl...(using cached speed)...Done
>>
>>             Ping:0.000107288360595703 (ticks) Testing connection
>>             speed to
>>             66.23.237.210 using pureperl...(using cached speed)...Done
>>
>>             Ping:0.000108242034912109 (ticks) Testing connection
>>             speed to
>>             216.14.113.158 using pureperl...(using cached speed)...Done
>>
>>             Three usable fallback mirrors located
>>
>>             Fetching http://www.namesdir.com/mirrors/cpan/index.html
>>             (connected:0).......(request attempt 1/12)...Resolving
>>             www.namesdir.com <http://www.namesdir.com>...
>>             (resolve attempt
>>             1/65)... at 69.64.50.156......receiving......request
>>             <mailto:1/65)... at 69.64.50.156......receiving......request>
>>             success......Done
>>
>>             Mirror Check passed for www.namesdir.com
>>             <http://www.namesdir.com> (/index.html)
>>
>>             Checking C compiler....Could not locate an executable
>>             "gcc" binary....Done
>>             ** Unrecoverable Error **
>>
>>             The C compiler is not functional and auto repair failed.
>>
>>             Perl module installs require a working C compiler.
>>
>>             Please repair the C compiler and try again.
>>
>>             **************************
>>
>>
>>             So I wait for a C compiler expert to spring into action.
>>             It's been less than 24 hours so far and this is very
>>             low priority for me.  I will wait for incident number
>>             09337722 to be resolved.
>>
>>
>>             Mike
>>
>>
>
>
>     _______________________________________________
>     Houston mailing list
>     Houston at pm.org <mailto:Houston at pm.org>
>     https://mail.pm.org/mailman/listinfo/houston
>     Website: http://houston.pm.org/
>
>
> _______________________________________________
> Houston mailing list
> Houston at pm.org
> https://mail.pm.org/mailman/listinfo/houston
> Website: http://houston.pm.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/houston/attachments/20181201/3faf8ebb/attachment-0001.html>


More information about the Houston mailing list