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  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: Windows XP Cygwin difficulties for building EPICS base
From: "Cid, Florencio A" <florencio.a.cid@boeing.com>
To: "'Andrew Johnson'" <anj@aps.anl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 24 May 2011 11:40:04 -0700
Hi Andrew.

Thanks for the info/assistance.  OK...  I understand.  How do I disable the optional building of the perl CA interface?  Just want to avoid encountering this situation in the future?  Another question, for some reason the perl interpretor in my cygwin install is not working correctly.  Should I try to uninstall and re-install cygwin perl module?



Florencio


-----Original Message-----
From: Andrew Johnson [mailto:anj@aps.anl.gov] 
Sent: Tuesday, May 24, 2011 9:11 AM
To: tech-talk@aps.anl.gov
Cc: Cid, Florencio A
Subject: Re: Windows XP Cygwin difficulties for building EPICS base

Hi Florencio,

On 2011-05-23 Cid, Florencio A wrote:
> 
> I'm trying to build EPICS base (3.14.12.1) on Windows XP with Cygwin
>  (EPICS_HOST_ARCH = cygwin-x86, SHARED_LIBRARIES = NO, STATIC_BUILD = YES).
>    I get pretty far into the build, but encounter the following error for 
>  directory src/cap5 (see below).
> 
> make[3]: Entering directory `/cygdrive/c/EPICS/base/src/cap5/O.cygwin-x86'
> rm -f CA.html
> podchecker ../CA.pm && pod2html --infile=../CA.pm --outfile=CA.html
> /bin/sh: /usr/bin/podchecker: /usr/bin/perl: bad interpreter: No such file
>  or directory

This error message is coming from an attempt to run the podchecker program 
that normally comes with your Perl installation, in order to create the 
documentation for the Perl Channel Access interface.  That interface doesn't 
actually build properly for the Cygwin or Windows target architectures anyway, 
although on my installation it is possible to build the documentation so I 
didn't disable that part of the build.

The particular error message you're getting implies that your Perl interpreter 
is not found at the /usr/bin/perl location where the podchecker installation 
thought it should be.  When you're building the cygwin-x86 host architecture 
of EPICS Base you really do need to use the Cygwin version of Perl; other Perl 
versions won't understand the /cygdrive/x paths that Cygwin uses.

However the Perl CA interface in src/cap5 is optional, and that directory 
comes at the end of the direcory list so you can just ignore this error and 
assume that your build of EPICS base has completed normally.

HTH,

- Andrew
-- 
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham


Replies:
Re: Windows XP Cygwin difficulties for building EPICS base Benjamin Franksen
Re: Windows XP Cygwin difficulties for building EPICS base Andrew Johnson
References:
Windows XP Cygwin difficulties for building EPICS base Cid, Florencio A
Re: Windows XP Cygwin difficulties for building EPICS base Andrew Johnson

Navigate by Date:
Prev: Re: Suggestion for IOC log server J. Lewis Muir
Next: Re: Windows XP Cygwin difficulties for building EPICS base Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Windows XP Cygwin difficulties for building EPICS base Andrew Johnson
Next: Re: Windows XP Cygwin difficulties for building EPICS base Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·