[Rt-devel] Re: Specifying alternate dirs

Brent B. Powers bbp2006 at pathology.columbia.edu
Wed Feb 9 23:29:55 EST 2005

--On Wednesday, February 09, 2005 10:17 PM -0500 Jesse Vincent 
<jesse at bestpractical.com> wrote:

> On Wed, Feb 09, 2005 at 01:30:30AM -0500, Brent B. Powers wrote:
>> Other than editing the config.layout file, is it possible to specify
>> alternate directories at configure time?
> IIRC some of the --with-* that ./configure --help gives you should
> actually work.

Unfortunately, not, at least not for customdir. configure will accept 
--with-customdir=whatever (--customdir= is rejected), but it won't be 
reflected in Makefile. In fact, none of the special directories can be 
altered via the configure command line. I am so far away from a config/m4 
(I was about to say guru... how about just ) user,  that I've just given 
up. Note that I can change them via the config.layout file.... sort of.

In combination with other stuff going on, I'm trying to put the customdir 
someplace else. Unfortunately, even though I can get (again, via layout) 
the RT_LOCAL_PATH its descendants set, they're not used anywhere. (Uhmm, 
that's not true.... they're used to create the directories, but not to 
locate the RT_SiteConfig.pm file. The following patch fixes that (see 

While we're discussing this (?), I just put a note in the Wiki about 
possibly putting the database version in the database... it would make 
future upgrades easier, and would be a no-effect patch.


*** rt-3.4.0.orig/Makefile.in   Tue Feb  1 09:20:40 2005
--- rt-3.4.0/Makefile.in        Wed Feb  9 23:21:06 2005
*** 51,61 ****

  PERL                  =       @PERL@

- CONFIG_FILE           =       $(CONFIG_FILE_PATH)/RT_Config.pm
- SITE_CONFIG_FILE              =       $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
--- 51,56 ----
*** 112,117 ****
--- 107,121 ----
  # RT_READABLE_DIR_MODE is the mode of directories that are generally meant
  # to be accessible
  RT_READABLE_DIR_MODE  =       0755
+ ## Had to move this down, so that it would reflect changes to the
+ ## RT_LOCAL-* stuff
+ CONFIG_FILE           =       $(CONFIG_FILE_PATH)/RT_Config.pm
+ SITE_CONFIG_FILE      =       $(LOCAL_ETC_PATH)/RT_SiteConfig.pm

More information about the Rt-devel mailing list