From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Thiel Subject: Re: nfs-utils 1.0.3 compile error w/gcc-3.2.2 Date: Fri, 28 Mar 2003 20:58:33 +0100 Sender: nfs-admin@lists.sourceforge.net Message-ID: <200303282058.34531.stderr@web.de> References: <3E844E32.4000008@lucidpixels.com> <200303281557.29049.stderr@web.de> <3E846696.6010900@lucidpixels.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: nfs@lists.sourceforge.net Return-path: Received: from mailout09.sul.t-online.com ([194.25.134.84]) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18z007-0002nE-00 for ; Fri, 28 Mar 2003 11:58:56 -0800 To: Justin Piszcz In-Reply-To: <3E846696.6010900@lucidpixels.com> Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: Taking a quick glance at tools/rpcgen/rpc_main.c, I notice that by default rpcgen expects cpp in one of these two locations: #define SVR4_CPP "/usr/ccs/lib/cpp" #define SUNOS_CPP "/lib/cpp" However, rpcgen --help reveals this: ./rpcgen --help [snip] -Y path directory name to find C preprocessor (cpp) Hope that helps, Alex On Friday 28 March 2003 16:13, Justin Piszcz wrote: > CPP is in my path, is it hardcoded or something? > > > war@war:~$ which cpp > /vapp/bin/cpp > war@war:~$ cpp --version > cpp (GCC) 3.2.2 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > war@war:~$ echo $PATH > /vapp/bin:/vapp/sbin:/appc/netscape-4.8:/appc/realplayer-8.0:/appc/j2re-1.4 >.1/bin:/appc/jdk-1.4.1/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr >/local/bin:/usr/local/sbin war@war:~$ > > Alex Thiel wrote: > >On Friday 28 March 2003 14:29, Justin Piszcz wrote: > >>-rw-r--r-- 1 war wheel 2.7k Mar 28 08:24 log.bz2 > >> > >>The error is contained in the attachment. > > > >Did you notice this in your log: > > > >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) > >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > >Make sure cpp is in your search path. > > > > Alex > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs