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  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 
<== Date ==> <== Thread ==>

Subject: RE: Unable to build support modules on Windows, with base 3.15.2
From: "Heesterman, Peter J" <Peter.Heesterman@ccfe.ac.uk>
To: "'Bob Soliday'" <soliday@anl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>, "rivers@cars.uchicago.edu" <rivers@cars.uchicago.edu>
Date: Thu, 17 Sep 2015 13:53:08 +0000
Hi Bob, Mark,

I was running gnumake 3.81 (which seems to be the most recent binary-installable version from http://gnuwin32.sourceforge.net/packages/make.htm?).

I downloaded make.exe (only) from http://www.equation.com/servlet/equation.cmd?fa=make and replaced (re-named) the existing make.exe.
(Don't think this is the 'proper' install process...?)

Now I'm able to build normally.

Many thanks,

Peter.

-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Bob Soliday
Sent: 16 September 2015 19:32
To: tech-talk@aps.anl.gov
Subject: Re: Unable to build support modules on Windows, with base 3.15.2

What version of gnumake are you using on Windows? When I use 3.81 I get similar errors compiling my code in extensions. When I switch to 4.1 the errors disappear.

On 09/16/2015 01:22 PM, Mark Rivers wrote:
> Do these files optionally included from asyn/configure/RELEASE exist and contain anything?
>
> -include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH)
> -include $(TOP)/../configure/EPICS_BASE.$(EPICS_HOST_ARCH)
>
> Where $(EPICS_HOST_ARCH) is probably win32-x86-static for the builds you have been doing.
>
> Mark
>
> -----Original Message-----
> From: Heesterman, Peter J [mailto:Peter.Heesterman@ccfe.ac.uk]
> Sent: Wednesday, September 16, 2015 1:19 PM
> To: Mark Rivers; 'Jani Hakala'
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: RE: Unable to build support modules on Windows, with base 
> 3.15.2
>
> Hi Mark,
>
>>> modified any of the files in base/configure/os?
> No. I've checked carefully.
>
> The RELEASE file is attached (as been fiddling with D:'s and slashes).
>
> Which set are you referring to?
> Do you mean setting the path to perl, called from win32.bat?
>
> D:\EPICS>REM   --------------- ActiveState perl -------------------
>
> D:\EPICS>set 
> PATH=C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\Wb
> em
>
> Cheers,
>
> Peter.
>
>
> -----Original Message-----
> From: Mark Rivers [mailto:rivers@cars.uchicago.edu]
> Sent: 16 September 2015 18:54
> To: Heesterman, Peter J; 'Jani Hakala'
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: RE: Unable to build support modules on Windows, with base 
> 3.15.2
>
> Strange, it is putting the current path in front of the path to the perl script in base.
>
> Have you modified any of the files in base/configure/os?
>
> Send the contents of asyn/configure/RELEASE and the output of the "set" command.
>
> Mark
>
>
> -----Original Message-----
> From: Heesterman, Peter J [mailto:Peter.Heesterman@ccfe.ac.uk]
> Sent: Wednesday, September 16, 2015 12:21 PM
> To: Mark Rivers; 'Jani Hakala'
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: RE: Unable to build support modules on Windows, with base 
> 3.15.2
>
> Hi Mark,
>
> That's a combination that I've tried, with the result attached.
>
> Cheers,
>
> Peter.
>
> -----Original Message-----
> From: Mark Rivers [mailto:rivers@cars.uchicago.edu]
> Sent: 16 September 2015 17:45
> To: Heesterman, Peter J; 'Jani Hakala'
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: RE: Unable to build support modules on Windows, with base 
> 3.15.2
>
> I define EPICS_BASE like this:
> EPICS_BASE=H:/epics/base-3.14.12.5
>
> I use a drive letter and forward slashes.
>
> Mark
>
>
> -----Original Message-----
> From: Heesterman, Peter J [mailto:Peter.Heesterman@ccfe.ac.uk]
> Sent: Wednesday, September 16, 2015 11:36 AM
> To: Mark Rivers; 'Jani Hakala'
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: RE: Unable to build support modules on Windows, with base 
> 3.15.2
>
> Hi Mark, Jani,
>
> Thank you for your responses.
>
> FYI my build directory structure has:
> D:\EPICS
> 	Base
> 	Support
> 		Seq
> 		Asyn
> 		...
>
> I have configured RELEASE in these modules as:
> 	EPICS_BASE=\EPICS\base
>
> I have also experimented with (explicitly) D:\EPICS\base - I prefer to avoid doing so, as the C: drive could be used.
> I have also experimented with various combinations of the slash character.
> None of this made any difference.
>
> You are correct, perl -CSD \EPICS\base/bin/win32-x86-static/makeMakefile.pl ... is the correct and expected output.
> I have no idea why D:/EPICS/support/asyn/configure/ has been prepended - it doesn't make any sense.
>
> Also, why are the directories '.' and '..' being compiled as perl scripts, resulting in 'permission denied'?
> BTW, I have not set any unusual permissions - (Everyone - Read only), (Administrators, system and myself, full control).
>
> Cheers,
>
> Peter.
>
>
>
> -----Original Message-----
> From: Mark Rivers [mailto:rivers@cars.uchicago.edu]
> Sent: 15 September 2015 21:43
> To: 'Jani Hakala'; Heesterman, Peter J
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: RE: Unable to build support modules on Windows, with base 
> 3.15.2
>
> Hi Peter,
>
> I agree with Jani.
>
> This is what you are getting:
>
> make[1]: Entering directory `D:/EPICS/support/asyn/configure'
> perl -CSD D:/EPICS/support/asyn/configure/\EPICS\base/bin/win32-x86-static/makeMakefile.pl O.win32-x86-static ../..
>
> This is what I get:
>
> make[1]: Entering directory 'C:/EPICS/Support-3-15/asyn-R4-26/configure'
> perl -CSD C:/EPICS/base-3.15.2/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..
>
> For some reason for you it is putting the current path in front of the path to the makeMakefile.pl script in EPICS base.
>
> How have you defined EPICS_BASE in asyn/configure/RELEASE?
>
> Mark
>
>
> -----Original Message-----
> From: tech-talk-bounces@aps.anl.gov 
> [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Jani Hakala
> Sent: Tuesday, September 15, 2015 3:03 PM
> To: Heesterman, Peter J
> Cc: EPICS Tech-Talk (tech-talk@aps.anl.gov)
> Subject: Re: Unable to build support modules on Windows, with base 
> 3.15.2
>
> "Heesterman, Peter J" <Peter.Heesterman@ccfe.ac.uk> writes:
>
>> Hi,
>>
>> I just downloaded EPICS base 3.15.2, superseding previous 3.15.1.  I 
>> am experiencing a problem building any of the support modules, while 
>> using the make file build.  (There is no problem building base 3.15.2 
>> itself, however.)
>>
>> I've built all the same code successfully on Linux, while using 
>> 3.15.2.
>>
>> See attached, these are examples when trying to build Asyn or Seq, 
>> but this applies to all modules I've looked at, and to different 
>> build configurations I've attempted.  It all built OK when using 3.15.1.
>>
>> What could I be missing?
>>
> This doesn't look so good
>
>      perl -CSD D:/EPICS/support/asyn/configure/\EPICS\base/bin/win32-x86-static/makeMakefile.pl O.win32-x86-static ../..
>
> i.e. that "\EPICS\base" part.
>
> I would check the contents of asyn/configure/RELEASE for definitions of SUPPORT and EPICS_BASE or the contents of environment variables.
>
> Jani Hakala
>
>
>
>



Replies:
RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
References:
Unable to build support modules on Windows, with base 3.15.2 Heesterman, Peter J
Re: Unable to build support modules on Windows, with base 3.15.2 Jani Hakala
RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
RE: Unable to build support modules on Windows, with base 3.15.2 Heesterman, Peter J
RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
RE: Unable to build support modules on Windows, with base 3.15.2 Heesterman, Peter J
RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
RE: Unable to build support modules on Windows, with base 3.15.2 Heesterman, Peter J
RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
Re: Unable to build support modules on Windows, with base 3.15.2 Bob Soliday

Navigate by Date:
Prev: Agilent DSO-X 2014A Lionberger, Carl A.
Next: "security audit" of EPICS / Channel Access? Hartman, Steven M.
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 
Navigate by Thread:
Prev: RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
Next: RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
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 
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 ·