Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 1996 18:59:38 -0500 (EST)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        j@uriah.heep.sax.de (J Wunsch)
Cc:        current@freebsd.org
Subject:   Re: Problem building chpass(1)
Message-ID:  <199602252359.SAA11196@skynet.ctr.columbia.edu>
In-Reply-To: <199602252149.WAA04207@uriah.heep.sax.de> from "J Wunsch" at Feb 25, 96 10:49:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the towns in all the world, J Wunsch had to 
walk into mine and say:

> 
> My ``make world'' stopped while building chpass(1).  It seems that the
> following patch is needed.  Can somebody verify that this is the
> correct fix (& commit it)?

Can you please share with us the error that you saw? I strongly
suspect that this is another problem related to bootstrapping
rpcgen. 
 
> Index: chpass/chpass.c
> ===================================================================
> RCS file: /home/cvs/src/usr.bin/chpass/chpass.c,v
> retrieving revision 1.7
> diff -u -u -r1.7 chpass.c
> --- chpass.c	1996/02/23 16:08:56	1.7
> +++ chpass.c	1996/02/25 17:55:47
> @@ -63,6 +63,7 @@
>  #include <pw_util.h>
>  #include "pw_copy.h"
>  #ifdef YP
> +#include <rpc/rpc.h>
>  #include <rpcsvc/yp.h>
>  int yp_errno = YP_TRUE;
>  #include "pw_yp.h"

Assuming you have correctly rebuilt your /usr/include/rpcsvc directory
with the _new_ rpcgen, <rpcsvc/yp.h> will #include <rpc/rpc.h> for you.

Check that you have the _new_ rpcgen compiled and installed, rebuild
your /usr/include/rpcsvc directory with it and try again.

-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
License error: The license for this .sig file has expired. You must obtain
a new license key before any more witty phrases will appear in this space.
=============================================================================



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