Specifying alternate dirs

Other than editing the config.layout file, is it possible to specify
alternate directories at configure time?

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.

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
bottom)

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.

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_PATH = @CONFIG_FILE_PATH@
  • CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm
  • SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
    RT_VERSION_MAJOR = @RT_VERSION_MAJOR@
    RT_VERSION_MINOR = @RT_VERSION_MINOR@
    RT_VERSION_PATCH = @RT_VERSION_PATCH@
    — 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_PATH = @CONFIG_FILE_PATH@
  • CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm
  • SITE_CONFIG_FILE = $(LOCAL_ETC_PATH)/RT_SiteConfig.pm

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.

Hm. I sure thought that worked.

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.

We’re in the middle of some work to move all configuration into the DB
(aside from the database connection info)