Thread View: news.software.nntp
11 messages
11 total messages
Started by mrheumer Martin Rheumer
Fri, 09 Jan 1998 00:00
1.7.2.insync 1.1d on Linux
Author: mrheumer Martin Rheumer
Date: Fri, 09 Jan 1998 00:00
Date: Fri, 09 Jan 1998 00:00
18 lines
973 bytes
973 bytes
OK, After my success with 1.7.2insync on Solaris I have decided to upgrade the old linux machine. Installed insync and made the patches as per the FAQ for linux and now did the make world System enters nnrpd directory and produces /usr/i486-linux/bin/ld: cannot opn -lutil: No such file or directory. Has to have something to do with the -lutil option in cc flags, but How do I set where util.c and util.h are ? Thanks Martin
Re: 1.7.2.insync 1.1d on Linux
Author: Andrew
Date: Fri, 09 Jan 1998 00:00
Date: Fri, 09 Jan 1998 00:00
14 lines
1129 bytes
1129 bytes
Martin Rheumer <mrheumer@mogwai..spamremove..hotkey.net.au> wrote: > Has to have something to do with the -lutil option in > cc flags, but How do I set where util.c and util.h are ? You can most likely just remove '-lutil' from the LIBS line (line 49 in config.dist) in your config.data and make again. -- Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy Sysadmin, Insync Internet Services | jokes about hashish and sexy, Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: 1.7.2.insync 1.1d on Linux
Author: Andrew
Date: Sat, 10 Jan 1998 00:00
Date: Sat, 10 Jan 1998 00:00
22 lines
1369 bytes
1369 bytes
Martin <martinr@hotkey.spamremove.net.au> wrote: > OK, Now in nnrpd dir I get this.... > Any answers ? > nnrpd.o: In function `TITLEset': > nnrpd.o(.text+0x1fc): undefined reference to `setproctitle' > make[3]: *** [nnrpd] Error 1 > make[3]: Leaving directory `/us Again, you're dealing with a config.data problem. Set HAVE_SETPROCTITLE (line 211) to DONT. A lot of problems like these can be solved without seeking help just by looking at the config.data. -- Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy Sysadmin, Insync Internet Services | jokes about hashish and sexy, Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: 1.7.2.insync 1.1d on Linux
Author: Martin
Date: Sat, 10 Jan 1998 00:00
Date: Sat, 10 Jan 1998 00:00
25 lines
1416 bytes
1416 bytes
On 9 Jan 1998 21:52:00 GMT, Andrew <aos@insync.net> wrote: >Martin Rheumer <mrheumer@mogwai..spamremove..hotkey.net.au> wrote: >> Has to have something to do with the -lutil option in >> cc flags, but How do I set where util.c and util.h are ? > >You can most likely just remove '-lutil' from the LIBS line (line 49 >in config.dist) in your config.data and make again. > >-- >Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy >Sysadmin, Insync Internet Services | jokes about hashish and sexy, >Houston, Texas, USA | sexy dancers." --Mr. Laupin OK, Now in nnrpd dir I get this.... Any answers ? nnrpd.o: In function `TITLEset': nnrpd.o(.text+0x1fc): undefined reference to `setproctitle' make[3]: *** [nnrpd] Error 1 make[3]: Leaving directory `/us
Re: 1.7.2.insync 1.1d on Linux
Author: bill davidsen
Date: Wed, 14 Jan 1998 00:00
Date: Wed, 14 Jan 1998 00:00
49 lines
2781 bytes
2781 bytes
In article <696lsv$khk$6@synthemesc.insync.net>, Andrew <aos@insync.net> wrote: | Martin <martinr@hotkey.spamremove.net.au> wrote: | > OK, Now in nnrpd dir I get this.... | > Any answers ? | | > nnrpd.o: In function `TITLEset': | > nnrpd.o(.text+0x1fc): undefined reference to `setproctitle' | > make[3]: *** [nnrpd] Error 1 | > make[3]: Leaving directory `/us | | Again, you're dealing with a config.data problem. Set HAVE_SETPROCTITLE | (line 211) to DONT. | | A lot of problems like these can be solved without seeking help just by | looking at the config.data. A lot of these problems could be solved by having the sample config for linux work. I check a few systems, and I don't have -lutils, either. So I looked in the lib directory of the INN source, and it isn't there. Then I did an 'lsfind' on sunsite, the largest Linux software repository on earth, looking for utils. No matches in libutils.a or libutils.so. I won't claim that this doesn't exist somewhere, but if it's that hard to find, perhaps the sample config ought to reflect what's likely to be on common machines. A sample should be something you would find useful, and the linux config doesn't seem to fit that description. I can't tell you how many hours it took me to get a Linux config that remotely worked right, I took the initial config and hacked it line by line. I'd offer it, but the file layout is what I wanted to match an existing setup, and is not something I would ever offer to anyone else. The machine was originally set up with Bnews and has evolved (some say rotted) to its current state. I think I have a version ready for a fresh install back in the office, I'll be there over the weekend and put it somewhere if ten other people don't show off how smart they are by making theirs available first ;-) -- bill davidsen (davidsen@tmr.com) "The action you see on fishing programs is something like the women in _Playboy_. Not actually *fake*, but not remotely typical of the average person's experience." -me
Re: 1.7.2.insync 1.1d on Linux
Author: Karl Kleinpaste
Date: Wed, 14 Jan 1998 00:00
Date: Wed, 14 Jan 1998 00:00
47 lines
2203 bytes
2203 bytes
davidsen@tmr.com (bill davidsen) writes:
> A lot of these problems could be solved by having the sample config
> for linux work. I check a few systems, and I don't have -lutils,
There is no libutils.a for Linux. This is just one of several errors
in the distributed sample-configs/config.data-linux-whatever.
Below are my changes from that sample Linux config.data, excluding my
own filesystem locations for INN-specific stuff. This should be
correct for any kernel 2.0.* Linux system.
USE_CHAR_CONS DO
PROF -p
LDFLAGS -O
LIBS (empty)
LINTFLAGS (empty)
LINTFILTER (empty)
YACC bison -y
HAVE_SETPROCTITLE DONT
HAVE_TM_GMTOFF DONT
FORK fork
BIND_USE_SIZEOF DONT
CLX_STYLE FCNTL
NBIO_STYLE IOCTL
FDCOUNT_STYLE SYSCONF
CTYPE isXXXXX((c))
ACT_STYLE MMAP
MMAP_PTR void *
MMAP_SYNC DO
MSYNC_3_ARG DO
_PATH_PERL /usr/bin/perl
_PATH_AWK /bin/awk
_PATH_SED /bin/sed
_PATH_GZIP /bin/gzip
INNWATCH_INODES 4
And beware the location of {e,f,}grep -- they used to be in /usr/bin
in (e.g.) RedHat 4.x, but in 5.0, they are now in /bin.
> The machine was originally set up with Bnews and has
> evolved (some say rotted) to its current state.
You'll have to forgive me if I have trouble believing that. Linux
didn't exist before B News more or less died off.
Re: 1.7.2.insync 1.1d on Linux
Author: Charlie Reboot
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
41 lines
2840 bytes
2840 bytes
On 45 Dec 1997, Karl Kleinpaste wrote: > > The machine was originally set up with Bnews and has > > evolved (some say rotted) to its current state. > > You'll have to forgive me if I have trouble believing that. Linux > didn't exist before B News more or less died off. Not so, B News was still going strong in the country where I set up my first news swerver, at which time Linux sure did exist (I was carrying the linux.* hierarchy for the benefit of that country's developers all of whom would have to get the lists by mail, since posts were delayed by some ten days or so typically). Said software was running on the central server and there was no alternative flow of news into the country to leaf sites. Essentially the gawd-awful suckiness of news in that country has condemned the mailing list to be the preferred means of group-blab, and almost nobody bothers with news, in contrast with other nearby countries. I still fail to see the point of carrying the relcom.* hierarchy with all posts stripped to 7 bits. Things have changed now, and there is no more B News on the central server. Life is a little bit better, yet a few months ago, a significant amount of news (more than half) was simply missing in the groups, and so I resigned myself to setting up a 486 with 16M of RAM and a couple tiny IDE drives to once again relay the more important groups into that country. Life still sucks, though, as does all cheap hardware, since that machine has spontaneously imploded with increasing frequency as of late, and just recently seems to have totally wedged. And I'm too far away to give it a swift kick and swap out whatever has chosen to head south. Anybody nearby who would care to beat that PC into submission will be gratefully rewarded with a cool frothy dark beer or ten. Barry Bouwsma, remote newsadministrangler, Mendel University, Brno, CZ hardware sucks, software sucks, news sucks, GAAAAAAAAH
Re: 1.7.2.insync 1.1d on Linux
Author: Karl Kleinpaste
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
21 lines
1544 bytes
1544 bytes
Karl Kleinpaste <karl@jprc.com> writes: >> MMAP_PTR void * pm@zetnet.net (Paul Martin) writes: > Not correct for a libc6 (glibc) system. Both my RH4.0 and RH5.0 machines show void * in the mmap(2) man page, which is what I (foolishly) depended upon, but I now see as well that <sys/mman.h> has changed for 5.0. *sigh* In practice, it doesn't matter. > Also, you have to > #undef _G_HAVE_BOOL > in one of the include/*.h or it won't compile with Perl filtering on a > libc6 system. Ah. I don't use perl filtering, so I didn't notice.
Re: 1.7.2.insync 1.1d on Linux
Author: Chris Adams
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
18 lines
1173 bytes
1173 bytes
According to Karl Kleinpaste <karl@jprc.com>: >Below are my changes from that sample Linux config.data, excluding my >own filesystem locations for INN-specific stuff. This should be >correct for any kernel 2.0.* Linux system. <snip> >MMAP_SYNC DO >MSYNC_3_ARG DO Why do you have MMAP_SYNC set? I don't, and I haven't had any problems. -- Chris Adams - cadams@ro.com System Administrator - Renaissance Internet Services I don't speak for anybody but myself - that's enough trouble.
Re: 1.7.2.insync 1.1d on Linux
Author: Paul Martin
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
34 lines
1786 bytes
1786 bytes
In article <vxksoqqsdii.fsf@pocari-sweat.jprc.com>, Karl Kleinpaste <karl@jprc.com> writes: > Below are my changes from that sample Linux config.data, excluding my > own filesystem locations for INN-specific stuff. This should be > correct for any kernel 2.0.* Linux system. > MMAP_PTR void * Not correct for a libc6 (glibc) system. Also, you have to #undef _G_HAVE_BOOL in one of the include/*.h or it won't compile with Perl filtering on a libc6 system. Alternatively, add "-Dbool=char -DHAS_BOOL" to the PERL_INC line in config.data[2] Guess what I just spent the last hour performing autoallopecia[1] about? Why did I do this? Well, cleanfeed 0.95.2 for md5 hashing wants Perl 5.004, which is not available in Debian stable, only in libc6 form in unstable[3]... iterate to insanity... [1] The act of pulling one's own hair out. [2] Didn't spot this one until just now, while unpacking MD5.pm [3] Yes, I'm lazy... and possibly foolish. -- Paul Martin <pm@zetnet.net>
Re: 1.7.2.insync 1.1d on Linux
Author: Karl Kleinpaste
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
18 lines
1469 bytes
1469 bytes
karl@jprc.com writes:
>> MMAP_SYNC DO
>> MSYNC_3_ARG DO
cadams@ro.com writes:
> Why do you have MMAP_SYNC set? I don't, and I haven't had any problems.
Because I have msync() available, and because msync(2) suggests that
it may be a Really Good Idea, if not exactly Absolutely Required:
Without use of this call there is no guarantee that
changes are written back before munmap(2) is called.
msync() *may* be superfluous, but INN works with the options enabled,
and I prefer the additional safety in the event of a crash.
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