Skip to content
Snippets Groups Projects
AAA_SOURCE_ME 1.13 KiB
Newer Older
  • Learn to ignore specific revisions
  • 
    # Source this file to install and build partiview from scratch.
    
    # 
    #  It assumes you have the required ancillary libraries installed, 
    #  in this case fltk and Mesa, and ideally $STARLAB_PATH is also in your
    #  environment.
    
    
    rm -f install.log >& /dev/null
    touch install.log
    
    set stat = 0
    
    echo \(Sending output to install.log\)
    
    pteuben's avatar
    pteuben committed
    if ($?STARLAB_PATH) then
    
      set msg="(including Starlab enhancements)"
    else
      set msg="(without Starlab enhancements)"
    endif
    
    pteuben's avatar
    pteuben committed
        echo "Running configure in src $msg"
    
    pteuben's avatar
    pteuben committed
        sleep 2
    
        cd src
        configure >>& ../install.log
        if ($status) then
    	@ stat++
        endif
        make >>& ../install.log
        if ($status) then
    	@ stat++
        endif
        echo '++++++++++++++++++++++++++++++++++++++++' >>& ../install.log
        cd ..
    
    echo "Done..."
    echo ""
    echo "Note: You need to copy the partiview executable to any directory in your"
    echo "      path, or supply the following alias to your shell:"
    
    echo "             alias partiview `pwd`/src/partiview"
    echo "To run a quick demo:"
    echo "             cd data; partiview hipbright"
    echo "Or if you have STARLAB loaded:"
    echo "             cd data; make -f primbin16.mk; partiview primbin16.cf"