EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  Index 1994  1995  1996  1997  <19981999  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 
<== Date ==> <== Thread ==>

From: Super-User <[email protected]>
Date: Fri, 27 Mar 1998 12:47:56 +0900 (KST)
Dear Sir

I am a graduate student of POSTECH in Korea.
I must install EPICS in order to develope longitudinal feedback system for the 
PLS (=Pohang Light Source / PAL) storage.
I installed epics base with William ([email protected]), 
Rozelle Wright ([email protected]), Noboru Yamamoto ([email protected])
and Steve Lewis ([email protected])'s help. I thank them very much.
I tried to compile EPICS extensions which is composed with 
extensions2-17-97.Tar.gz and extensions2-17-97.config.gz files.
But I met some errors, So I cann't install epics extensions in my machine.
        My mcahine is Sun Enterprise Server 450
        OS is Solaris2.6
        Target is mv162
        VxWorks is Tornado-1.0.1 which is located at /usr/local/tornado-1.0.1
        EPICS is epics-3.13.0.b11 which is located at /usr/local/epics
        EPICS base is located at /usr/local/epics/base
        EPICS base tools is loacted at /usr/local/epics/base/src/tools
        XRT/GRAPH is located at /usr/local/xrt_pds-1.0.0
        which is the XRT/PDS-1.0.0.
 
When I compile the medm, I met one error:
/opt/SUNWspro/bin/cc -Xa -O  -I../../graphX -I../../xc -I/usr/dt/include 
-I/usr/openwin/include -I/usr/local/xrt_pds-1.0.0/include/Xm -DSOLARIS   
-I. -I.. -I/usr/local/epics/base/include  -DUNIX  -c ../help_protocol.c
"../help_protocol.c", line 75: 
warning: argument #4 is incompatible with prototype:
        prototype: pointer to function() returning void : 
                        "/usr/dt/include/Xm/Protocols.h", line 89
        argument : pointer to function(pointer to struct 
                _WidgetRec {struct _CorePart {..} core}, 
pointer to char, pointer to char) returning p...
gnumake[3]: *** No rule to make target `/usr/local/epics/extensions/lib/solaris/libUnix.a',
            needed by `medm'.  Stop.
