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  <20142015  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  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: build labca
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Fri, 12 Sep 2014 09:59:41 -0500
Hi,

On 09/11/2014 08:44 PM, 岳敏 wrote:
> I have an 32bit Windows 7 operating system installed. I have installed
> Matlab R2008a and cygwin32 on my PC. I included "PATH" by C:\cygwin\bin". 
> 
> Now I downloaded labca_3_4 and extracted it in F:\LabCA\labca_3_4, then
> I changed the CONFIG and RELEASE-file in the labca_3_4\configure-folder:
>  
>  CONFIG: I added these lines by Windows Editor
>                   -  MAKEFOR=MATLAB
>                   -  CONFIG_USE_CTRLC=YES
>  
> and RELEASE:
>                   - INSTALL_LOCATION_APP= F:/LabCA/labca_3_4
>  
>                   - EPICS_BASE=F:/LabCA/base-3-14-12-4
>  
>                   - MATLABDIR=C:/MATLAB/R2008a
>                   - EPICS_HOST_ARCH=cygwin-x86
>                   - MATLIB_SUBDIR=win32/microsoft
> After this,  I opened Cygwin  and entered $ cd
> /cygdrive/f/labca/base-3-14-12-4, entered "make" command. It is ok, no
> error. And then entered $ cd /cygdrive/f/labca/labca_3_4 and entered
> command "make", the info like this:
> 
> $ make
> make -C ./configure install
> make[1]: Entering directory '/cygdrive/f/labca/labca_3_4/configure'
> perl F:/LabCA/base-3.14.12.4/bin/cygwin-x86/makeMakefile.pl O.cygwin-x86
> ../..
> mkdir O.Common
> make -C O.cygwin-x86 -f ../Makefile TOP=../.. T_A=cygwin-x86 install
> make[2]: Entering directory
> '/cygdrive/f/labca/labca_3_4/configure/O.cygwin-x86'
> F:/LabCA/base-3.14.12.4/configure/RULES.Db:198: target 'F' doesn't match
> the target pattern

Since you are using the Cygwin build tools, you must use cygwin-style
paths in your RELEASE file. The Cygwin make doesn't understand paths
that start with F: or C: and thinks they are make rules instead, hence
the strange error messages.

Change your  RELEASE file to this instead:
                   INSTALL_LOCATION_APP= /cygdrive/f/LabCA/labca_3_4

                   EPICS_BASE=/cygdrive/f/LabCA/base-3-14-12-4

                   MATLABDIR=/cygdrive/c/MATLAB/R2008a
                   EPICS_HOST_ARCH=cygwin-x86
                   MATLIB_SUBDIR=win32/microsoft

Then try running 'make' in the /cygdrive/f/labca/labca_3_4 directory again.

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

References:
build labca 岳敏

Navigate by Date:
Prev: RE: stream device with Keithley 2410 Mark Rivers
Next: Re: Keithley 2400 communication priya tiwari
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: build labca 岳敏
Next: Does the record type lsi support a long string longer than 40 bytes? Yun Sangwon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·