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

Subject: Re: makeBaseApp -t ioc missing Makefile
From: Zhichu Chen <[email protected]>
To: Patrick Thomas <[email protected]>
Cc: [email protected]
Date: Tue, 22 Sep 2009 13:26:23 +0800
The makeBaseApp.pl script may have something to do with the permission
issue. I'm not very familiar with perl so I can't say that it's not
possible that this script uses another "special" account to copy the
file which is not allowed.

I don't quite know linux either. But this is kind of off topic.

I'm glad you've "solved" the problem ;)

On Tue, Sep 22, 2009 at 9:45 AM, Patrick Thomas
<[email protected]> wrote:
> Yes, I think your right. I changed the permissions of the folder that I was
> creating the ioc in with chmod 777 and it worked. I'm not quite sure I
> understand why though. Both the folder that I am putting the ioc in and the
> copy of base that I am using are owned by the same user that I am logged in
> as. How does this work?
>
> Thank you,
> Patrick
>
> Zhichu Chen wrote:
>>
>> Well, could be a permission problem. Have you tried "sudo"?
>>
>> On Sat, Sep 19, 2009 at 11:40 AM, Patrick Thomas
>> <[email protected]> wrote:
>>
>>>
>>> Yes, there is a Makefile there.
>>> -Patrick
>>>
>>> Zhichu Chen wrote:
>>>
>>>>
>>>> Are you sure your "base" is made successfully without any errors? You
>>>> can check your base/templates/makeBaseApp/top/iocApp to see if there's
>>>> Makefile there. makeBaseApp.pl just copy the files and do some macros
>>>> replacements I think.
>>>>
>>>> On Sat, Sep 19, 2009 at 8:42 AM, Patrick Thomas
>>>> <[email protected]> wrote:
>>>>
>>>>
>>>>>
>>>>> and I have 3-14-11 instead of 3-14-11-asdl
>>>>>
>>>>> Eric Norum wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> Seems to work here:
>>>>>>
>>>>>> norume 233>
>>>>>>
>>>>>>
>>>>>> /usr/local/iocapps/R3.14.11/base/3-14-11-asd1/bin/darwin-x86/makeBaseApp.pl
>>>>>> -t ioc blah
>>>>>> norume 234> ls -R
>>>>>> Makefile    blahApp        configure
>>>>>>
>>>>>> ./blahApp:
>>>>>> Db        Makefile    src
>>>>>>
>>>>>> ./blahApp/Db:
>>>>>> Makefile
>>>>>>
>>>>>> ./blahApp/src:
>>>>>> Makefile    blahMain.cpp
>>>>>>
>>>>>> ./configure:
>>>>>> CONFIG        Makefile    RULES        RULES_DIRS
>>>>>> CONFIG_SITE    RELEASE        RULES.ioc    RULES_TOP
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sep 18, 2009, at 5:15 PM, Patrick Thomas wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I was trying to run makeBaseApp -t ioc with epics 3-14-11, and I
>>>>>>> noticed
>>>>>>> that it did not put a Makefile in the directory. It only creates the
>>>>>>> application directory and the configure directory. Is this correct?
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Patrick
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>



-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------


References:
makeBaseApp -t ioc missing Makefile Patrick Thomas
Re: makeBaseApp -t ioc missing Makefile Eric Norum
Re: makeBaseApp -t ioc missing Makefile Patrick Thomas
Re: makeBaseApp -t ioc missing Makefile Patrick Thomas
Re: makeBaseApp -t ioc missing Makefile Zhichu Chen
Re: makeBaseApp -t ioc missing Makefile Patrick Thomas

Navigate by Date:
Prev: web page for EPICS meeting in Kobe, Oct. 11,2009. Noboru Yamamoto
Next: What is all I need to know to write a CA protocal? Zhichu Chen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: makeBaseApp -t ioc missing Makefile Patrick Thomas
Next: web page for EPICS meeting in Kobe, Oct. 11,2009. Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·