Thread: make: *** Error 1

Started: 2015-05-21 03:01:39
Last activity: 2015-05-21 04:16:50
Topics: SAC Help
Weijia
2015-05-21 03:01:39
Dear all,


I am trying to install SAC from source. Configure and make seems good, but not make install. My system is Ubuntu 15.04 64bit. The SAC version is 101.6a. The followed are the end part of standard output. Thanks in advance for your time.


/usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh bin/sgftox.csh bin/sac-config '/opt/sac-101.6a/bin'
/usr/bin/install: ‘bin/sacinit.sh’ and ‘/opt/sac-101.6a/bin/sacinit.sh’ are the same file
/usr/bin/install: ‘bin/sacinit.csh’ and ‘/opt/sac-101.6a/bin/sacinit.csh’ are the same file
/usr/bin/install: ‘bin/sgftoeps.csh’ and ‘/opt/sac-101.6a/bin/sgftoeps.csh’ are the same file
/usr/bin/install: ‘bin/sgftox.csh’ and ‘/opt/sac-101.6a/bin/sgftox.csh’ are the same file
/usr/bin/install: ‘bin/sac-config’ and ‘/opt/sac-101.6a/bin/sac-config’ are the same file
Makefile:360: recipe for target 'install-binSCRIPTS' failed
make[2]: *** [install-binSCRIPTS] Error 1
make[2]: Leaving directory '/opt/sac-101.6a'
Makefile:721: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/opt/sac-101.6a'
Makefile:401: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1


While I comment the line 'install-exec-am: install-binSCRIPTS', SAC can be installed. But while I run 'make check', it returns the followed information.
Errors: 65
FAIL: pytest.sh
=============================================
1 of 5 tests failed
Please report to sac-help<at>iris.washington.edu
=============================================
Makefile:472: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory '/opt/sac-101.6a/t'
Makefile:594: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/opt/sac-101.6a/t'
Makefile:401: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1




--

Weijia
  • Brian Savage
    2015-05-20 16:03:59
    Dear Weijia,

    You could try to move the old installed version before running make install. The errors you are getting are telling you that the files have not changed.

    Regarding "make check", please send me the full output this command directly to me, not the mailing list.
    The errors could be from something simple to fix.

    Thanks
    Brian

    On May 20, 2015, at 8:01 AM, Weijia Sun wrote:

    Dear all,

    I am trying to install SAC from source. Configure and make seems good, but not make install. My system is Ubuntu 15.04 64bit. The SAC version is 101.6a. The followed are the end part of standard output. Thanks in advance for your time.

    /usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh bin/sgftox.csh bin/sac-config '/opt/sac-101.6a/bin'
    /usr/bin/install: ‘bin/sacinit.sh’ and ‘/opt/sac-101.6a/bin/sacinit.sh’ are the same file
    /usr/bin/install: ‘bin/sacinit.csh’ and ‘/opt/sac-101.6a/bin/sacinit.csh’ are the same file
    /usr/bin/install: ‘bin/sgftoeps.csh’ and ‘/opt/sac-101.6a/bin/sgftoeps.csh’ are the same file
    /usr/bin/install: ‘bin/sgftox.csh’ and ‘/opt/sac-101.6a/bin/sgftox.csh’ are the same file
    /usr/bin/install: ‘bin/sac-config’ and ‘/opt/sac-101.6a/bin/sac-config’ are the same file
    Makefile:360: recipe for target 'install-binSCRIPTS' failed
    make[2]: *** [install-binSCRIPTS] Error 1
    make[2]: Leaving directory '/opt/sac-101.6a'
    Makefile:721: recipe for target 'install-am' failed
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory '/opt/sac-101.6a'
    Makefile:401: recipe for target 'install-recursive' failed
    make: *** [install-recursive] Error 1

    While I comment the line 'install-exec-am: install-binSCRIPTS', SAC can be installed. But while I run 'make check', it returns the followed information.
    Errors: 65
    FAIL: pytest.sh
    =============================================
    1 of 5 tests failed
    Please report to sac-help<at>iris.washington.edu
    =============================================
    Makefile:472: recipe for target 'check-TESTS' failed
    make[2]: *** [check-TESTS] Error 1
    make[2]: Leaving directory '/opt/sac-101.6a/t'
    Makefile:594: recipe for target 'check-am' failed
    make[1]: *** [check-am] Error 2
    make[1]: Leaving directory '/opt/sac-101.6a/t'
    Makefile:401: recipe for target 'check-recursive' failed
    make: *** [check-recursive] Error 1


    --
    Weijia


    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


    • Weijia
      2015-05-21 04:16:50

      Dear Brian,


      I installed the SAC on the machine that SAC never has been installed before.


      I think the 'make check' would be possible result from SAC not installed properly.


      Weijia

      At 2015-05-20 21:03:59, "Brian Savage" <savage<at>uri.edu> wrote:
      Dear Weijia,


      You could try to move the old installed version before running make install. The errors you are getting are telling you that the files have not changed.


      Regarding "make check", please send me the full output this command directly to me, not the mailing list.
      The errors could be from something simple to fix.


      Thanks
      Brian


      On May 20, 2015, at 8:01 AM, Weijia Sun wrote:


      Dear all,


      I am trying to install SAC from source. Configure and make seems good, but not make install. My system is Ubuntu 15.04 64bit. The SAC version is 101.6a. The followed are the end part of standard output. Thanks in advance for your time.


      /usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh bin/sgftox.csh bin/sac-config '/opt/sac-101.6a/bin'
      /usr/bin/install: ‘bin/sacinit.sh’ and ‘/opt/sac-101.6a/bin/sacinit.sh’ are the same file
      /usr/bin/install: ‘bin/sacinit.csh’ and ‘/opt/sac-101.6a/bin/sacinit.csh’ are the same file
      /usr/bin/install: ‘bin/sgftoeps.csh’ and ‘/opt/sac-101.6a/bin/sgftoeps.csh’ are the same file
      /usr/bin/install: ‘bin/sgftox.csh’ and ‘/opt/sac-101.6a/bin/sgftox.csh’ are the same file
      /usr/bin/install: ‘bin/sac-config’ and ‘/opt/sac-101.6a/bin/sac-config’ are the same file
      Makefile:360: recipe for target 'install-binSCRIPTS' failed
      make[2]: *** [install-binSCRIPTS] Error 1
      make[2]: Leaving directory '/opt/sac-101.6a'
      Makefile:721: recipe for target 'install-am' failed
      make[1]: *** [install-am] Error 2
      make[1]: Leaving directory '/opt/sac-101.6a'
      Makefile:401: recipe for target 'install-recursive' failed
      make: *** [install-recursive] Error 1


      While I comment the line 'install-exec-am: install-binSCRIPTS', SAC can be installed. But while I run 'make check', it returns the followed information.
      Errors: 65
      FAIL: pytest.sh
      =============================================
      1 of 5 tests failed
      Please report to sac-help<at>iris.washington.edu
      =============================================
      Makefile:472: recipe for target 'check-TESTS' failed
      make[2]: *** [check-TESTS] Error 1
      make[2]: Leaving directory '/opt/sac-101.6a/t'
      Makefile:594: recipe for target 'check-am' failed
      make[1]: *** [check-am] Error 2
      make[1]: Leaving directory '/opt/sac-101.6a/t'
      Makefile:401: recipe for target 'check-recursive' failed
      make: *** [check-recursive] Error 1




      --

      Weijia


      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help



05:25:51 v.b3198453