Question about compiling

Julien ÉLIE julien at trigofacile.com
Fri Jul 25 21:21:05 UTC 2008


Hi Brad,

> Is it fair to say that "make update" only updates the executables and leaves
> the config files and the database alone?

True (although it updates a bit more than only the executables).

./configure [--options]
make
su                       (be root for the update)
/etc/init.d/inn2 stop    (or equivalent)
make update
/etc/init.d/inn2 start   (or equivalent)
su news                  (be news again)

And look at /var/log/news/news.err to see errors.


    http://www.eyrie.org/~eagle/software/inn/docs/install.html#S1

§
You may be able to just update the binaries, scripts, and man pages by running:

    make update

after building INN and then comparing the new sample configuration files with
your current ones to see if anything has changed.  If you take this route, the
old binaries and scripts will be saved with an extension of .OLD so that you
can easily back out.  Note that if you do not want to have such backup copies,
you can deactivate this behaviour with

    make BACKUP_OPTION='' update

instead of a mere make update.  Be sure to configure INN with the same options that
you used previously if you take this approach (in particular, INN compiled with

    --enable-largefiles

can't read the data structures written by INN compiled without that flag, and vice versa).
If you don't remember what options you used but you have your old build tree, look
at the comments at the beginning of config.status.
§

-- 
Julien ÉLIE

« In girum imus nocte et consuminur igni. »



More information about the inn-workers mailing list