1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 | 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 2018 2019 2020 <2021> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: 回复:RE: 回复: 回复: CentOS8--An error occurred when installing StreamDevice |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | 回忆回眸 <liu1516301092 at foxmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 2 Apr 2021 14:16:46 +0000 |
> make[2]: *** There is no rule to make the target "../../lib/linux-x86_64/libpcre.a", which is required by "libstream.so". Your original RELEASE file contained this. Ø
PCRE=$(SUPPORT)/streamdevice/StreamDevice-master/prce/prce2-10.36 This seems strange because you have put the pcre module under StreamDevice-master. It really should be at the same level as asyn, calc, streamdevice, etc. Then you need to build pcre first, and correctly define its location in
StreamDevice-master/configure/RELEASE. Alternatively you can just install the package that contains libpcre.so on your Linux system, and then you don’t need to build it. That is what I have done. Mark From:
回忆回眸 <liu1516301092 at foxmail.com> I did it again according to your first method, and finally it can be compiled. But an error occurred. /usr/bin/ranlib libstream.a make[2]: *** There is no rule to make the target "../../lib/linux-x86_64/libpcre.a", which is required by "libstream.so". Stop. make[2]: leave the directory "/home/lytt/epics/streamdevice/StreamDevice-master/src/O.linux-x86_64" make[1]: *** [/home/lytt/epics/base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2 make[1]: leave the directory "/home/lytt/epics/streamdevice/StreamDevice-master/src" make: *** [/home/lytt/epics/base/configure/RULES_DIRS:85: src.install] Error 2 I have the following files in my include file: asynCommonSyncIO.h asynInterposeEos.h asynDriver.h asynInterposeFlush.h asynDrvUser.h asynOctet.h asynEnum.h asynOctetSyncIO.h asynEnumSyncIO.h asynOption.h asynEpicsUtils.h asynOptionSyncIO.h asynFloat32Array.h asynParamType.h asynFloat32ArraySyncIO.h asynPortClient.h asynFloat64Array.h asynPortDriver.h asynFloat64ArraySyncIO.h asynRecord.h asynFloat64.h asynShellCommands.h asynFloat64SyncIO.h asynStandardInterfaces.h asynGenericPointer.h asynUInt32Digital.h asynGenericPointerSyncIO.h asynUInt32DigitalSyncIO.h asynGpibDriver.h devCommonGpib.h asynInt16Array.h devGpib.h asynInt16ArraySyncIO.h devSupportGpib.h asynInt32Array.h drvAsynIPPort.h asynInt32ArraySyncIO.h drvAsynIPServerPort.h asynInt32.h drvAsynSerialPort.h asynInt32SyncIO.h epicsInterruptibleSyscall.h asynInt64Array.h paramErrors.h asynInt64ArraySyncIO.h ParamListInvalidIndex.h asynInt64.h ParamListParamNotFound.h asynInt64SyncIO.h ParamValNotDefined.h asynInt8Array.h ParamValStringSizeRequestTooBig.h asynInt8ArraySyncIO.h ParamValValueNotChanged.h asynInterposeCom.h ParamValWrongType.h I want to know, according to your first method, you can compile. Is the error reported because of missing files in my file? And will it affect me later when I use StreamDevice for work? Thank you! ------------------ 原始邮件 ------------------ 发件人: "Mark Rivers" <rivers at cars.uchicago.edu>; 发送时间: 2021年4月2日(星期五)
晚上9:38 收件人: "回忆回眸"<liu1516301092 at foxmail.com>; 抄送: "EPICS Tech-Talk"<tech-talk at aps.anl.gov>; 主题: RE:
回复:
回复: CentOS8--An error occurred when installing StreamDevice Ø
The following error occurred in the first method: Ø
Definition of SUPPORT conflicts with ASYN support. Ø
In this application a RELEASE file defines Ø
SUPPORT = /home/lytt/epics/streamdevice/StreamDevice-master/.. You must not have typed my first method correctly. You will see that I commented out the line that defined SUPPORT, but clearly you have not done that. Ø
The second method has the following error: Ø
../AsynDriverInterface.cc:41:10: Fatal error: asynDriver.h: No such file or directory You will see that the include files do not include the asyn4-38/include directory, as in your original post. I don’t see a typo in my second method, but
perhaps I am missing it. Or perhaps you have not actually built asyn successfully? Please send the output of this command: ls –l /home/lytt/epics/asyn4/asyn4-38/include Ø
The third method has the following error: Ø
Definition of SUPPORT conflicts with ASYN support. Ø
In this application a RELEASE file defines Ø
SUPPORT = /home/lytt/epics/streamdevice/StreamDevice-master/../.. Ø
but ASYN at /home/lytt/epics/streamdevice/StreamDevice-master/../../asyn4/asyn4-38 defines Ø
SUPPORT = /corvette/home/epics/devel That means you have left the incorrect definition of SUPPORT in asyn4-38/configure/RELEASE. corvette is my Linux server! You need to either fix the definition
of SUPPORT in that asyn file, or comment it out if it is not used. Mark From:
回忆回眸 <liu1516301092 at foxmail.com>
According to your statement, I did the test separately. The following error occurred in the first method: make[2]: Enter the directory "/home/lytt/epics/streamdevice/StreamDevice-master/configure/O.linux-x86_64" perl -CSD /home/lytt/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease Definition of SUPPORT conflicts with ASYN support. In this application a RELEASE file defines SUPPORT = /home/lytt/epics/streamdevice/StreamDevice-master/.. but ASYN at /home/lytt/epics/asyn4/asyn4-38 defines SUPPORT = /corvette/home/epics/devel make[2]: *** [/home/lytt/epics/base/configure/RULES_BUILD:188:checkRelease] Error 1 make[2]: leave the directory "/home/lytt/epics/streamdevice/StreamDevice-master/configure/O.linux-x86_64" make[1]: *** [/home/lytt/epics/base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2 make[1]: leave the directory "/home/lytt/epics/streamdevice/StreamDevice-master/configure" make: *** [/home/lytt/epics/base/configure/RULES_DIRS:85: configure.install] Error 2 The second method has the following error: /usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -DUSE_TYPED_RSET -DSTREAM_INTERNAL -O3 -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common
-I. -I.- I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/home/lytt/epics/base/include /compiler/gcc -I/home/lytt/epics/base/include/os/Linux -I/home/lytt/epics/base/include -MM -MF AsynDriverInterface.d ../AsynDriverInterface.cc ../AsynDriverInterface.cc:41:10: Fatal error: asynDriver.h: No such file or directory #include "asynDriver.h" ^~~~~~~~~~~~~~ Compilation is interrupted. The third method has the following error: make[2]: Enter the directory "/home/lytt/epics/streamdevice/StreamDevice-master/configure/O.linux-x86_64" perl -CSD /home/lytt/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease Definition of SUPPORT conflicts with ASYN support. In this application a RELEASE file defines SUPPORT = /home/lytt/epics/streamdevice/StreamDevice-master/../.. but ASYN at /home/lytt/epics/streamdevice/StreamDevice-master/../../asyn4/asyn4-38 defines SUPPORT = /corvette/home/epics/devel make[2]: *** [/home/lytt/epics/base/configure/RULES_BUILD:188:checkRelease] Error 1 make[2]: leave the directory "/home/lytt/epics/streamdevice/StreamDevice-master/configure/O.linux-x86_64" make[1]: *** [/home/lytt/epics/base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2 make[1]: leave the directory "/home/lytt/epics/streamdevice/StreamDevice-master/configure" make: *** [/home/lytt/epics/base/configure/RULES_DIRS:85: configure.install] Error 2 It seems that this problem is very difficult to solve. If you can provide a detailed installation tutorial on asyn, StreamDevice, I would be very grateful.
The installation manual given on the official website is very simple, and no standardized installation directory is given during installation. So it's easy to have problems during installation, and don't know where the error occurred. If you can provide a
catalog of specifications for installation, I would also appreciate it very much. Thank you! ------------------
原始邮件 ------------------
发件人: "Mark Rivers" <rivers at cars.uchicago.edu>;
发送时间: 2021年4月2日(星期五)
晚上7:49
收件人: "回忆回眸"<liu1516301092 at foxmail.com>;
主题: Re:
回复: CentOS8--An error occurred when installing StreamDevice > According to what you said, what should my definition of SUPPORT look like? |