From: miah <jjohnson@sunrise-linux.com>
To: nfs@lists.sourceforge.net
Subject: Re: Problems building nfs-utils 0.3.3
Date: Mon, 15 Apr 2002 07:11:16 -0700 [thread overview]
Message-ID: <20020415071116.B50298@server.sunrise-linux.com> (raw)
In-Reply-To: <3CBA9AE2.9080597C@moving-picture.com>; from james-p@moving-picture.com on Mon, Apr 15, 2002 at 10:18:26AM +0100
Actually, after some checking, my patch is fine. Its nfs-utils that is broke. Exerpt from tools/rpcgen/rcp_main.c:
tatic svc_output();
*/
#define EXTEND 1 /* alias for TRUE */
#define DONT_EXTEND 0 /* alias for FALSE */
#define SVR4_CPP "/usr/ccs/lib/cpp"
#define SUNOS_CPP "/lib/cpp"
static int cppDefined = 0; /* explicit path for C preprocessor */
static char *cmdname;
As we see here, its being defined in what I belive to be a inccorect way. I guess if code is to be "Sun OS compatible" it might need to be defined this way, but im sure a configure option could set this properly. For a Linux system though, if its to be FHS compliant, it shouldn't have a cpp in /lib, and it shouldnt have a /usr/ccs/lib dir.
Obviously the patch for me is simple here. Hope a fix for this gets in CVS.
-miah
On Mon, Apr 15, 2002 at 10:18:26AM +0100, James Pearson wrote:
> Not an expert on this sort of thing, but:
>
> > Making all in export
> > rm -f mount.h mount_clnt.c mount_xdr.c
> > ../../bin/rpcgen -h -o mount.h mount.x
> > cannot find any C preprocessor (cpp)
> > ../../bin/rpcgen -l -o mount_clnt.c mount.x
> > cannot find any C preprocessor (cpp)
> > ../../bin/rpcgen -c -o mount_xdr.c mount.x
> > cannot find any C preprocessor (cpp)
>
> looks like is part of the problem ...
>
> Do you have /lib/cpp (which on my systems is a symbolic link to
> /usr/bin/cpp) ?
>
> James Pearson
>
> _______________________________________________
> NFS maillist - NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
prev parent reply other threads:[~2002-04-15 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-13 14:40 Problems building nfs-utils 0.3.3 miah
2002-04-15 9:18 ` James Pearson
2002-04-15 13:59 ` miah
2002-04-15 14:11 ` miah [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020415071116.B50298@server.sunrise-linux.com \
--to=jjohnson@sunrise-linux.com \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox