🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Simon Lyall Wed, 13 Jan 1999 00:00
Problems compiling c-nocem 3.0
#34658
Author: Simon Lyall
Date: Wed, 13 Jan 1999 00:00
42 lines
2147 bytes
I seem to be having a few problems compiling c-nocem 3.0 on my system. I
am using Inn 1-7-2-insync , gcc version 2.6.0 and SunOS 5.5.1. (Solaris
2.5.1 I think (I hate Sun numbering junk ) )

It seems to have trouble finding the libraries, I have tried playing with
directories and moving around libinn.a bit I can't seem to pin down the
problem. Ideas as to how to fix this much apprecieated. 

Here is the procedure and error I get:

[newsource] /usr/src/c-nocem# ./configure
--with-inn=/usr/src/inn-1.7.2.insync-1
.1d
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for perl... /bin/perl
checking for INN version... 1.x
checking for time_t... time_t
updating cache ./config.cache
creating ./config.status
creating Makefile
creating c-nocem
[newsource] /usr/src/c-nocem# make all
gcc -g -O2 -I/usr/src/inn-1.7.2.insync-1.1d/include -DINN=1
-DNEWSARTS=\"/var/news/spool/articles\"
-DHISTFILE=\"/var/news/etc/history\" -o fastcancel.o -c fastcancel.c
gcc -g -O2  -o fastcancel  -linn
ld: fatal: library -linn: not found
ld: fatal: File processing errors.  No output written to fastcancel
*** Error code 1
make: Fatal error: Command failed for target `fastcancel'


Re: Problems compiling c-nocem 3.0
#34642
Author: Brad Knowles
Date: Wed, 13 Jan 1999 00:00
19 lines
1669 bytes
In article <77ig5q$b7t$1@newsource.ihug.co.nz>, Simon Lyall
<simon.lyall@ihug.co.nz> wrote:

> It seems to have trouble finding the libraries, I have tried playing with
> directories and moving around libinn.a bit I can't seem to pin down the
> problem. Ideas as to how to fix this much apprecieated. 

    Try editing your "LIBS=" line in /usr/src/c-nocem/Makefile to
explicitly reference wherever it is that you put libinn.a.  Myself, we use
INN 2.x at work, and they switched to using gnu autoconf for use with this
version of INN, and everything made and installed like a charm.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Problems compiling c-nocem 3.0
#34665
Author: Brad Knowles
Date: Thu, 14 Jan 1999 00:00
20 lines
1881 bytes
In article <77kv78$5jk@bigred.inka.de>, olaf@bigred.inka.de (Olaf Titz) wrote:

> Every version of c-nocem since 3.0 is supposed to support C News, INN
> 1.x and INN 2.x. If there is a problem with one of these platforms,
> something is broken and I'd like to know. (Unfortunately, I don't run
> C News and INN 1.x any more; I've done some basic sanity tests on
> compiling but that's not enough, apparently.)

    Ahh, then it must have been the release vs. "beta" versions of c-nocem
that I had found, where the release version supported only INN 1.x (as I
recall), while the "beta" version supported INN 2.x (in addition to other
platforms to which I obviously didn't pay any attention).

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Problems compiling c-nocem 3.0
#34685
Author: Brad Knowles
Date: Thu, 14 Jan 1999 00:00
26 lines
1991 bytes
In article <77ind1$r7o@bigred.inka.de>, olaf@bigred.inka.de (Olaf Titz) wrote:

> Simon Lyall  <simon.lyall@ihug.co.nz> wrote:
> > [newsource] /usr/src/c-nocem# make all
> > gcc -g -O2 -I/usr/src/inn-1.7.2.insync-1.1d/include -DINN=1
> > -DNEWSARTS=\"/var/news/spool/articles\"
> > -DHISTFILE=\"/var/news/etc/history\" -o fastcancel.o -c fastcancel.c
> > gcc -g -O2  -o fastcancel  -linn
> > ld: fatal: library -linn: not found
> 
> Of course there's an -L argument missing, and it looks like the
> configure script indeed has omitted that. You can either replace the
> line

    If I'm not mistaken, the version of c-nocem that works with INN 1.x
doesn't use autoconf, and therefore it would be a simple matter of editing
the Makefile, no?  Or does c-nocem 3.2 work with both INN 1.x and 2.x,
unlike earlier versions of c-nocem that I have downloaded and looked into?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

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