EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Error while compiling asyn
From: Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 29 Aug 2023 11:33:48 +0200
Hey Dennis,

according to the error message, your system is missing the C preprocessor.
This is indeed related to podman, because you are most certainly running a minimal system inside, and thus you need to install the package `cpp` to install the C preprocessor. Clang does not have any dependency on it and thus it is most likely missing.

HTH,
Florian

Am 29.08.2023 um 11:25 schrieb Neidherr, Dennis Dr. via Tech-talk:
Hi all,

right now I am trying to compile asyn under debian 11 with clang (in a podman container but I don't think this is important here), but I get an error I don't understand (I tried this a few weeks ago under windows without problems):

...
cp ../vxi11/vxi11intr.rpcl .
rpcgen  vxi11intr.rpcl
cannot find C preprocessor: cpp
rpcgen: C preprocessor failed with exit code 1
cp ../vxi11/vxi11core.rpcl .
rpcgen  vxi11core.rpcl
cannot find C preprocessor: cpp
rpcgen: C preprocessor failed with exit code 1
...
make[2]: *** No rule to make target 'vxi11core_xdr.c', needed by 'vxi11core_xdr.o'.  Stop.
make[2]: Leaving directory '/home/EPICS/modules/asyn/asyn/O.linux-x86_64'
make[1]: *** [/home//EPICS/epics-base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/EPICS/modules/asyn/asyn'
make: *** [/home//EPICS/epics-base/configure/RULES_DIRS:85: asyn.install] Error 2

In the internet (actually in this mailing list) I could only find a maybe slightly related question, where the error message was " make[2]: rpcgen: Command not found" (https://epics.anl.gov/tech-talk/2021/msg01834.php). I tried the solution for this problem but as expected without success. But now I have no ideas anymore, so I would appreciate all kind of help.

Thanks, Greetings
Dennis

Replies:
RE: Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk
References:
Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk

Navigate by Date:
Prev: Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk
Next: RE: Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk
Next: RE: Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 29 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·