next up previous contents_motif.gif
Next: 3.3 Installation using the Up: 3.2 Installation using the Previous: 3.2 Installation using the


3.2.1 Runnig the install.sh script

Before runnig the install.sh installation script you have to make sure that you fulfill following prerequisites:

The Gnu C-compiler gcc (e.g. gcc and g77), the Xfree development kit and the libpng library must be available. They normally come with every Linux distribution.

Now go to the directory where you have downloaded the openboa cvs directory and files. Change into the directory openboa/install/ where the installation script install.sh is stored and run it:

  ./install.sh

You will be prompted to enter yes (y) or no (n) for the installation of each single software package. Attention, at some points of the installation you don't need to confirm the input of yes (y) or no (n) with the return key, so just press the y-key and see the installation running on (i.e. for the installation of the Intel Fortran 90 compiler, for F2PY, for ).

If you don't want to use the default installation path, then please enter the complete path, e.g. /home/smueller/BoA.

The script will create in this installation directory six sub-directories, bin, BoA, include, lib, man and tmp where all necessary files will be installed. The required disk space is about 220MB.

After the installation please execute the following files:

  source .boarc.sh       (located in your home directory)

and

  source start_boa.sh    (located in your BOA directory)

You can now run BoA by entering boa at the linux prompt, e.g.:

  cd /home/smueller/BOA/fits/
  boa

Example: Installation of the BoA-Softwareinto the directory /home/observer/BOA/

observer@thora:~> cd openboa/install/
observer@thora:~/openboa/install> ./install.sh
This program will install the Bolometer Analysis Package
You can find a logfile of the installation in
/home/observer/openboa/install/build.stat

* In which directory do you want to install the BoA softwares?
(/home/observer) : /home/observer/BOA
* In which directory are the external packages located?
(/home/observer/openboa/install/ExtPkg/) :

Starting installation in /home/observer/BOA

Do you want to install Python-2.3.2 (version 2.2.2 required) (y/N)? y
<boa_build> Unpacking and installing Python-2.3.2
<boa_build>  This may take some time. In case of crash check files in
<boa_build>  /home/observer/BOA/tmp
<boa_build>   -----  Python-2.3.2 : Done -----
Do you want to install Swig-1.3.23 (y/N)? y
<boa_build> Unpacking and installing Swig-1.3.23
<boa_build>  This may take some time. In case of crash check files in
<boa_build>  /home/observer/BOA/tmp
<boa_build>   ----- swig-1.3.23 : Done -----
Do you want to install Numeric-23.1 (version 23.1 required) (y/N)? y
<boa_build> Unpacking and installing Numeric-23.1
<boa_build>  This may take some time. In case of crash check files in
<boa_build>  /home/observer/BOA/tmp
<boa_build>   -----  Numeric-23.1 : Done -----
Do you want to install numarray-0.9 (version 0.8 required) (y/N)? y
<boa_build> Unpacking and installing numarray-0.9

