Great Circle Associates Majordomo-Users
(October 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re/3: Where is getopts.pl ?
From: Michael Carradine <carradine @ unimog . net>
Date: Wed, 29 Oct 1997 11:44:29 -0800
To: majordomo-users @ GreatCircle . COM

 Thanks again Jason and Sandy! 

At 11:11 PM 10/28/97 -0600, Jason L Tibbitts III wrote:
:This works for me:
:perl -e 'print join(":",@INC),"\n"'

 This returns...

 /usr/libdata/perl./usr/libdata/perl/include..

 Checking the path I do find the directories!  The first has perl
 support files and includes getopts.pl.  The second directory only
 has *.ph files (?).  The file attributes are...

 -r-xr-xr-x  1 bin   bin      955 Jan 20  1997 getopts.pl


Previously I wrote:
:> Sandy, The getpots.pl file is indeed in directory /usr/local/lib/perl5
:> while majordomo is in /usr/home/landrover/usr/local/majordomo
:> The first line of the 'resend' file reads:  # !/usr/bin/perl5  
:> Maybe the pointer to the directory is wrong?

 Geeez!!  Seems there are perl files everywhere!  Checking directories
 referred to in the program, here's is what I have:

 /usr/libdata/perl          (perl support files)

 /usr/libdata/perl5         (perl5 support files & directories, all set
                            for read only.  No getopts.pl file)
 /usr/libdata/perl5/Getopt  (directory with the following files..)
 -r--r--r--   1 root  wheel  27244 Jan 20  1997 Long.pm
 -r--r--r--   1 root  wheel   3089 Jan 20  1997 Std.pm      

 /usr/bin                   (no getopts.pl, but with other files...)
 -rwxr-xr-x   1 root  wheel    449995 Oct  3 15:02 .perl5
 -r-xr-xr-x   1 bin   bin      249856 Jan 20  1997 perl
 -rwxr-xr-x   1 root  wheel    454090 Oct  3 15:05 perl5
 lrwxr-xr-x   1 root  wheel        26 Oct 14 20:07 perl5.00302 ->
                                        ../contrib/bin/perl5.00302
 lrwxr-xr-x   1 root  wheel        26 Oct 14 20:07 perl5.dist ->
                                        ../cont
 -rwxr-xr-x   1 root  wheel    454091 Oct  3 15:03 sperl
 -rwxr-xr-x   1 root  wheel    454091 Oct  3 15:03 sperl5
 lrwxr-xr-x   1 root  wheel        27 Oct 14 20:07 sperl5.00302 ->
                                        ../contrib/bin/sperl5.00302
 lrwxr-xr-x   1 root  wheel         6 Oct 14 20:07 sperl5.00403 ->
                                        sperl5
 lrwxr-xr-x   1 root  wheel        27 Oct 14 20:07 sperl5.dist ->
                                        ../contrib/bin/sperl5.00302

 /usr/local/lib/perl5        (lots of support files, all read only)
 -r--r--r--   1 root  wheel     942 Oct  3 15:21 getopts.pl


 Question:

 Should the 'resend' file # !/usr/bin/perl5  be pointing to
 /usr/libdata/perl  ??

 Is it sufficient that [perl -e 'print join(":",@INC),"\n"'] returns...
 /usr/libdata/perl./usr/libdata/perl/include..   ???


At 11:11 PM 10/28/97 -0600, Jason L Tibbitts III further wrote:
:The point is, your perl is not installed correctly and you need to get it
:installed correctly or things (not just Majordomo, but anything which uses
:part of the standard perl library) aren't going to run.  You can try
:copying the libraries into the Majordomo directory but that may not work
:and even if it does then it's a hack and other things might break.
:
:Perl is easy to compile.  Why not just do it?

 Seems this should be straightened out by the support people at my
 server, and the programs should point to the correct perl installation
 rather than me trying to run my own copy of perl.  Besides taking up
 more disk space, I would then still have to know which version of perl
 and the support files to use, as well as how to make majordomo use or
 point to these files.


Ooops... this just in from Jack Schnapper <jack@mailzone.com> who also is
customer/user at the same server:
:As for getpots.pl, I found it and can help you there.  You'll need to back
:up a bit, but it works.  You need to tar majordomo version 1.94.1 as that has
:everything in it, including a full Perl5 release.  The getpots.pl is there.
:Just do tar that one and then tar majordomo.tar (which is simply a link to
:majordomo version 1.94.3) and *that* problem will go away.
:
:Resend now works fine for me.

 Perl5?  Is my setup pointing to an old version of perl?

 I don't undersand why this would work, but I'll have to try it just
 to get majordomo's 'resend' working.  Later on perl and majordomo need
 to be set up properly.

 Thanks again Jason, Sandy, and Jack!  More later,

-Michael Carradine 


 www.landrover.net


Indexed By Date Previous: RE: permanent fatal errors
From: Joe Saladino <joe@bram.net>
Next: archives exist and archiving is working, cannot get INDEX of them
From: Azat Badretdinov <azat@guitar.rockefeller.edu>
Indexed By Thread Previous: Re: Masquerading the From: line?
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: archives exist and archiving is working, cannot get INDEX of them. Solved. Forget it.
From: Azat Badretdinov <azat@guitar.rockefeller.edu>

Google
 
Search Internet Search www.greatcircle.com