Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 95 17:19:00 EST
From:      Ruiyuan_Jiang/Advantage_KBS_at_LotusXchg@njcorp.akbs.com
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        torstenb@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: Configuration files needs to be changed after compiling
Message-ID:  <9511228196.AA819681592@njcorp.akbs.com>

next in thread | raw e-mail | index | archive | help

  Thanks for your answer. I use (inn1.4sec.tar.Z, innxmit-long-lines and
  select-loop-bug.patch, the system automatically downloaded last two
  files) 3 files to compile the INN News. I checked my work directory and I
  could not find the file .install_done. I followed your suggestion and I
  deleted the work directory and its subdirectory files to do brand new
  re-compilation (in the Makefile directory, I did "make" or I need to do
  "make install").
  I have got several messages might be helpful (where I added the system
  message two words to try to make it more clear) :

  Checksums OK.
  ===>  Extracting for inn-1.4
  ===>  Patching for inn-1.4
  ===>  Applying distributed patches for inn-1.4
  ===>  Applying FreeBSD patches for inn-1.4
  ===>  Configuring for inn-1.4
  echo "-O" >/tmp/build-ports-news-inn-cflags
  cc -o subst subst.c
  subst.c: In function 'xstrerror' (system message)
  subst.c:60: warning: return discards 'const' from pointer target type (
  system message)
  ===>  Building for inn-1.4

  .
  .
  cd lib ; make  install ; cd ..
  cc -I../include -DHAS_GETLOADAVG -O -c checkart.c
  cc -I../include -DHAS_GETLOADAVG -O -c cleanfrom.c
  cc -I../include -DHAS_GETLOADAVG -O -c clientactive.c
  cc -I../include -DHAS_GETLOADAVG -O -c clientlib.c
  cc -I../include -DHAS_GETLOADAVG -O -c closeonexec.c
  cat ../dbz/dbz.c >dbz.c
  patch -s -p0 <dbz.pch
  rm -f dbz.c.orig
  cat ../dbz/dbz.h >../include/dbz.h
  cc -I../include -DHAS_GETLOADAVG -O -c dbz.c
  cc -I../include -DHAS_GETLOADAVG -O -c defdist.c
  cc -I../include -DHAS_GETLOADAVG -O -c findheader.c
  cc -I../include -DHAS_GETLOADAVG -O -c genid.c
  cc -I../include -DHAS_GETLOADAVG -O -c getconfig.c
  cc -I../include -DHAS_GETLOADAVG -O -c getdtab.c
  cc -I../include -DHAS_GETLOADAVG -O -c getfqdn.c
  cc -I../include -DHAS_GETLOADAVG -O -c getmodaddr.c
  cc -I../include -DHAS_GETLOADAVG -O -c gettime.c
  cc -I../include -DHAS_GETLOADAVG -O -c inndcomm.c
  cc -I../include -DHAS_GETLOADAVG -O -c innvers.c
  cc -I../include -DHAS_GETLOADAVG -O -c localopen.c
  cc -I../include -DHAS_GETLOADAVG -O -c lockfile.c
  cc -I../include -DHAS_GETLOADAVG -O -c nonblocking.c
  Expect 6 shift/reduce conflicts
  yacc parsedate.y
  yacc:6 shift/reduce conficts. (system message)
  cc -I../include -DHAS_GETLOADAVG -O -c parsedate.c
  cc -I../include -DHAS_GETLOADAVG -O -c qio.c
  cc -I../include -DHAS_GETLOADAVG -O -c radix32.c
  cc -I../include -DHAS_GETLOADAVG -O -c readin.c
  cc -I../include -DHAS_GETLOADAVG -O -c remopen.c
  cc -I../include -DHAS_GETLOADAVG -O -c resource.c
  cc -I../include -DHAS_GETLOADAVG -O -c sendarticle.c
  cc -I../include -DHAS_GETLOADAVG -O -c sendpass.c
  cc -I../include -DHAS_GETLOADAVG -O -c waitnb.c
  cc -I../include -DHAS_GETLOADAVG -O -c wildmat.c
  cc -I../include -DHAS_GETLOADAVG -O -c xfopena.c
  cc -I../include -DHAS_GETLOADAVG -O -c xmalloc.c
  cc -I../include -DHAS_GETLOADAVG -O -c xmemerr.c
  cc -I../include -DHAS_GETLOADAVG -O -c xrealloc.c
  cc -I../include -DHAS_GETLOADAVG -O -c xwrite.c
  cc -I../include -DHAS_GETLOADAVG -O -c xwritev.c
  ar r libinn.a   checkart.o cleanfrom.o clientactive.o clientlib.o
  closeonexec.o  dbz.o defdist.o findheader.o genid.o getconfig.o getdtab.o
  getfqdn.o getmodaddr.o gettime.o inndcomm.o innvers.o localopen.o  lockfile.o
  nonblocking.o parsedate.o qio.o radix32.o readin.o  remopen.o resource.o
  sendarticle.o sendpass.o waitnb.o wildmat.o  xfopena.o xmalloc.o xmemerr.o
  xrealloc.o xwrite.o xwritev.o
  ar: creating archive libinn.a
  cp libinn.a ../libinn.a
  ranlib ../libinn.a
  lint -u -b -h -z -I../include -DHAS_GETLOADAVG   checkart.c cleanfrom.c
  clientactive.c clientlib.c closeonexec.c  dbz.c defdist.c findheader.c genid.c
   getconfig.c getdtab.c  getfqdn.c getmodaddr.c gettime.c inndcomm.c innvers.c
  localopen.c  lockfile.c nonblocking.c parsedate.c qio.c radix32.c readin.c
  remopen.c resource.c sendarticle.c sendpass.c waitnb.c wildmat.c  xfopena.c
  xmalloc.c xmemerr.c xrealloc.c xwrite.c xwritev.c | sed -n -f ../sedf.sun
  >lint.all
  lint: not found (system message)
  grep -v yaccpar <lint.all >lint
  *** Error code 1 (ignored) (system message)
  /bin/sh ./makellib.sh NONE "-b -h -z -I../include -DHAS_GETLOADAVG"
  checkart.c cleanfrom.c clientactive.c clientlib.c closeonexec.c  dbz.c
  defdist.c findheader.c genid.c getconfig.c getdtab.c  getfqdn.c getmodaddr.c
  gettime.c inndcomm.c innvers.c localopen.c  lockfile.c nonblocking.c
  parsedate.c qio.c radix32.c readin.c  remopen.c resource.c sendarticle.c
  sendpass.c waitnb.c wildmat.c  xfopena.c xmalloc.c xmemerr.c xrealloc.c
  xwrite.c xwritev.c
  cp llib-linn.ln ../llib-linn.ln

  cd frontends ; make  all ; cd ..
  cc -I../include -DHAS_GETLOADAVG -O -c inews.c
  cc -g -o inews inews.o  ../libinn.a
  cc -I../include -DHAS_GETLOADAVG -O -c rnews.c
  cc -g -o rnews rnews.o  ../libinn.a
  cc -I../include -DHAS_GETLOADAVG -O -c ctlinnd.c
  cc -g -o ctlinnd ctlinnd.o ../libinn.a
  .
  .
  .
  I don't know whether these messages are ok that I can ignore or I need to
  change some
  configuration file. Please let me know. After the re-compiling all the files
  still locate at
  $inn/work directory. Thanks in advance.

  Ruiyuan Jiang
  rjiang@akbs.com

> Ruiyuan_Jiang/Advantage_KBS_at_LotusXchg@njcorp.akbs.com
> stands accused of saying:
>>   Right now I am trying to configure my newly installed INN news. Since the
>>   INN News ports did not locate all the files to the default location
>>   (/usr/local/news directory), I need to manually change all the
>>   configuration files to tell INN news where to look for the files. For

> You have done something wrong.  The INN port most certainly _does_ put
> everything where it's supposed to go.  (I've built it too many times in
> the last few weeks 8)

>>   example, I opened "nntpsend" file and found that inside of it says
>>   "/usr/local/news/lib/innshellvars". Actually, "innshellvars" file is
>>   located in /root/inntemp/work/site directory (where I compiled INN news).

> It is _also_ located in /usr/local/news/lib.  If it's not
> there on your system, it's because you've got another problem.

>>   Ruiyuan Jiang

> I would strongly recommend going back and performing the installation
> again (reove the work/.install_done file) and watching
> carefully for any errors.

--
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 041-122-496        [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "Who does BSD?" "We do Chucky, we do."                               [[




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9511228196.AA819681592>