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: MEDM installation error on Linux Mint (libXp.a error)
From: Hulusi Öz <[email protected]>
To: Michael Davidsaver <[email protected]>, [email protected]
Date: Mon, 25 Jul 2016 22:46:43 +0300
I understand.. It worked fine at this time. But as you said , it could cause troubleshoot. I'll keep in my mind..

Thank you for your response.

2016-07-25 18:51 GMT+03:00 Michael Davidsaver <[email protected]>:
Just a little PSA.  Manually copying libraries between different linux
distributions is a recipe for extremely hard to troubleshoot misbehavior.

FYI, for Debian derived distributions the "apt-file" utilities knows how
to answer the question "which package provides file X".

eg. on Debian 8 amd64

> $ apt-file search libXp.so
> libxp-dev: /usr/lib/x86_64-linux-gnu/libXp.so



On 07/25/2016 11:29 AM, Hulusi Öz wrote:
> I tried to do that but it doesn't recognize the package. On Ubuntu, it
> is also the same situation, but i installed libxpm package instead of
> it. Eventhough i did the same step in Mint,it doesnt work. Therefore, i
> copy the libXp.a file from Ubuntu's lib folder to the Mint's folder. It
> works fine now. But, thanks for your response..
>
> 25 Tem 2016 17:25 tarihinde "Michael Westfall" <[email protected]
> <mailto:[email protected]>> yazdı:
>
>     You probably just needed to do:
>
>     sudo apt-get install libxp-dev
>
>     On Sun, Jul 24, 2016 at 12:55 PM, Hulusi Öz <[email protected]
>     <mailto:[email protected]>> wrote:
>
>         It is SOLVED..
>         I take the "libXp.a" file on Ubuntu 16.04 and copy that to the
>         Linux Mint "/usr/lib/x86_64-linux-gnu" path. And the problem is
>         solved.
>
>         I don't know why that doesn't work in Linux Mint, but if someone
>         has this problem, this may help..
>
>         Best Regards..
>         Hulusi
>
>         2016-07-24 18:28 GMT+03:00 Hulusi Öz <[email protected]
>         <mailto:[email protected]>>:
>
>             Hi Everyone,
>
>             I have already installed Epics_Base, Medm, and some other
>             libraries on my other computer which is Ubuntu 16.04.
>
>             For Linux Mint Mate 18, I installed base,extension package,
>             but for MEDM, I couldn't do that.
>
>             I have changed the
>             extensions/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64 .
>             I installed the libraries except libxp-dev. When I try to
>             install this library,it says there are others libraries
>             which refers to that. ( In Ubuntu, I couldn't also install
>             that library). Then, I installed "libxpm-dev" and
>             "libxmu-dev" . In Ubuntu, MEDM worked fine, but in Linux
>             Mint, it doesn't work.
>             It keeps saying "libXp.a" error :
>
>             %%%%%%%%%%%%%%%%%%%
>             make -C ./printUtils install
>             make[1]: Entering directory
>             '/opt/epics/extensions/src/medm3_1_9/printUtils'
>             make -C O.linux-x86_64 -f ../Makefile TOP=../../../..
>             T_A=linux-x86_64 install
>             make[2]: Entering directory
>             '/opt/epics/extensions/src/medm3_1_9/printUtils/O.linux-x86_64'
>             make[2]: Nothing to be done for 'install'.
>             make[2]: Leaving directory
>             '/opt/epics/extensions/src/medm3_1_9/printUtils/O.linux-x86_64'
>             make[1]: Leaving directory
>             '/opt/epics/extensions/src/medm3_1_9/printUtils'
>             make -C ./xc install
>             make[1]: Entering directory
>             '/opt/epics/extensions/src/medm3_1_9/xc'
>             make -C O.linux-x86_64 -f ../Makefile TOP=../../../..
>             T_A=linux-x86_64 install
>             make[2]: Entering directory
>             '/opt/epics/extensions/src/medm3_1_9/xc/O.linux-x86_64'
>             make[2]: Nothing to be done for 'install'.
>             make[2]: Leaving directory
>             '/opt/epics/extensions/src/medm3_1_9/xc/O.linux-x86_64'
>             make[1]: Leaving directory
>             '/opt/epics/extensions/src/medm3_1_9/xc'
>             make -C ./medm install
>             make[1]: Entering directory
>             '/opt/epics/extensions/src/medm3_1_9/medm'
>             make -C O.linux-x86_64 -f ../Makefile TOP=../../../..
>             T_A=linux-x86_64 install
>             make[2]: Entering directory
>             '/opt/epics/extensions/src/medm3_1_9/medm/O.linux-x86_64'
>             make[2]: *** No rule to make target
>             '/usr/lib/x86_64-linux-gnu/libXp.a', needed by 'medm'.  Stop.
>             make[2]: Leaving directory
>             '/opt/epics/extensions/src/medm3_1_9/medm/O.linux-x86_64'
>             ../../../../base/configure/RULES_ARCHS:63: recipe for target
>             'install.linux-x86_64' failed
>             make[1]: *** [install.linux-x86_64] Error 2
>             make[1]: Leaving directory
>             '/opt/epics/extensions/src/medm3_1_9/medm'
>             ../../../base/configure/RULES_DIRS:70: recipe for target
>             'medm.install' failed
>             make: *** [medm.install] Error 2
>             %%%%%%%%%%%%%%%%%%%
>
>             Thanks in advance..
>             Best Regards..
>
>             Hulusi
>
>
>
>
>
>     --
>     Mike Westfall
>     Control Systems Software Engineer
>
>



References:
MEDM installation error on Linux Mint (libXp.a error) Hulusi Öz
Re: MEDM installation error on Linux Mint (libXp.a error) Hulusi Öz
Re: MEDM installation error on Linux Mint (libXp.a error) Michael Westfall
Re: MEDM installation error on Linux Mint (libXp.a error) Hulusi Öz
Re: MEDM installation error on Linux Mint (libXp.a error) Michael Davidsaver

Navigate by Date:
Prev: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Hulusi Öz
Next: RE: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Mark Rivers
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: MEDM installation error on Linux Mint (libXp.a error) Michael Davidsaver
Next: Can I start a pcaspy ioc together with a streamdevice ioc Silver
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, 25 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·