Subject: Re: Build trouble
To: None <current-users@NetBSD.ORG>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: current-users
Date: 03/16/1998 07:57:20
=>
=>   Trying to do a "make && make install", I get this:
=>
=>install ===> domestic/lib/libntp
=>install -c -o root -g wheel -m 600 /disk0/usr/local/build/NetBSD/src/domestic
/lib/libntp/../../../lib/libntp/libntp.a  /usr/lib/libntp.a
=>ranlib -t /usr/lib/libntp.a
=>chmod 444 /usr/lib/libntp.a
=>install -c -o root -g wheel -m 600 /disk0/usr/local/build/NetBSD/src/domestic
/lib/libntp/../../../lib/libntp/libntp_p.a  /usr/lib/libntp_p.a
=>ranlib -t /usr/lib/libntp_p.a
=>chmod 444 /usr/lib/libntp_p.a
=>install -c -o root -g wheel -m 600 /disk0/usr/local/build/NetBSD/src/domestic
/lib/libntp/../../../lib/libntp/libntp_pic.a  /usr/lib/libntp_pic.a
=>ranlib -t /usr/lib/libntp_pic.a
=>chmod 444 /usr/lib/libntp_pic.a
=>install -c -o root -g wheel -m 444 /disk0/usr/local/build/NetBSD/src/domestic
/lib/libntp/../../../lib/libntp/libntp.so.0.0  /usr/lib/libntp.so.0.0
=>install -c -o root -g wheel -m 444  llib-lntp.ln /usr/libdata/lint
=>install: llib-lntp.ln: No such file or directory
=>*** Error code 1

   Apologies for replying to my own message, but this seems to fix
this particular problem:


*** bsd.lib.mk.orig	Sun Mar 15 12:09:03 1998
--- bsd.lib.mk	Mon Mar 16 07:50:09 1998
***************
*** 326,332 ****
  .PRECIOUS: ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln
  ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln: llib-l${LIB}.ln
  	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
! 	    llib-l${LIB}.ln ${DESTDIR}${LINTLIBDIR}
  .endif
  .endif
  
--- 326,332 ----
  .PRECIOUS: ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln
  ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln: llib-l${LIB}.ln
  	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
! 	    ${.ALLSRC} ${DESTDIR}${LINTLIBDIR}
  .endif
  .endif
  


   On another note, though, it appears that the domestic version of
authdes.c doesn't actually get made since there is already an authdes.o
built under src/lib/libntp. Perhaps renaming the export authdes.c to
authdes_export.c or some such thing would be advisable, though I'm not
sure that fixes the problem entirely, either.

                                      Gary D. Duzan
                         Humble Practitioner of the Computing Arts