Warnings during make install

I’ve got perl 5.005_03 (stock FreeBSD 4.3). During install, I get
this warning, and then the man pages are installed in the
/usr/local/lib/perl5/5.00503/man/man3 directory.

‘INSTALLSITEMAN1DIR’ is not a known MakeMaker parameter name.
‘INSTALLSITEMAN3DIR’ is not a known MakeMaker parameter name.

And indeed, the Make Maker man page doesnt’ mention these as existing.

Patch to fix rt-2.0.1:

— #Makefile~ Mon Jul 23 17:03:13 2001
+++ Makefile Mon Jul 23 17:03:13 2001
@@ -254,8 +254,8 @@
chmod -R $(RT_READABLE_DIR_MODE) $(RT_LIB_PATH)
( cd ./lib;
$(PERL) Makefile.PL INSTALLSITELIB=$(RT_LIB_PATH) \

  •   	      INSTALLSITEMAN1DIR=$(RT_MAN_PATH)/man1 \
    
  •   	      INSTALLSITEMAN3DIR=$(RT_MAN_PATH)/man3 \
    
  •   	      INSTALLMAN1DIR=$(RT_MAN_PATH)/man1 \
    
  •   	      INSTALLMAN3DIR=$(RT_MAN_PATH)/man3 \
      && make \
      && make test \
      && $(PERL) -p -i -e " s'!!RT_VERSION!!'$(RT_VERSION)'g;" blib/lib/RT.pm ;\
    

I want to use external authentication to access RT. Specifically, I have a
function that authenticates and if the auth is successful, the function
returns the RT username (if unsuccessful it returns -1). I would then bypass
the autohandler’s password checking feature and use a session variable
holding the username that the auth returns to ensure that someone is logged
in. Does the username that the external auth returns need to be used as
$user in the autohandler line below in order to access RT?
$session{‘CurrentUser’}->Load($user);

O- ~ARK

That’s already in the pre 2.0-.2 builds.On Mon, Jul 23, 2001 at 05:05:34PM -0400, Vivek Khera wrote:

I’ve got perl 5.005_03 (stock FreeBSD 4.3). During install, I get
this warning, and then the man pages are installed in the
/usr/local/lib/perl5/5.00503/man/man3 directory.

‘INSTALLSITEMAN1DIR’ is not a known MakeMaker parameter name.
‘INSTALLSITEMAN3DIR’ is not a known MakeMaker parameter name.

And indeed, the Make Maker man page doesnt’ mention these as existing.

Patch to fix rt-2.0.1:

— #Makefile~ Mon Jul 23 17:03:13 2001
+++ Makefile Mon Jul 23 17:03:13 2001
@@ -254,8 +254,8 @@
chmod -R $(RT_READABLE_DIR_MODE) $(RT_LIB_PATH)
( cd ./lib;
$(PERL) Makefile.PL INSTALLSITELIB=$(RT_LIB_PATH) \

  • 	      INSTALLSITEMAN1DIR=$(RT_MAN_PATH)/man1 \
    
  • 	      INSTALLSITEMAN3DIR=$(RT_MAN_PATH)/man3 \
    
  • 	      INSTALLMAN1DIR=$(RT_MAN_PATH)/man1 \
    
  • 	      INSTALLMAN3DIR=$(RT_MAN_PATH)/man3 \
    && make \
    && make test \
    && $(PERL) -p -i -e " s'!!RT_VERSION!!'$(RT_VERSION)'g;" blib/lib/RT.pm ;\
    

Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

As I sit here alone looking at green text on a laptop in a mostly bare room listening
to loud music wearing all black, I realize that that it is much less cool in real life :slight_smile:
–Richard Tibbetts

sub FreezeLimits {
my $self = shift;
require FreezeThaw;
return (FreezeThaw::freeze($self->{‘TicketRestrictions’},
));
}

I just upgraded to 2.0.2 and Mason had issues with this. Should it be:

sub FreezeLimits {
my $self = shift;
require FreezeThaw;
return (FreezeThaw::freeze($self->{‘TicketRestrictions’}));
}

O- ~ARK

This is the specific error I got:

error in file: /opt/rt2/WebRT/data/obj/STANDARD/Search/Listing.html
line 126: Can’t locate object method “FreezeLimits” via package
"RT::Tickets" (perhaps you forgot to load “RT::Tickets”?)

context: …
122: $_out->(’/Search/Listing.html?ClearRestrictions=1">New search

123: <A HREF="’);
124: $_out->($_escape->(( $RT::WebPath),‘h’));
125: $_out->(’/Search/Listing.html?Bookmark=’);
126: $_out->($_escape->(($session{‘tickets’}->FreezeLimits()),‘u’,‘h’));
127: $_out->(’&TicketsSortBy=’);
128: $_out->($_escape->(($session{‘tickets_sort_by’}),‘h’));
129: $_out->(’&TicketsSortOrder=’);
130: $_out->($_escape->(($session{‘tickets_sort_order’}),‘h’));

O- ~ARK

ayan.kayal@yale.edu wrote a 0.6KB message. i replied …
sub FreezeLimits {
my $self = shift;
require FreezeThaw;
return (FreezeThaw::freeze($self->{‘TicketRestrictions’},
));
}

FreezeThaw is a new dependency. You need to install it from CPAN.
Do a ‘make testdeps’ and you’ll see that its missing…

best,

_M.

I just upgraded to 2.0.2 and Mason had issues with this. Should it be:

sub FreezeLimits {
my $self = shift;
require FreezeThaw;
return (FreezeThaw::freeze($self->{‘TicketRestrictions’}));
}

O- ~ARK


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

Michael Jastremski
openphoto.net/mike

I got it from CPAN. ‘make testdeps’ shows it found.

O- ~ARK

I got it to work… Sorry for bugging you guys…

O- ~ARK