Issue 107: Configure script doesn't honour the standard option "prefix"
Project Member Reported by mkati...@gmail.com, Jul 27, 2009
Its a normal practice for users to specify the prefix path during
configure. Currently paths are hardcoded and the installation doesn't
honour the path provided by user.

/home/mkatiyar/personal/ohsm/fscops> make install
mkdir /etc/ohsm
mkdir: cannot create directory `/etc/ohsm': Permission denied
make: *** [install] Error 1

/home/mkatiyar/personal/ohsm/fscops> head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Online Hierarchical Storage Manager configure Version
1.1.1, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure --prefix=/tmp
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thanks -
Manish
Jul 27, 2009
Project Member #1 sandeepksinha
Hi Manish,
I understand you needs but the only point where we actually hard code is the Make
install part.

The reason for the same being that we move all the dtd files to the /etc/ohsm. So,
that whenever the user writes his Policy(XML) files, it needs to get validated.

Generally you would expect that even if the user has removed the sources directory
after a Make install, everything should work for you.
So, as a common place holder we decided to move it to /etc/ohsm. Also, this directory
will also be used to hold these policies across reboots. We have decided to have it
in binary form and during boot it should pick it from /etc/ohsm and do a OHSM enable
on any filesystem, if required.

Also, I understand the need for honoring the basic functionalities offered by tools
like configure, but what if your needs are different.

In your case, it did honor --prefix but got masked out by the hard coded stuffs.
What do you suggest ?
Aug 1, 2009
Project Member #2 sandeepksinha
Manish, what is you take on this....
Do you feel we should have this flexibility.....

I think you did take a call on this some time back.. But I am unable to find that 
mail.

Assigning it to charles for now.
Owner: charles.drawin