<boa_build>   -----  numarray-0.9 : Done -----
Do you want to install pgplot5.2 (version 5.2 required) (y/N)? y
<boa_build> Unpacking and installing pgplot-5.2
For additional information, read file ./sys_linux/aaaread.me
Reading configuration file: ./sys_linux/g77_gcc.conf
Selecting uncommented drivers from ./drivers.list
Found drivers GIDRIV HGDRIV LSDRIV LXDRIV NUDRIV PGDRIV PSDRIV TTDRIV X2DRIV XWDRIV
Creating make file: makefile
Determining object file dependencies.
<boa_build>   -----  re-running makemake with included drivers.list -----
For additional information, read file ./sys_linux/aaaread.me
Reading configuration file: ./sys_linux/g77_gcc.conf
Selecting uncommented drivers from ./drivers.list
Found drivers GIDRIV HGDRIV LSDRIV LXDRIV NUDRIV PGDRIV PSDRIV TTDRIV X2DRIV XWDRIV
Creating make file: makefile
Determining object file dependencies.
gcc -Wall -fPIC -DPG_PPU -O -I. ./cpg/pgbind.c -o pgbind
./pgbind bsd -h -w ./src/pgarro.f ./src/pgask.f  ./src/pgaxis.f ./src/pgaxlg.f ./src/pgband.f ./src/pgbbuf.f ./src/pgbeg.f  ./src/pgbin.f  ./src/pgbox.f  ./src/pgbox1.f ./src/pgcirc.f ./src/pgcl.f   ./src/pgclos.f ./src/pgcn01.f ./src/pgcnsc.f ./src/pgconb.f ./src/pgconf.f ./src/pgconl.f ./src/pgcons.f ./src/pgcont.f ./src/pgconx.f ./src/pgcp.f   ./src/pgctab.f./src/pgcurs.f ./src/pgdraw.f ./src/pgebuf.f ./src/pgend.f  ./src/pgenv.f  ./src/pgeras.f ./src/pgerr1.f ./src/pgerrb.f ./src/pgerrx.f ./src/pgerry.f ./src/pgetxt.f ./src/pgfunt.f ./src/pgfunx.f ./src/pgfuny.f ./src/pggray.f ./src/pghi2d.f ./src/pghis1.f ./src/pghist.f ./src/pghtch.f ./src/pgiden.f ./src/pgimag.f ./src/pginit.f ./src/pglab.f  ./src/pglcur.f ./src/pgldev.f ./src/pglen.f  ./src/pgline.f ./src/pgmove.f ./src/pgmtxt.f ./src/pgncur.f ./src/pgnoto.f ./src/pgnpl.f  ./src/pgnumb.f ./src/pgolin.f ./src/pgopen.f ./src/pgpage.f ./src/pgpanl.f ./src/pgpap.f  ./src/pgpixl.f ./src/pgpnts.f ./src/pgpoly.f ./src/pgpt.f   ./src/pgpt1.f  ./src/pgptxt.f ./src/pgqah.f  ./src/pgqcf.f  ./src/pgqch.f  ./src/pgqci.f  ./src/pgqcir.f ./src/pgqclp.f ./src/pgqcol.f ./src/pgqcr.f  ./src/pgqcs.f  ./src/pgqdt.f  ./src/pgqfs.f  ./src/pgqhs.f  ./src/pgqid.f  ./src/pgqinf.f ./src/pgqitf.f ./src/pgqls.f  ./src/pgqlw.f  ./src/pgqndt.f ./src/pgqpos.f ./src/pgqtbg.f ./src/pgqtxt.f ./src/pgqvp.f  ./src/pgqvsz.f ./src/pgqwin.f ./src/pgrect.f ./src/pgrnd.f  ./src/pgrnge.f ./src/pgsah.f  ./src/pgsave.f ./src/pgscf.f  ./src/pgsch.f  ./src/pgsci.f  ./src/pgscir.f ./src/pgsclp.f ./src/pgscr.f  ./src/pgscrl.f ./src/pgscrn.f ./src/pgsfs.f  ./src/pgshls.f ./src/pgshs.f  ./src/pgsitf.f ./src/pgslct.f ./src/pgsls.f  ./src/pgslw.f  ./src/pgstbg.f ./src/pgsubp.f ./src/pgsvp.f./src/pgswin.f ./src/pgtbox.f ./src/pgtext.f ./src/pgtick.f ./src/pgtikl.f ./src/pgupdt.f ./src/pgvect.f ./src/pgvsiz.f ./src/pgvstd.f ./src/pgvw.f   ./src/pgwedg.f ./src/pgwnad.f  ./src/pgadvance.f ./src/pgbegin.f   ./src/pgcurse.f   ./src/pglabel.f   ./src/pgmtext.f   ./src/pgncurse.f  ./src/pgpaper.f   ./src/pgpoint.f   ./src/pgptext.f   ./src/pgvport.f   ./src/pgvsize.f   ./src/pgvstand.f  ./src/pgwindow.f
gcc -c -Wall -fPIC -DPG_PPU -O -I. cpg*.c
rm -f cpg*.c
ar ru libcpgplot.a cpg*.o
ar: creating libcpgplot.a
ranlib libcpgplot.a
rm -f cpg*.o
gcc -Wall -O -c -I. ./cpg/cpgdemo.c
g77 -o cpgdemo cpgdemo.o -L`pwd` -lcpgplot -lpgplot -L/usr/X11R6/lib -lX11
rm -f cpgdemo.o

