Thread: sac102.0 on ubutnu20.04 build error

Started: 2022-08-16 05:52:54
Last activity: 2022-08-16 15:14:20
Topics: SAC Help
Nasir Mahmood
2022-08-16 05:52:54
Dear sac community
I ave build sac102.0 on ubutnu20.04 but got some errors while running make install as in the below message. I am wondering is some library is missing on my system? If anyone can guide, with thanks.

************************************************************************************************************************
make[1]: Leaving directory '/usr/local/sac/utils'
Making all in t
make[1]: Entering directory '/usr/local/sac/t'
gcc -DHAVE_CONFIG_H -I. -I../inc -Wall -Wextra -D_GNU_SOURCE -Wall -I../inc -I.. -I../include -DTOP_SRCDIR=\"..\" -c -o unit.o unit.c
rm -f libunit.a
ar cru libunit.a unit.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libunit.a
make[1]: Leaving directory '/usr/local/sac/t'
make[1]: Entering directory '/usr/local/sac'
/usr/bin/sed "s,__SAC_PREFIX__,/usr/local/sac," /usr/local/sac/bin/sacinit.sh.in > bin/sacinit.sh
/usr/bin/sed "s,__SAC_PREFIX__,/usr/local/sac," /usr/local/sac/bin/sacinit.csh.in > bin/sacinit.csh
/usr/bin/sed -e "s,__SAC_PREFIX__,/usr/local/sac," -e "s,__SAC_VERSION__,102.0," /usr/local/sac/bin/sac-config.in > bin/sac-config
make[1]: Leaving directory '/usr/local/sac'
root@sysop:/usr/local/sac# make install
Making install in libmseed
make[1]: Entering directory '/usr/local/sac/libmseed'
make[2]: Entering directory '/usr/local/sac/libmseed'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/libmseed'
make[1]: Leaving directory '/usr/local/sac/libmseed'
Making install in evalresp
make[1]: Entering directory '/usr/local/sac/evalresp'
make[2]: Entering directory '/usr/local/sac/evalresp'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/evalresp'
make[1]: Leaving directory '/usr/local/sac/evalresp'
Making install in fern
make[1]: Entering directory '/usr/local/sac/fern'
make[2]: Entering directory '/usr/local/sac/fern'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/fern'
make[1]: Leaving directory '/usr/local/sac/fern'
Making install in sacio
make[1]: Entering directory '/usr/local/sac/sacio'
make[2]: Entering directory '/usr/local/sac/sacio'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/sacio'
make[1]: Leaving directory '/usr/local/sac/sacio'
Making install in src
make[1]: Entering directory '/usr/local/sac/src'
make[2]: Entering directory '/usr/local/sac/src'
/usr/bin/mkdir -p '/usr/local/sac/bin'
/usr/bin/install -c sac '/usr/local/sac/bin'
/usr/bin/mkdir -p '/usr/local/sac/lib'
/usr/bin/install -c -m 644 libsacio.a libsac.a '/usr/local/sac/lib'
( cd '/usr/local/sac/lib' && ranlib libsacio.a )
( cd '/usr/local/sac/lib' && ranlib libsac.a )
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/src'
make[1]: Leaving directory '/usr/local/sac/src'
Making install in utils
make[1]: Entering directory '/usr/local/sac/utils'
make[2]: Entering directory '/usr/local/sac/utils'
/usr/bin/mkdir -p '/usr/local/sac/bin'
/usr/bin/install -c sgftops sgfswap saclst sacswap sacset sacdiff bbfswap unvis '/usr/local/sac/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/utils'
make[1]: Leaving directory '/usr/local/sac/utils'
Making install in t
make[1]: Entering directory '/usr/local/sac/t'
make[2]: Entering directory '/usr/local/sac/t'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/local/sac/t'
make[1]: Leaving directory '/usr/local/sac/t'
make[1]: Entering directory '/usr/local/sac'
make[2]: Entering directory '/usr/local/sac'
/usr/bin/mkdir -p '/usr/local/sac/bin'
/usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh bin/sgftox.csh bin/sac-config '/usr/local/sac/bin'
/usr/bin/install: 'bin/sacinit.sh' and '/usr/local/sac/bin/sacinit.sh' are the same file
/usr/bin/install: 'bin/sacinit.csh' and '/usr/local/sac/bin/sacinit.csh' are the same file
/usr/bin/install: 'bin/sgftoeps.csh' and '/usr/local/sac/bin/sgftoeps.csh' are the same file
/usr/bin/install: 'bin/sgftox.csh' and '/usr/local/sac/bin/sgftox.csh' are the same file
/usr/bin/install: 'bin/sac-config' and '/usr/local/sac/bin/sac-config' are the same file
make[2]: *** [Makefile:495: install-binSCRIPTS] Error 1
make[2]: Leaving directory '/usr/local/sac'
make[1]: *** [Makefile:865: install-am] Error 2
make[1]: Leaving directory '/usr/local/sac'
make: *** [Makefile:557: install-recursive] Error 1
root@sysop:/usr/local/sac#
************************************************************************************************************************

  • George Helffrich
    2022-08-16 09:14:28
    Dear Nasir Mahmood -

    From the error listing, it looks like you are installing SAC into the same directory that you built SAC in. In general, this is not a good idea for any program. Choose a different install directory when you configure SAC.

    On 16 Aug 2022, at 06:54, Nasir Mahmood (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:

    Dear sac community
    I ave build sac102.0 on ubutnu20.04 but got some errors while running make install as in the below message. I am wondering is some library is missing on my system? If anyone can guide, with thanks.

    ************************************************************************************************************************
    make[1]: Leaving directory '/usr/local/sac/utils'
    Making all in t
    make[1]: Entering directory '/usr/local/sac/t'
    gcc -DHAVE_CONFIG_H -I. -I../inc -Wall -Wextra -D_GNU_SOURCE -Wall -I../inc -I.. -I../include -DTOP_SRCDIR=\"..\" -c -o unit.o unit.c
    rm -f libunit.a
    ar cru libunit.a unit.o
    ar: `u' modifier ignored since `D' is the default (see `U')
    ranlib libunit.a
    make[1]: Leaving directory '/usr/local/sac/t'
    make[1]: Entering directory '/usr/local/sac'
    /usr/bin/sed "s,__SAC_PREFIX__,/usr/local/sac," /usr/local/sac/bin/sacinit.sh.in > bin/sacinit.sh
    /usr/bin/sed "s,__SAC_PREFIX__,/usr/local/sac," /usr/local/sac/bin/sacinit.csh.in > bin/sacinit.csh
    /usr/bin/sed -e "s,__SAC_PREFIX__,/usr/local/sac," -e "s,__SAC_VERSION__,102.0," /usr/local/sac/bin/sac-config.in > bin/sac-config
    make[1]: Leaving directory '/usr/local/sac'
    root@sysop:/usr/local/sac# make install
    Making install in libmseed
    make[1]: Entering directory '/usr/local/sac/libmseed'
    make[2]: Entering directory '/usr/local/sac/libmseed'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/libmseed'
    make[1]: Leaving directory '/usr/local/sac/libmseed'
    Making install in evalresp
    make[1]: Entering directory '/usr/local/sac/evalresp'
    make[2]: Entering directory '/usr/local/sac/evalresp'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/evalresp'
    make[1]: Leaving directory '/usr/local/sac/evalresp'
    Making install in fern
    make[1]: Entering directory '/usr/local/sac/fern'
    make[2]: Entering directory '/usr/local/sac/fern'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/fern'
    make[1]: Leaving directory '/usr/local/sac/fern'
    Making install in sacio
    make[1]: Entering directory '/usr/local/sac/sacio'
    make[2]: Entering directory '/usr/local/sac/sacio'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/sacio'
    make[1]: Leaving directory '/usr/local/sac/sacio'
    Making install in src
    make[1]: Entering directory '/usr/local/sac/src'
    make[2]: Entering directory '/usr/local/sac/src'
    /usr/bin/mkdir -p '/usr/local/sac/bin'
    /usr/bin/install -c sac '/usr/local/sac/bin'
    /usr/bin/mkdir -p '/usr/local/sac/lib'
    /usr/bin/install -c -m 644 libsacio.a libsac.a '/usr/local/sac/lib'
    ( cd '/usr/local/sac/lib' && ranlib libsacio.a )
    ( cd '/usr/local/sac/lib' && ranlib libsac.a )
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/src'
    make[1]: Leaving directory '/usr/local/sac/src'
    Making install in utils
    make[1]: Entering directory '/usr/local/sac/utils'
    make[2]: Entering directory '/usr/local/sac/utils'
    /usr/bin/mkdir -p '/usr/local/sac/bin'
    /usr/bin/install -c sgftops sgfswap saclst sacswap sacset sacdiff bbfswap unvis '/usr/local/sac/bin'
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/utils'
    make[1]: Leaving directory '/usr/local/sac/utils'
    Making install in t
    make[1]: Entering directory '/usr/local/sac/t'
    make[2]: Entering directory '/usr/local/sac/t'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/usr/local/sac/t'
    make[1]: Leaving directory '/usr/local/sac/t'
    make[1]: Entering directory '/usr/local/sac'
    make[2]: Entering directory '/usr/local/sac'
    /usr/bin/mkdir -p '/usr/local/sac/bin'
    /usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh bin/sgftox.csh bin/sac-config '/usr/local/sac/bin'
    /usr/bin/install: 'bin/sacinit.sh' and '/usr/local/sac/bin/sacinit.sh' are the same file
    /usr/bin/install: 'bin/sacinit.csh' and '/usr/local/sac/bin/sacinit.csh' are the same file
    /usr/bin/install: 'bin/sgftoeps.csh' and '/usr/local/sac/bin/sgftoeps.csh' are the same file
    /usr/bin/install: 'bin/sgftox.csh' and '/usr/local/sac/bin/sgftox.csh' are the same file
    /usr/bin/install: 'bin/sac-config' and '/usr/local/sac/bin/sac-config' are the same file
    make[2]: *** [Makefile:495: install-binSCRIPTS] Error 1
    make[2]: Leaving directory '/usr/local/sac'
    make[1]: *** [Makefile:865: install-am] Error 2
    make[1]: Leaving directory '/usr/local/sac'
    make: *** [Makefile:557: install-recursive] Error 1
    root@sysop:/usr/local/sac#
    ************************************************************************************************************************

    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/



    George Helffrich
    george<at>elsi.jp


    • Nasir Mahmood
      2022-08-16 15:14:20
      Thanks George for the hint. I am able to resolve the issue. sac-102 is working fine on Ubuntu 20.04 now.Nasir-
      On Tuesday, August 16, 2022 at 01:14:33 PM GMT+5, George Helffrich <george<at>elsi.jp> wrote:

      Dear Nasir Mahmood -
      From the error listing, it looks like you are installing SAC into the same directory that you built SAC in.  In general, this is not a good idea for any program.  Choose a different install directory when you configure SAC.


      On 16 Aug 2022, at 06:54, Nasir Mahmood (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
      Dear sac community
      I ave build sac102.0 on ubutnu20.04 but got some errors while running make install as in the below message. I am wondering is some library is missing on my system? If anyone can guide, with thanks.

      ************************************************************************************************************************
      make[1]: Leaving directory '/usr/local/sac/utils'
      Making all in t
      make[1]: Entering directory '/usr/local/sac/t'
      gcc -DHAVE_CONFIG_H -I. -I../inc     -Wall -Wextra  -D_GNU_SOURCE     -Wall -I../inc  -I.. -I../include -DTOP_SRCDIR=\"..\"  -c -o unit.o unit.c
      rm -f libunit.a
      ar cru libunit.a unit.o
      ar: `u' modifier ignored since `D' is the default (see `U')
      ranlib libunit.a
      make[1]: Leaving directory '/usr/local/sac/t'
      make[1]: Entering directory '/usr/local/sac'
      /usr/bin/sed "s,__SAC_PREFIX__,/usr/local/sac," /usr/local/sac/bin/sacinit.sh.in > bin/sacinit.sh
      /usr/bin/sed "s,__SAC_PREFIX__,/usr/local/sac," /usr/local/sac/bin/sacinit.csh.in > bin/sacinit.csh
      /usr/bin/sed -e "s,__SAC_PREFIX__,/usr/local/sac," -e "s,__SAC_VERSION__,102.0," /usr/local/sac/bin/sac-config.in > bin/sac-config
      make[1]: Leaving directory '/usr/local/sac'
      root@sysop:/usr/local/sac#  make install
      Making install in libmseed
      make[1]: Entering directory '/usr/local/sac/libmseed'
      make[2]: Entering directory '/usr/local/sac/libmseed'
      make[2]: Nothing to be done for 'install-exec-am'.
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/libmseed'
      make[1]: Leaving directory '/usr/local/sac/libmseed'
      Making install in evalresp
      make[1]: Entering directory '/usr/local/sac/evalresp'
      make[2]: Entering directory '/usr/local/sac/evalresp'
      make[2]: Nothing to be done for 'install-exec-am'.
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/evalresp'
      make[1]: Leaving directory '/usr/local/sac/evalresp'
      Making install in fern
      make[1]: Entering directory '/usr/local/sac/fern'
      make[2]: Entering directory '/usr/local/sac/fern'
      make[2]: Nothing to be done for 'install-exec-am'.
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/fern'
      make[1]: Leaving directory '/usr/local/sac/fern'
      Making install in sacio
      make[1]: Entering directory '/usr/local/sac/sacio'
      make[2]: Entering directory '/usr/local/sac/sacio'
      make[2]: Nothing to be done for 'install-exec-am'.
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/sacio'
      make[1]: Leaving directory '/usr/local/sac/sacio'
      Making install in src
      make[1]: Entering directory '/usr/local/sac/src'
      make[2]: Entering directory '/usr/local/sac/src'
      /usr/bin/mkdir -p '/usr/local/sac/bin'
       /usr/bin/install -c sac '/usr/local/sac/bin'
      /usr/bin/mkdir -p '/usr/local/sac/lib'
      /usr/bin/install -c -m 644  libsacio.a libsac.a '/usr/local/sac/lib'
      ( cd '/usr/local/sac/lib' && ranlib libsacio.a )
      ( cd '/usr/local/sac/lib' && ranlib libsac.a )
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/src'
      make[1]: Leaving directory '/usr/local/sac/src'
      Making install in utils
      make[1]: Entering directory '/usr/local/sac/utils'
      make[2]: Entering directory '/usr/local/sac/utils'
      /usr/bin/mkdir -p '/usr/local/sac/bin'
       /usr/bin/install -c sgftops sgfswap saclst sacswap sacset sacdiff bbfswap unvis '/usr/local/sac/bin'
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/utils'
      make[1]: Leaving directory '/usr/local/sac/utils'
      Making install in t
      make[1]: Entering directory '/usr/local/sac/t'
      make[2]: Entering directory '/usr/local/sac/t'
      make[2]: Nothing to be done for 'install-exec-am'.
      make[2]: Nothing to be done for 'install-data-am'.
      make[2]: Leaving directory '/usr/local/sac/t'
      make[1]: Leaving directory '/usr/local/sac/t'
      make[1]: Entering directory '/usr/local/sac'
      make[2]: Entering directory '/usr/local/sac'
      /usr/bin/mkdir -p '/usr/local/sac/bin'
      /usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh bin/sgftox.csh bin/sac-config '/usr/local/sac/bin'
      /usr/bin/install: 'bin/sacinit.sh' and '/usr/local/sac/bin/sacinit.sh' are the same file
      /usr/bin/install: 'bin/sacinit.csh' and '/usr/local/sac/bin/sacinit.csh' are the same file
      /usr/bin/install: 'bin/sgftoeps.csh' and '/usr/local/sac/bin/sgftoeps.csh' are the same file
      /usr/bin/install: 'bin/sgftox.csh' and '/usr/local/sac/bin/sgftox.csh' are the same file
      /usr/bin/install: 'bin/sac-config' and '/usr/local/sac/bin/sac-config' are the same file
      make[2]: *** [Makefile:495: install-binSCRIPTS] Error 1
      make[2]: Leaving directory '/usr/local/sac'
      make[1]: *** [Makefile:865: install-am] Error 2
      make[1]: Leaving directory '/usr/local/sac'
      make: *** [Makefile:557: install-recursive] Error 1
      root@sysop:/usr/local/sac#
      ************************************************************************************************************************

      ----------------------
      SAC Help
      Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

      Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
      Update subscription preferences at http://ds.iris.edu/account/profile/




              George Helffrich        george<at>elsi.jp

23:24:58 v.22510d55