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: trouble building asyn driver on FreeBSD
From: "Johnson, Andrew N." <[email protected]>
To: Franklin Fuller <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 30 Jan 2015 05:57:04 +0000
Hi Franklin,

There is a patch for the xsubpp issue (along with a number of patches for other issues) linked from the Known Problems page for 3.14.12 which is at http://www.aps.anl.gov/epics/base/R3-14/12-docs/KnownProblems.html. Good luck!

- Andrew

-- 
Sent from my iPad

On Jan 29, 2015, at 7:41 PM, Franklin Fuller <[email protected]> wrote:

Problem "solved" by changing OS to CentOS7...

One thing to note there: base build is expecting xsubpp to be in /usr/share/perl5/ExtUtils/, but with a brand-spanking new CentOS7 build it's found in /bin/.  Problem fixed by softlinking /bin/xsubpp to xsubpp in the expected /usr/share/perl5/ExtUtils/ directory.

Apart from that, this was the easiest build experience I've had so far.


On Thu, Jan 29, 2015 at 9:42 AM, Franklin Fuller <[email protected]> wrote:
Hi all,

First: thank you all for responding so quickly.

Second: The main reason I chose FreeBSD was because I thought it was going to be most similar to my development platform (OS X), which apparently is using clang by default.  If this turns out to be too hard, though, I may just change operating systems to one with better support.

That said, I have been browsing through the configuration files, trying to find where to set "CC= cc".  I was trying to use the Darwin config files to guide me, but that's not really helpful because the freebsd config files don't look similar (or just link to unix defaults).  So, some more guidance from you all would be needed here.

For the time being, I'm going to try and make sure my gcc compiler is correctly linking its libraries.  That seems to be the path of least resistance.

~Franklin

On Thu, Jan 29, 2015 at 8:33 AM, J. Lewis Muir <[email protected]> wrote:
On 1/29/15 9:51 AM, Andrew Johnson wrote:
> EPICS can be built with clang (I have tested that on both Mac and
> Linux), you just have to configure it properly. If new versions of
> FreeBSD now use clang by default then we should change the freebsd
> files in configure/os to assume that; you may be our only FreeBSD user
> at the moment though, so you're going to have to help me with the
> changes that are needed.

Hi, Andrew.

I think Clang is the default on i386 and amd64 as of FreeBSD 10.0:

  http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036480.html

According to the description of the WITH_CLANG_IS_CC variable in the
src.conf(5) man page from the FreeBSD 10.1-RELEASE branch, Clang is the
default for "amd64/amd64, arm/arm, arm/armv6, i386/i386, and pc98/i386."

  https://www.freebsd.org/cgi/man.cgi?query=src.conf

Regards,

Lewis



References:
trouble building asyn driver on FreeBSD Franklin Fuller
Re: trouble building asyn driver on FreeBSD Andrew Johnson
Re: trouble building asyn driver on FreeBSD J. Lewis Muir
Re: trouble building asyn driver on FreeBSD Franklin Fuller
Re: trouble building asyn driver on FreeBSD Franklin Fuller

Navigate by Date:
Prev: Re: trouble building asyn driver on FreeBSD Franklin Fuller
Next: CA Gateway 2.0.6.0 released Ralph Lange
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: trouble building asyn driver on FreeBSD Franklin Fuller
Next: Problems with CA Florian Feldbauer
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 ·