If you are running centos, this post could be all you need: http://toto-share.com/2011/02/install-seplib-seismic-processing/
I am runnning ubuntu in virtualbox which was installed on my window 7 home premier. I followed the above mentioned post but got SEPlib installed in a slightly different way. Hopefully this experience will be of any help to others.
Step 1: Install intel fortran 90 compiler. gfortran had no success. To download, click “Tools&Downloads” and then “Free Non-Commercial”. Download links and series number will be provided. Use it.
Step 2: Add the Intel Fortran Bin directory to the home path. Edit /home/your_user/.bashrc, add this text at bottom of this file : export PATH=$PATH:/your_Intel_Fortran_Compiler_installed/bin.
Step 3: Extract your seplib source. Use command : tar zxvf seplib-7.0.4.tar.gz
Step 4: Open your seplib extracted directory. Use command : cd seplib-7.0.4
Step 5: Export your fortran variable. Use command : export FC=ifort
Step 6: Install fftw3 packages: On GHOME desktop, System->Administration->Synaptic Package Manager, search for fftw3. I installed cl-fftw3, libfftw3-doc and root-plugin-fftw3
Step 7: Install qt3 packages: On terminal type sudo apt-get install qt3-dev-tools. Note qt4 with compatibility support for qt3 does not work.
Step 8: Add FFTW_FCLD linking flags. Use Command (example: in my computer, libfftw3 library installed at location /usr/lib) : export FFTW_FCLD=”-L/usr/lib -lfftw3f”.
Step 9: type in order: (1) ./configure –prefix=/opt/seplib –with-su=/home/toto/ProgramFiles/ –with-fftw (2) make (3) make install. Note installing seplib under folders other than your home folder requires root administration.
Step 10: Add your seplib bin directory to your user path. Edit /home/your_user/.bashrc, add this text at bottom of this file : export PATH=$PATH:/your_seplib_installation/bin.
Step 11: Finally, export DATAPATH=/home/your_username/name_of_sep_datapath. name_of_sep_datapath will be the folder holding all output data files regardless of your working folder.Sources: http://toto-share.com/2011/02/install-seplib-seismic-processing/ http://sepwww.stanford.edu/doku.php?id=sep:software:installing_seplib