Installation of LDAS (version 0.0.17) ---------------------------------------- Platform: --------- SUN Ultra SPARC II, Solaris 2.6 Prerequisites: -------------- 1. Package lam-6.3.2 removed by command 'stow --delete lam-6.3.2'. New version (lam-6.5.1) of this package is installed. Required patch to package lam-6.5.1 is applied. 2. New package CLAPACK 3.0 was installed: After applying patch edit file make.inc and change last three lines from (first two lines should point to GNU 'install' utility) INSTALL = /usr/bin/install INSTALLD = /usr/bin/install -D prefix = /tmp/ldcg/stow_pkgs/clapack to INSTALL = /usr/local/bin/install INSTALLD = /usr/local/bin/install -D prefix = /ldcg/stow_pkgs/clapack 3. New package GNU Fileutils 4.0 was installed List of packages in /ldcg/stow directory: ------------------------------------------ BWidget-1.2.1 ObjectSpace-1.2.0 autoconf-2.13 automake-1.4 binutils-2.10.1 cURL-6.4 clapack clapack-3.0 fftw-2.1.3 fileutils-4.0 gcc-2.95.2 lam-6.5.1-ldas1 libtool-1.3.3 m4-1.4 make-3.79.1 perceps-3.5.0p1 stow-1.3.2 swig-1.1-883 tcl-8.3.2 tk-8.3.2 Building LDAS ------------- 1. Run script 'buid-ldas' cd ldas-0.0.17 ./build-ldas --prefix=/ldcg --enable-metadata-api=no 2. Edit file 'ldas-0.0.17/lib/framecpp/tests/Makefile.in' to add library 'libposix4' at the end of defintion of variable LIBS at line 156: LIBS = @LIBS@ -lposix4 then run 'make' from directory ldas-0.0.17/SunOS-sun4 3. Something is brocken in making of documentation: change line 244 in file ldas-0.0.17/SunOS-sun4u/api/genericAPI/so/doc/html/Makefile from: perceps_cc_toc $(perceps_cc_docs): $(docfiles) $(giffiles) to: perceps_cc_toc $(perceps_cc_docs) : $(giffiles) then run 'make' from directory ldas-0.0.17/SunOS-sun4 4. At the end of line 113 in file ldas-0.0.17/SunOS-sun4u/api/wrapperAPI/so/src/Makefile '-lposix4 -lz' must be added to the definition of variable 'LIBS'. LIBS= .... -lposix4 -lz Run command 'make' in directory ldas-0.0.17/SunOS-sun4u/. ----------------------------------------------------------------------------- THIS IS THE END OF COMPILATION of LDAS ----------------------------------------------------------------------------- INSTALLATION ------------- Run command make install in directory ldas-0.0.17/SunOS-sun4u/ or command sh -c 'make -i install > install.log 2>&1' which allows make to ignore some errors and continue installation. Tests ----- For Solaris 2.6 the library libposix4 must be added to the list of libraries in several Makefile files. 1) '-lposix4' must be added to the end of line 118 in file ldas-0.0.17/SunOS-sun4u/lib/general/test/Makefile LIBS = -lpthread -lsocket -lposix4 2) '-lz -lposix4' must be added to the end of line 149 in file ldas-0.0.17/SunOS-sun4u/lib/ilwd/tests/Makefile LIBS = -lpthread -lsocket -lz -lposix4 3) '-lposix4' must be added to the end of line 124 in file ldas-0.0.17/SunOS-sun4u/lib/dbaccess/test/Makefile LIBS = -lfl -lposix4 4) '-lz -lposix4' must be added to the end of line 125 in file ldas-0.0.17/SunOS-sun4u/api/lwAPI/so/test/Makefile LIBS = -lpthread -lsocket -lz -lposix4 5) '-lposix4' must be added to the end of line 298 in file ldas-0.0.17/SunOS-sun4u/api/datacondAPI/so/test/Makefile LIBS = -lpthread -lsocket -lposix4 6) '-lz -lposix4' must be added to the end of line 121 in file ldas-0.0.17/SunOS-sun4u/api/eventmonAPI/so/test/Makefile LIBS = -lpthread -lsocket -lposix4 Run 'make check' in directory ldas-0.0.17/SunOS-sun4u/ -------------------------- May 21, 2001 A.Sazonov (sazonov@phys.ufl.edu)