*** Finished compilation of the C PGPLOT wrapper library ***

Note that if you plan to install the library in a different
directory than the current one, both libcpgplot.a and cpgplot.h
will be needed.

<boa_build>   -----  pgplot-5.2 : Done -----
Do you want to install pPGPLOT1.3 (version 1.3 required) (y/N)? y
<boa_build> Unpacking and installing pPGPLOT
<boa_build>   -----  pPGPLOT-1.3 : Done -----
Do you want to install slalib  (y/N)? y
<boa_build> Unpacking and installing slalib
<boa_build>   -----  slalib : Done -----
Do you want to install pySLALIB-0.4 (version 0.4 required) (y/N)? y
<boa_build> Unpacking and installing pySLALIB-0.4
<boa_build>   -----  pySLALIB-0.4 : Done -----
Do you want to install cFITSIO-2.49 (version 2.44 required) (y/N)? y
<boa_build> Unpacking and installing cFITSIO...
<boa_build>   -----  cFITSIO-2.49 : Done -----
Do you want to install p_CFITSIO (very specific version!) (y/N)? y
<boa_build> Installing the included version of pCFITSIO
<boa_build>   -----  p_CFITSIO : Done -----
Do you want to install the Intel Fortran 90 compiler (y/n)? y
<boa_build> Unpacking and installing Intel F90
~/BOA/tmp ~/openboa/install
~/BOA/tmp/intel_fc_80 ~/BOA/tmp ~/openboa/install
~/BOA/tmp ~/openboa/install
~/BOA/tmp/intel_idb_80 ~/BOA/tmp ~/openboa/install
~/BOA/tmp ~/openboa/install
~/openboa/install
<boa_build>   -----  Intel F90 : Done -----
Mon Feb 28 14:03:00 CET 2005
Do you want to install F2PY (cvs latest... you better install this one) (y/N)? y
<boa_build> Unpacking and installing F2PY
<boa_build> You need to be connected if you want to retrieve the latest version of scipy_distutils and f2py
<boa_build> If asked for a password use : 'guest'
Do you want to checkout from CVS (y/N)? N
<boa_build>   -----  F2PY-2-latest : Done -----
Do you want to install python mpfit (y/N)? y
Do you want to install the 'interactive' python script (y/N)? y
Do you want to install the latest version of BoA (y/N)? y
Where would you like to install boa
(/home/observer/BOA/boa) :
Shall CVS be used for BoA sources (y/N) ?y
Enter you login to the cvs server: mueller
Password:
<boa_build> Building the Fortran module (ifc needed)
Do you want to install example MB-Fits files (y/N)? y
Where would you like to install ezample MB-Fits files
(/home/observer/BOA/fits) :
Password:
Do you want to install the documentation (y/N)? y
Where would you like to install the documentation
(/home/observer/BOA/doc) :
Password:
<boa_build> Copying .boarc.[c]sh.new shell files to ~
~/openboa/install ~/BOA/tmp
<boa_build>   -----  .boarc : Done -----
Mon Feb 28 14:10:23 CET 2005
Do you want to create a startup file (y/N)? y
Where would you like to install the startup file
(/home/observer/BOA/start_boa.sh) :
<boa_build>   -----  Latest BoA : Done -----
<boa_build> Installation completed at:Mon Feb 28 14:12:36 CET 2005
<boa_build> You may want to remove/check files in directory:
<boa_build> /home/observer/BOA/tmp/

In case of the on-line installation you will need for the installation of F2PY to enter the password "guest":

  Getting and installing F2PY
  Press Enter for password
  Logging in to :pserver:anonymous@scipy.org:2401/home/cvsroot
  CVS password: guest

If one or more of the servers providing the software sources is down or cannot be reached you can alternativly download all needed software packages from the LABOCA web page at the AIRUB. Just copy all archives into the directory boa_build and run the script ./boa_build again.


next up previous contents_motif.gif
Next: 3.3 Installation using the Up: 3.2 Installation using the Previous: 3.2 Installation using the
Frank Bertoldi 2005-11-10