Thread View: news.software.nntp
6 messages
6 total messages
Started by Karl Kleinpaste
Mon, 01 May 2000 00:00
INN 2.3.0beta "update" weirdness/bug
Author: Karl Kleinpaste
Date: Mon, 01 May 2000 00:00
Date: Mon, 01 May 2000 00:00
17 lines
1720 bytes
1720 bytes
Picked up today's (0501) beta tarball. Unpacked it, ran configure, "make", stopped the running innd, "make update", restart innd. No sweat. "telnet localhost nntp" shows "INN 2.3.0 (20000430 prerelease)". Huh? Didn't I just this minute finish installing 0501? Hm. By chance, I happened to look in ~news/bin and ~news/lib and "rm *.OLD". And then Linux' colorized ls(1) helped me out: The libinn.so symlinks in lib are aimed at the *.OLD names, which are missing, so they show up in red. So I executed "rm ~news/lib/lib*.*", re-ran "make update", and now all is sweetness and light. Prettyplease fix the "make update" sequence, so that it symlinks to the newly-installed versions correctly. --karl
Re: INN 2.3.0beta "update" weirdness/bug
Author: Russ Allbery
Date: Mon, 01 May 2000 00:00
Date: Mon, 01 May 2000 00:00
20 lines
1527 bytes
1527 bytes
Karl Kleinpaste <karl@charcoal.com> writes: > "telnet localhost nntp" shows "INN 2.3.0 (20000430 prerelease)". Huh? > Didn't I just this minute finish installing 0501? Hm. By chance, I > happened to look in ~news/bin and ~news/lib and "rm *.OLD". And then > Linux' colorized ls(1) helped me out: The libinn.so symlinks in lib are > aimed at the *.OLD names, which are missing, so they show up in red. So > I executed "rm ~news/lib/lib*.*", re-ran "make update", and now all is > sweetness and light. > Prettyplease fix the "make update" sequence, so that it symlinks to the > newly-installed versions correctly. That sounds like a bug in libtool. It should have correctly updated the symlinks when it installed the libraries. I'll take a look. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN 2.3.0beta "update" weirdness/bug
Author: Russ Allbery
Date: Tue, 20 Jun 2000 00:00
Date: Tue, 20 Jun 2000 00:00
31 lines
2321 bytes
2321 bytes
Karl Kleinpaste <karl@charcoal.com> writes: > make[1]: Entering directory `/home/karl/src/usenet/inn-BETA-20000620/lib' > ../libtool ../support/install-sh -c -o news -g news -m 0555 -B .OLD libinn.la /home/news/lib/libinn.la > ../support/install-sh -c -o news -g news -m 0555 -B .OLD .libs/libinn.so.2.0.0 /home/news/lib/libinn.so.2.0.0 > (cd /home/news/lib && rm -f libinn.so.2 && ln -s libinn.so.2.0.0 libinn.so.2) > (cd /home/news/lib && rm -f libinn.so && ln -s libinn.so.2.0.0 libinn.so) > ../support/install-sh -c -o news -g news -m 0555 -B .OLD .libs/libinn.lai /home/news/lib/libinn.la > ../support/install-sh -c -o news -g news -m 0555 -B .OLD .libs/libinn.a /home/news/lib/libinn.a > ranlib /home/news/lib/libinn.a > chmod 644 /home/news/lib/libinn.a > The result is: > lrwxrwxrwx 1 root bin 15 Jun 20 09:04 libinn.so -> libinn.so.2.0.0 > lrwxrwxrwx 1 root bin 19 Jun 20 09:04 libinn.so.2 -> libinn.so.2.0.0.OLD > -r-xr-xr-x 1 news news 295091 Jun 20 08:59 libinn.so.2.0.0 > -r-xr-xr-x 1 news news 294915 May 18 11:59 libinn.so.2.0.0.OLD > Note the 2nd line. > I don't understand this. "make update" is done as root. The shlib is > installed first, then the symlinks are both removed and re-made...but > are now aimed at the wrong thing. Neither do I. That makes absolutely no sense. I'm baffled. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN 2.3.0beta "update" weirdness/bug
Author: Russ Allbery
Date: Tue, 20 Jun 2000 00:00
Date: Tue, 20 Jun 2000 00:00
25 lines
1786 bytes
1786 bytes
Russ Allbery <rra@stanford.edu> writes: > Karl Kleinpaste <karl@charcoal.com> writes: >> "telnet localhost nntp" shows "INN 2.3.0 (20000430 prerelease)". Huh? >> Didn't I just this minute finish installing 0501? Hm. By chance, I >> happened to look in ~news/bin and ~news/lib and "rm *.OLD". And then >> Linux' colorized ls(1) helped me out: The libinn.so symlinks in lib are >> aimed at the *.OLD names, which are missing, so they show up in red. >> So I executed "rm ~news/lib/lib*.*", re-ran "make update", and now all >> is sweetness and light. >> Prettyplease fix the "make update" sequence, so that it symlinks to the >> newly-installed versions correctly. > That sounds like a bug in libtool. It should have correctly updated the > symlinks when it installed the libraries. I'll take a look. I just tried this on a Solaris system and the links were made correctly. So I can't manage to reproduce this... I'm not sure why. Was make update run as root? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN 2.3.0beta "update" weirdness/bug
Author: Karl Kleinpaste
Date: Tue, 20 Jun 2000 00:00
Date: Tue, 20 Jun 2000 00:00
11 lines
1443 bytes
1443 bytes
Russ Allbery <rra@stanford.edu> writes: > I just tried this on a Solaris system and the links were made correctly. > So I can't manage to reproduce this... I'm not sure why. Was make update > run as root? Always. I haven't picked up a new snapshot since 0518; I'll get a new one today and try it out. Perhaps it's a Linux-specific flaw.
Re: INN 2.3.0beta "update" weirdness/bug
Author: Karl Kleinpaste
Date: Tue, 20 Jun 2000 00:00
Date: Tue, 20 Jun 2000 00:00
30 lines
2494 bytes
2494 bytes
0618 didn't improve the situation. From "make update", this was done: make[1]: Entering directory `/home/karl/src/usenet/inn-BETA-20000620/lib' ../libtool ../support/install-sh -c -o news -g news -m 0555 -B .OLD libinn.la /home/news/lib/libinn.la ../support/install-sh -c -o news -g news -m 0555 -B .OLD .libs/libinn.so.2.0.0 /home/news/lib/libinn.so.2.0.0 (cd /home/news/lib && rm -f libinn.so.2 && ln -s libinn.so.2.0.0 libinn.so.2) (cd /home/news/lib && rm -f libinn.so && ln -s libinn.so.2.0.0 libinn.so) ../support/install-sh -c -o news -g news -m 0555 -B .OLD .libs/libinn.lai /home/news/lib/libinn.la ../support/install-sh -c -o news -g news -m 0555 -B .OLD .libs/libinn.a /home/news/lib/libinn.a ranlib /home/news/lib/libinn.a chmod 644 /home/news/lib/libinn.a The result is: lrwxrwxrwx 1 root bin 15 Jun 20 09:04 libinn.so -> libinn.so.2.0.0 lrwxrwxrwx 1 root bin 19 Jun 20 09:04 libinn.so.2 -> libinn.so.2.0.0.OLD -r-xr-xr-x 1 news news 295091 Jun 20 08:59 libinn.so.2.0.0 -r-xr-xr-x 1 news news 294915 May 18 11:59 libinn.so.2.0.0.OLD Note the 2nd line. I don't understand this. "make update" is done as root. The shlib is installed first, then the symlinks are both removed and re-made...but are now aimed at the wrong thing. Yup, I'm very confused.
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