gnumake[3]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/medm/medm/O.solaris'
gnumake[2]: *** [arch] Error 2
gnumake[2]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/medm/medm'
gnumake[2]: Entering directory `/usr/local/epics-3.13.0.b11/extensions/src/medm/medm'
gnumake[2]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/medm/medm'
gnumake[1]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/medm/medm'
codia[119]# 
Question[1] anybody know why that error happened ?
           -----------------------------------------
Question[2] in /usr/local/epics/config/CONFIG_SITE.Vx.68k
 
        I don't know about the variable
        # Epics defs
        HIDEOS=/home/phoebus/HIDEOS/hideos_vx
        I set the variable such as
        HIDEOS=/usr/local/hideos/hideos
         
        at the place which some directories are included:
        codia[61]# pwd
        /usr/local/hideos/hideos
        codia[62]# ls
        CVS/          apps/         epics/        tools/
        MakeArch      config/       hideos_sys/   vxworks_sys/
        Makefile      doc/          install/
        Is this variable setting is right ?
        ---------------------------------

Question[3] I cann't compile the iv_epics_3.1.tar.gz in my machine.
        I complied that such as:
         
        codia[1]# cd /usr/local
        codia[2]# gzip -d < iv_epics_3.1.tar.gz | tar xvf -
        codia[3]# mv iv_epics interviews-3.1
        codia[4]# cd interviews-3.1
        codia[5]# setenv HOST_ARCH solaris
        codia[6]# setenv X11_LIB /usr/openwin/lib
        codia[7]# setenv X11_INC /usr/openwin/include
        codia[8]# setenv XCONFIGDIR /usr/openwin/lib/X11/config
        codia[9]# setenv InstallCmd /usr/ucb/install
        codia[10]# vi src/config/InterViews/local.def
        codia[11]# gnumake World XCONFIGDIR=/usr/openwin/lib/X11/config 
                <-- one line --> InstallCmd=/usr/ucb/install
        codia[12]# gnumake install XCONFIGDIR=/usr/openwin/lib/X11/config 
                <-- one line  --> InstallCmd=/usr/ucb/install
        After install the interviews-3.2, I linked 
 
        codia[13]# ln -s /usr/local/interviews-3.1/installed /usr/local/interviews
 
        But I cann't find the /usr/local/interviews/lib/O.solaris.
        Only "all" I can find. So, linking of libIV.so and libUnidraw.so
        is impossible. 
        But in /usr/local/interviews/bin/O.solaris/, Some files are located:
        codia[100]# pwd
        /usr/local/interview/bin/O.solaris
        codia[101]# ls
        cpu*     ibmkmf*  ivmkmf*  remind*
        codia[102]# 
 
        I think that my compiling of interviews has some problems. 
        Please, tell me the right way how I can installed iv_epics_3.1.tar.gz 
        ---------------------------------------------------------------------
Question[4] in /usr/local/epics/config/CONFIG_SITE.Unix.solaris
 
        WINGZ_INC = /opt/local/Wingz2/incl
        WINGZ_LIB = /opt/local/Wingz2/lib/libiattools.a
        QUESTWIN = /usr/local/questwin
        DP_LIB = /opt/local/lib
        DP_INC = /opt/local/include
        BLT_LIB = /opt/local/lib
        BLT_INC = /opt/local/include
        I don't know about "DP" and "BLT" "QUESTWIN" and "WINGZ"
        where can I obtain those  source file ? 
        I want to install the "DP" and "BLT", But  I don't know the place where
        I can obtain those source. 
        Please tell me the place where I can obtain those source tar files.
        ------------------------------------------------------------------
 
Question[5] two config files: 
                extensions4-15-97.config.Tar.gz and 
                extensions2-17-97.config.Tar.gz
        which must I use in order to compile the extensions2-17-97.Tar.gz
        -----------------------------------------------------------------
        what difference of above two config files ?
        -------------------------------------------
Question[6] in extensions2-17-97.Tar.gz, README describes setting path
                such as:
 
        set path = ($path EPICS/base/tools  ~~~~ EPICS/extensions/bin/HOST_ARCH)
         
                does "EPICS/base/tools" mean "EPICS/base/src/tools" ?
                ----------------------------------------------------
         
        And must I make a directory such as "EPICS/extensions/bin/HOST_ARCH" 
                (=/usr/local/epics/extensions/bin/solaris) ?
                -----------------------------------------------------------
Questions[7] In building all extensions with GNU Compiler (gcc, g++), some errors happened :

gnumake[4]: Entering directory `/usr/local/epics-3.13.0.b11/extensions/src/xmca/O.solaris'
rm -f xmca.o
/usr/local/bin/gcc -ansi -O  -D_NO_PROTO -I/usr/local/epics/extensions/include 
-I/usr/local/epics/extensions/include -I/usr/dt/include -I/usr/openwin/include -DSOLARIS   -I. 
-I.. -I/usr/local/epics/base/include  -DUNIX  -c ../xmca.c
../xmca.c:52: chandata.h: No such file or directory
gnumake[4]: *** [xmca.o] Error 1
gnumake[4]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/xmca/O.solaris'
gnumake[3]: *** [arch] Error 2
gnumake[3]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/xmca'
gnumake[3]: Entering directory `/usr/local/epics-3.13.0.b11/extensions/src/xmca'
gnumake[3]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/xmca'
gnumake[2]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src/xmca'
gnumake[1]: Leaving directory `/usr/local/epics-3.13.0.b11/extensions/src'
codia[177]# 
 
Pleae, tell me the way how I can cure above errors ?
---------------------------------------------------

Question[8] in two "ar" "ld" and "as" etc, (=/usr/ccs/bin/as (Solaris as), /usr/local/bin/as(GNU as),
		(/usr/ccs/bin/ar(Solaris ar), /usr/local/bin/ar (GNU ar) )

	    which I must use in order to compile epics extensions 
		i.e GNU or Solaris ?		

Thank you for reading my mail !
I hope that someone would help me kindly.

from Yujong Kim, POSTECH

[email protected]
[email protected]
        


Navigate by Date:
Prev: Re: Stops in the motor record Graham Waters
Next: EPICS listserver archives phrase finder Bill McDowell
Index: 1994  1995  1996  1997  <19981999  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 
Navigate by Thread:
Prev: Re: Stops in the motor record Hubert Yamada
Next: EPICS listserver archives phrase finder Bill McDowell
Index: 1994  1995  1996  1997  <19981999  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·