Need help installing SDDS from source

Moderators: cyao, soliday

Post Reply
sagan
Posts: 4
Joined: 20 Mar 2020, 13:41

Need help installing SDDS from source

Post by sagan » 20 Mar 2020, 14:10

Hello:

I am trying to install SDDS from source for the first time. I am doing the installation on Scientific Linux 7. I downloaded SDDS, and the "EPICS base configure files" and the "EPICS extensions figure files". I then tried to compile by going to the extensions/src/SDDS directory and issuing the make command. The result is:

erpsim1:~/dcs16/SDDS.4.3/epics/extensions/src/SDDS> make
make -C ./include install
make[1]: Entering directory `/nfs/acc/user/dcs16/SDDS.4.3/epics/extensions/src/SDDS/include'
perl -CSD /nfs/acc/user/dcs16/SDDS.4.3/epics/base/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../../..
Can't open perl script "/nfs/acc/user/dcs16/SDDS.4.3/epics/base/bin/linux-x86_64/makeMakefile.pl": No such file or directory
make[1]: *** [O.linux-x86_64] Error 2
make[1]: Leaving directory `/nfs/acc/user/dcs16/SDDS.4.3/epics/extensions/src/SDDS/include'
make: *** [include.install] Error 2

Note: The directory /nfs/acc/user/dcs16/SDDS.4.3/epics/base exists but the directory /nfs/acc/user/dcs16/SDDS.4.3/epics/base/bin does not.

Any help is much appreciated. -- David

soliday
Posts: 366
Joined: 28 May 2008, 09:15

Re: Need help installing SDDS from source

Post by soliday » 20 Mar 2020, 14:31

You need to run make in epics/base/configure and epics/extensions/configure before running make in epics/extensions/src/SDDS
Scientific Linux 7 can run the RHEL7 RPMs that we distribute, in case you are only interested in running the SDDS software and not building it.

sagan
Posts: 4
Joined: 20 Mar 2020, 13:41

Re: Need help installing SDDS from source

Post by sagan » 20 Mar 2020, 14:47

Thanks for the info. I tried to run make in these directories and here is what I got:

erpsim1:~/dcs16/SDDS.4.3/epics/base/configure> make
perl -CSD ../src/tools/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[1]: Entering directory `/nfs/acc/user/dcs16/SDDS.4.3/epics/base/configure/O.linux-x86_64'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/nfs/acc/user/dcs16/SDDS.4.3/epics/base/configure/O.linux-x86_64'

erpsim1:~/dcs16/SDDS.4.3/epics/base/configure> cd ../../extensions/configure/
erpsim1:~/dcs16/SDDS.4.3/epics/extensions/configure> make
perl -CSD /nfs/acc/user/dcs16/SDDS.4.3/epics/base/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
Can't open perl script "/nfs/acc/user/dcs16/SDDS.4.3/epics/base/bin/linux-x86_64/makeMakefile.pl": No such file or directory
make: *** [O.linux-x86_64] Error 2

What now? -- Thanks, David

PS: I am interested in building SDDS and not just running it.

soliday
Posts: 366
Joined: 28 May 2008, 09:15

Re: Need help installing SDDS from source

Post by soliday » 20 Mar 2020, 14:55

Sorry, I was wrong. You have to run make in epics/base not epics/base/configure

sagan
Posts: 4
Joined: 20 Mar 2020, 13:41

Re: Need help installing SDDS from source

Post by sagan » 20 Mar 2020, 15:09

OK. Things progressed much further. The SDDS compile now give an error (also see the attached log file):

/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -I../../../include -I../../../lzma -DzLib -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../include/compiler/gcc -I../../../../../include/os/Linux -I../../../../../include -I../../../../../include -c ../sddsplotGroup.c
make[2]: *** No rule to make target `../../../../../lib/linux-x86_64/libpng.a', needed by `sddsplot'. Stop.
make[2]: Leaving directory `/nfs/acc/user/dcs16/SDDS.4.3/epics/extensions/src/SDDS/SDDSaps/sddsplots/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/nfs/acc/user/dcs16/SDDS.4.3/epics/extensions/src/SDDS/SDDSaps/sddsplots'
make: *** [SDDSaps/sddsplots.install] Error 2

Thanks, David
Attachments
log.txt
(133.5 KiB) Downloaded 247 times

soliday
Posts: 366
Joined: 28 May 2008, 09:15

Re: Need help installing SDDS from source

Post by soliday » 20 Mar 2020, 15:43

Make sure you have all these system packages installed:
zlib-devel gd-devel libpng-devel libtiff-devel lapack-devel blas-devel gsl-devel motif-devel libXaw-devel ncurses-devel readline-devel libXt-devel libXp-devel hdf5-devel

Post Reply