Thread View: news.software.nntp
9 messages
9 total messages
Started by Avon Kerr
Sat, 26 Sep 2015 06:47
Upgrading from 2.6.0rc to 2.6.0
Author: Avon Kerr
Date: Sat, 26 Sep 2015 06:47
Date: Sat, 26 Sep 2015 06:47
31 lines
1962 bytes
1962 bytes
I have not run an upgrade process before so just looking for some guidelines please. My plan would be to 1) shut all inn processes down 2) change to the directory where I have unpacked the .tar file for 2.6.0 3) run ../configure --with-perl --with-openssl --prefix=/usr/lib/news --libdir=/ usr/lib/news --mandir=/usr/share/man --sysconfdir=/etc/news --includedir=/ usr/include --with-db-dir=/var/lib/news --with-filter-dir=/etc/news/ filter --with-log-dir=/var/log/news --with-run-dir=/run/news --with-spool- dir=/var/spool/news --with-tmp-dir=/var/spool/news/incoming/tmp --with- http-dir=/var/www/inn --with-libperl-dir=/usr/share/perl5 --with-krb5=/usr --with-sasl=/usr --with-sendmail=/usr/sbin/sendmail --with-zlib=/usr make This is what I used when I complied rc2 4) become root 5) run make update (last time it was make install) ... so does the above cover it? Do I need to consider anything else? With thanks, Paul. -- Agency News | news.bbs.geek.nz
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Julien ÉLIE
Date: Sat, 26 Sep 2015 07:49
Date: Sat, 26 Sep 2015 07:49
39 lines
2500 bytes
2500 bytes
Hi Paul, > I have not run an upgrade process before so just looking for some > guidelines please. > > My plan would be to > > 1) shut all inn processes down > 2) change to the directory where I have unpacked the .tar file for 2.6.0 > 3) run > > ./configure --with-perl --with-openssl --prefix=/usr/lib/news --libdir=/ > usr/lib/news --mandir=/usr/share/man --sysconfdir=/etc/news --includedir=/ > usr/include --with-db-dir=/var/lib/news --with-filter-dir=/etc/news/ > filter --with-log-dir=/var/log/news --with-run-dir=/run/news --with-spool- > dir=/var/spool/news --with-tmp-dir=/var/spool/news/incoming/tmp --with- > http-dir=/var/www/inn --with-libperl-dir=/usr/share/perl5 --with-krb5=/usr > --with-sasl=/usr --with-sendmail=/usr/sbin/sendmail --with-zlib=/usr > make > > This is what I used when I complied rc2 > > 4) become root > 5) run make update (last time it was make install) > > .. so does the above cover it? Do I need to consider anything else? I would to step 1 (shut down current INN processes) just before step 5 (make update). INN can go on working while you're building a new version. Step 6 is of course to start INN :) -- Julien ÉLIE « Il est difficile de discuter avec des gens qui ne peuvent pas entendre et qui ne veulent pas entendre. » (Julius Welhausen)
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Avon Kerr
Date: Sat, 26 Sep 2015 10:42
Date: Sat, 26 Sep 2015 10:42
20 lines
1502 bytes
1502 bytes
On Sat, 26 Sep 2015 09:49:03 +0200, Julien ÉLIE wrote: > > I would to step 1 (shut down current INN processes) just before step 5 > (make update). > INN can go on working while you're building a new version. > Step 6 is of course to start INN :) Thanks :) OK I will look to tackle this update over the next day or so. Best, Paul -- Agency News | news.bbs.geek.nz
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Avon Kerr
Date: Sun, 27 Sep 2015 06:40
Date: Sun, 27 Sep 2015 06:40
19 lines
1548 bytes
1548 bytes
On Sat, 26 Sep 2015 22:42:29 +1200, Avon Kerr wrote: > OK I will look to tackle this update over the next day or so. Righto... all seems to have gone smoothly. I have migrated from 2.6.0rc2 to the full 2.6.0 :-) Will keep an eye on things and report anything that seems amiss etc. Julien - what changes to any configuration files would I need to check given I migrated from rc2 to the full version? Best, Paul -- Agency News | news.bbs.geek.nz
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Julien ÉLIE
Date: Sun, 27 Sep 2015 09:58
Date: Sun, 27 Sep 2015 09:58
31 lines
2321 bytes
2321 bytes
Hi Paul, > Righto... all seems to have gone smoothly. I have migrated from 2.6.0rc2 > to the full 2.6.0 :-) That's great! > Julien - what changes to any configuration files would I need to check > given I migrated from rc2 to the full version? As for configuration files, the only difference between these two versions is a change in default values. The samples shipped with INN were updated accordingly. innfeed.conf: increase max-queue-size from 5 to 20, enable use-mmap by default. inn.conf: make use of the vastly expanded storage and RAM commonly available today, by changing datamovethreshold (from 8192 to 16384), msgidcachesize (from 16000 to 64000), overcachesize (from 64 to 128), wireformat (now enabled by default); enable the generation of status reports and performance timings (logstatus and nnrpdoverstats parameters, with a frequency of 10 minutes for status and timer parameters). -- Julien ÉLIE « Soldats, du haut de ces pyramides, vingt siècles nous contemplent. » (Napoléon)
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Ray Banana
Date: Sun, 27 Sep 2015 18:22
Date: Sun, 27 Sep 2015 18:22
19 lines
1692 bytes
1692 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > Hi Paul, >> Righto... all seems to have gone smoothly. I have migrated from 2.6.0rc2 >> to the full 2.6.0 :-) > That's great! JFTR: Going from 2.6.0rc1 to the release version, I noticed that the release version doesn't compile with gcc 4.4.7 any more. error: #pragma GCC diagnostic not allowed inside functions -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Julien ÉLIE
Date: Sun, 27 Sep 2015 18:51
Date: Sun, 27 Sep 2015 18:51
17 lines
1792 bytes
1792 bytes
Hi Wolfgang, > Going from 2.6.0rc1 to the release version, I noticed that the release > version doesn't compile with gcc 4.4.7 any more. > > error: #pragma GCC diagnostic not allowed inside functions Are you using "make warnings" or -Werror in your compile flags? I manage to build fine INN on my old Etch with gcc 4.1.2. -- Julien ÉLIE « Soldats, du haut de ces pyramides, vingt siècles nous contemplent. » (Napoléon)
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Ray Banana
Date: Mon, 28 Sep 2015 04:32
Date: Mon, 28 Sep 2015 04:32
29 lines
2378 bytes
2378 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >> Going from 2.6.0rc1 to the release version, I noticed that the release >> version doesn't compile with gcc 4.4.7 any more. >> error: #pragma GCC diagnostic not allowed inside functions > Are you using "make warnings" or -Werror in your compile flags? No. diff -y --suppress-common-lines ./lib/getmodaddr.c ../inn-2.6.0rc1/lib/getmodaddr.c /* $Id: getmodaddr.c 9911 2015-07-04 21:32:56Z iulius $ | /* $Id: getmodaddr.c 9143 2010-10-29 22:39:13Z iulius $ #pragma GCC diagnostic ignored "-Wformat-nonliteral" < #pragma GCC diagnostic warning "-Wformat-nonliteral" < #pragma GCC diagnostic ignored "-Wformat-nonliteral" < #pragma GCC diagnostic warning "-Wformat-nonliteral" < > I manage to build fine INN on my old Etch with gcc 4.1.2. This is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) Seems to be a peculiarity in gcc 4.4.x ff. cc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5) is OK. -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: Upgrading from 2.6.0rc to 2.6.0
Author: Julien ÉLIE
Date: Mon, 28 Sep 2015 18:23
Date: Mon, 28 Sep 2015 18:23
36 lines
2688 bytes
2688 bytes
Hi Wolfgang, > diff -y --suppress-common-lines ./lib/getmodaddr.c ../inn-2.6.0rc1/lib/getmodaddr.c > /* $Id: getmodaddr.c 9911 2015-07-04 21:32:56Z iulius $ | /* $Id: getmodaddr.c 9143 2010-10-29 22:39:13Z iulius $ > #pragma GCC diagnostic ignored "-Wformat-nonliteral" < > #pragma GCC diagnostic warning "-Wformat-nonliteral" < > #pragma GCC diagnostic ignored "-Wformat-nonliteral" < > #pragma GCC diagnostic warning "-Wformat-nonliteral" < > >> I manage to build fine INN on my old Etch with gcc 4.1.2. > > This is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) > > Seems to be a peculiarity in gcc 4.4.x ff. You can safely remove all these "#pragma GCC diagnostic ignored" and "#pragma GCC diagnostic warning" lines in C code. The following command should do the trick: sed -i '/^#pragma GCC diagnostic /d' backends/batcher.c backends/buffchan.c backends/ninpaths.c frontends/rnews.c innd/site.c innfeed/imap_connection.c innfeed/misc.c lib/getmodaddr.c nnrpd/post.c tests/tap/basic.c Does it now buid fine with GCC 4.4.7? For the next 2.6.1 release, I will prevent these lines from being interpreted by old GCC versions. -- Julien ÉLIE « Acta est fabula. » (Auguste à son lit de mort)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads