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  2015  2016  2017  <20182019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
<== Date ==> <== Thread ==>

Subject: Re: Build pvaPy for Python 3
From: Siniša Veseli <sveseli@aps.anl.gov>
To: renato sanhueza <renato.sanhueza@alumnos.usm.cl>, <tech-talk@aps.anl.gov>
Date: Fri, 5 Jan 2018 15:09:51 -0600

Hi,

Could you send me the output of "echo $LD_LIBRARY_PATH" before you run python, and also the output of "ldd pvaccess.so"? The so library will be under the version-specific python library directory.

Sinisa


On 1/5/18 2:56 PM, renato sanhueza wrote:
hi,

after compiling pvaPy when I import it in a python program I got the following error. I tried to fixed, but I couldn't:

ImportError: pvaccess.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

On Fri, Jan 5, 2018 at 11:39 AM, Siniša Veseli <sveseli@aps.anl.gov> wrote:

Just forwarded you email that contains link to v7 download.


On 1/5/18 10:36 AM, renato sanhueza wrote:
Only EPICS7 Java version is available in sourceforge: https://sourceforge.net/projects/epics-pvdata/files/ Should I download the C++ version from github?

On Fri, Jan 5, 2018 at 11:16 AM, Siniša Veseli <sveseli@aps.anl.gov> wrote:

Using EPICS7 release should result in a better performance, but since it just came out last month, you might see some issues that have not been caught/fixed yet. In either case, pvaPy maintains backwards compatibility, so if you develop your python application with 4.6.0 v4 release, and later decide to go with epics7, you should not have to change your python code.

Sinisa


On 1/5/18 9:03 AM, renato sanhueza wrote:
I am currently using the EPICS 4.6.0 tar.gz because I thought that EPCIS 7.0 is not stable yet. Am I right?. I will try your solutions now. Thanks!

On Fri, Jan 5, 2018 at 12:02 PM, renato sanhueza <renato.sanhueza@alumnos.usm.cl> wrote:
I am currently using the EPICS 4.6.0 tar.gz because I thought that EPCIS 7.0 is not stable yet. Am I right?. I will try your solutions now. Thanks!

On Fri, Jan 5, 2018 at 10:30 AM, Siniša Veseli <sveseli@aps.anl.gov> wrote:

Hi,

In the tools/build directory there are example scripts for building pvapy, boost, etc. There you will find example scripts for python 3 as well. Basically, if you want to build using automated configuration, you need to use PYTHON_VERSION=3 on the "make configure" line (as outlined in the README.md file).

If you have any issues, let me know.

Sinisa


On 1/5/18 2:03 AM, Ralph Lange wrote:
Hi Renato,

Did you see the recently released 1.0.0 version of pvaPy that includes build support for Python3?

Cheers,
~Ralph



On Fri, Jan 5, 2018 at 5:48 AM, renato sanhueza <renato.sanhueza@alumnos.usm.cl> wrote:
Hi,

I was able to build pvaPy and use it in some examples successfully. The problem is that I also need to use some Python 3 modules. How can I build pvaPy for Python 3.6?

Best regards,
Renato

--
Renato Sanhueza Ulsen
Ing Civil Informática.


-- 
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli@anl.gov
(630)252-9182 



--
Renato Sanhueza Ulsen
Ing Civil Informática.



--
Renato Sanhueza Ulsen
Ing Civil Informática.

-- 
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli@anl.gov
(630)252-9182 



--
Renato Sanhueza Ulsen
Ing Civil Informática.

-- 
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli@anl.gov
(630)252-9182 



--
Renato Sanhueza Ulsen
Ing Civil Informática.

-- 
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli@anl.gov
(630)252-9182 

References:
Build pvaPy for Python 3 renato sanhueza
Re: Build pvaPy for Python 3 Ralph Lange
Re: Build pvaPy for Python 3 Siniša Veseli
Re: Build pvaPy for Python 3 renato sanhueza
Re: Build pvaPy for Python 3 Siniša Veseli
Re: Build pvaPy for Python 3 renato sanhueza

Navigate by Date:
Prev: Re: Build pvaPy for Python 3 renato sanhueza
Next: Re: Build pvaPy for Python 3 renato sanhueza
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
Navigate by Thread:
Prev: Re: Build pvaPy for Python 3 renato sanhueza
Next: Re: Build pvaPy for Python 3 renato sanhueza
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
ANJ, 06 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·