./configure unclear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have some remarks and questions about ./configure --help

*) ./configure  --help says:

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

  This is not true :).  Cyrus installs here by default :

prefix = /usr/local
exec_prefix = ${prefix}
cyrus_prefix = /usr/cyrus

Some files get installed in /usr/cyrus/bin too.

*) --with-cyrus-prefix --prefix  --with-service-path

Now that are a lot of options and there explanation isn't that clear:

--with-cyrus-prefix=DIR    use DIR as cyrus server install directory
--with-service-path=DIR    use DIR as service install directory
--prefix=PREFIX   install architecture-independent files in PREFIX
                          [/usr/local]
--exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]


Changing --prefix doesn't change --with-cyrus-prefix . I think it should be that if I change --prefix everything gets installed under --prefix. I do not know why cyrus has the --with-cyrus-prefix option. So I can't say if it reasonable or not (Or that I'm unreasonable :).

To summerize, you have to run configure with --prefix and --with-cyrus-prefix if you want to make sure cyrus installs all files under a different directory. In my case I (want to) install my cyrus under /usr/cyrus-version. And I then link /usr/cyrus to /usr/cyrus-version. I then add /usr/cyrus/man then to my man path. So no mather what cyrus version is running I always get the right man pages.

Maybe the help message should be made more clearer?



--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert@xxxxxxxx          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux