delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/30/10:54:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AC4A7CA.FD08DA8A@salomon.at>
Date: Fri, 30 Mar 2001 17:35:38 +0200
From: Michael Haubenwallner <michael DOT haubenwallner AT salomon DOT at>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686)
X-Accept-Language: de-AT, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.1.x/sunrpc 4.0/rpcgen: cpp not found bugfix (for Suhaib ?)

Hi!

There is a bug in the rpcgen from sunrpc 4.0 for 1.1.x i downloaded
from http://www.inspirepharm.com/whatif/sunrpc-4.0-cygwin.tar.bz2
got there through http://siddiqi.webjump.com/

The problem is that rpcgen does call the cpp using execl().
On emx/cygwin/mingw the macro CPP is "cpp", not "/usr/bin/cpp" and
so execlp() is needed.

Rpcdev/src/rpcgen/rpc_main.c
188c188
<    execl(CPP, CPP, CPPFLAGS, define, infile, NULL);
---
>    execlp(CPP, CPP, CPPFLAGS, define, infile, NULL);


Another bug is in the rpcgen/Makefile, there is just a space missing:
(and, -r is not needed with rm here)

Rpcdev/src/rpcgen/Makefile
17c17
<    rm -rf*.o
---
>    rm -f *.o


thanks,
  haubi

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019