[rt-devel] another Makefile bug

Michael mike at westphila.net
Mon Jun 5 16:18:37 EDT 2000


My apologies for introducing another issue :)
Should i perhaps put these into RT somewhere?

#
# RT_LOGFILE tells where to log stuff.  If you want to use syslog, get
# problems reported by mail or anything else, check etc/config.pm and
# the Log::Dispatch POD.
#

RT_LOGFILE              = ($RT_PATH)/rt.log

Should this not be $(RT_PATH) ?

Also, the Makefile doesnt do the inplace substitutions on
etc/config.pm, so it ends up looking like

[snip]

$Logger->add(Log::Dispatch::File->new
             ( name=>'rtlog',
               min_level=>'info',
               filename=>'!!RT_LOGFILE!!',
               mode=>'append',
               callback => sub {%p=@_; return "$p{message}\n"}
              ));



And a file named !!RT_LOGFILE!! is placed in the current directory ;)

When i look into this file i get:


	[root at beer]15:55/www/rt2/bin/cgi%  cat \!\!RT_LOGFILE\!\! 
	HTML::Mason::Interp::new: must specify value for data_dir
	HTML::Mason::Interp::new: must specify value for data_dir
	HTML::Mason::Interp::new: must specify value for data_dir

Being new to HTML::Mason, i'm not sure what this means, but
i'll see if i can't glean the problem from the perl source..


cheers,



_M.



-- 

Michael Jastremski ..                AIM:rstfinsyn
WORK:liquidation.com 	              ME:westphila.net/mike
PHOTO:opl.megaglobal.net ....        BIZ:megaglobal.net









More information about the Rt-devel mailing list