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  2015  <20162017  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  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to configurate MCA for Octave
From: Hulusi Öz <[email protected]>
To: Eric Norum <[email protected]>, [email protected]
Date: Thu, 21 Jul 2016 18:46:31 +0300

Thanks for your response,
I understood,  is there any change that i should make in the makefile or something else ? Or, should i change the file paths (Since my octave folder is on the /usr/share/octave....) ? And, where should i put this script in ?

I am new at this platform,so i am sorry if i ask too much question..

Thanks in advance and Best regards..
Hulusi

21 Tem 2016 16:48 tarihinde "Eric Norum" <[email protected]> yazdı:
Did you try using the ‘buildForOctave’ script that is distributed with the MCA extension?
#!/bin/sh
#
# Provided by Eric Norum, APS, Dec. 2006

if [ -z "`env | grep EPICS_BASE`" -o -z "`env | grep EPICS_EXTENSIONS`" ]
then
    echo "Need EPICS_BASE and EPICS_EXTENSIONS environment variables" >&2
    exit 1
fi
MEX="mkoctfile --mex" FLAGS="-DmexAtExit=atexit" make MEXOUT=mex install
rm -f Channel.o MCAError.o TestHash.cpp mca.o
Caveat — it’s been a while since I’ve used this.

On Jul 21, 2016, at 6:03 AM, Hulusi Öz <[email protected]> wrote:

Hi Everyone,

I have just installed GNU Octave on Ubuntu 16.04 -x64. And also, I have just installed MCA extension. However, I could not configurate each of them . Therefore, I could not build MCA extension. I have got this error :

%---------------------------------%

mex -v -I/opt/epics/base/include -I/opt/epics/base/include/os/Linux -DEPICS_DLL_NO -L/opt/epics/base/lib/linux-x86_64 -ldbStaticHost -lCom -lca mca.cpp MCAError.cpp Channel.cpp -o O.linux-x86_64/mca.mexglx
make: mex: Command not found
Makefile:66: recipe for target 'O.linux-x86_64/mca.mexglx' failed
make: *** [O.linux-x86_64/mca.mexglx] Error 127

%---------------------------------%

How can I figure this error out ? I am looking forward to your recommendations..
Thanks in advance,
Best Regards..

Hulusi

-- 
Eric Norum
[email protected]





References:
How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum

Navigate by Date:
Prev: RE: CARS:Modbus - function 06 (write single register) issue Nick Levchenko
Next: Re: How to configurate MCA for Octave Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to configurate MCA for Octave Eric Norum
Next: Re: How to configurate MCA for Octave Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·