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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: *****SPAM*****makeBaseApp.pl Error
From: "J. Lewis Muir" <[email protected]>
To: ishita bhatia <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Fri, 18 Sep 2015 09:58:51 -0500
On 9/18/15 2:22 AM, ishita bhatia wrote:
> Hello,
> I have recently installed EPICS version 3.14.12.5. When I do :
>
> mkdir VME
> cd VME
> makeBaseApp.pl -t example myApp
>
> It shows
>
> bash: makeBaseApp: command not found...
>
> How to resolve this?
> Is this problem related to environment variables?

Hello, Ishita.

It might be a problem with your environment.  You need to ensure the
architecture-specific directory in the EPICS Base bin directory is
in your shell's command search path.  For example, with EPICS Base
installed to /opt/epics-base-3.14.12.5 on OS X, I would need the
following directory in my shell's command search path:

  /opt/epics-base-3.14.12.5/bin/darwin-x86

In Bash, this can be achieved by adding the directory to the PATH
environment variable.  You can then (in Bash) use the "which" command to
see if the shell can find it:

  $ which makeBaseApp.pl

However, I'm a little confused by the error message you reported:

  bash: makeBaseApp: command not found...

The command is makeBaseApp.pl (note the ".pl" extension), not
makeBaseApp, so I'm not sure where that "makeBaseApp" is coming from.

On OS X, the makeBaseApp.pl program uses the following shebang line:

  #!/usr/bin/env perl

So, in this case, it requires /usr/bin/env, and it requires that the
perl command can be found on the command search path of the shell
invoking makeBaseApp.pl.

This could be different on your system.  What platform are you on?

Regards,

Lewis

References:
makeBaseApp.pl Error ishita bhatia

Navigate by Date:
Prev: Re: makeBaseApp.pl Error Jack
Next: Re: "security audit" of EPICS / Channel Access? J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: makeBaseApp.pl Error Jack
Next: ai record doesn't do convert for floats? Pearson, Matthew R.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·