Menu

/usr/bin/env: perl -w: No such file or directory

Help
2015-06-03
2015-06-03
  • Maxime ROBIN

    Maxime ROBIN - 2015-06-03

    Since this revision ( https://sourceforge.net/p/kaldi/code/5110/ ) i got this error :

    /usr/bin/env: perl -w: No such file or directory

    Anyway in other hand there is also a problem with libtool during installation. which libtool doesn't work (ubuntu & debian) but the package is up to date. deleting 'libtools' from extra/check_dependencies.sh do the work without problem.

    Edit :
    For libtool : https://github.com/claritylab/sirius/issues/58

     

    Last edit: Maxime ROBIN 2015-06-03
    • Jan "yenda" Trmal

      Maxime, thanks for letting us know, I will fix that.
      y.

      On Wed, Jun 3, 2015 at 9:37 AM, Maxime ROBIN maximerobin@users.sf.net
      wrote:

      Since this revision (https://sourceforge.net/p/kaldi/code/5110/) i got
      this error :

      /usr/bin/env: perl -w: No such file or directory

      Anyway in other hand there is also a problem with libtool during
      installation. which libtool doesn't work (ubuntu & debian) but the package
      is up to date. deleting 'libtools' from extra/check_dependencies.sh do the
      work without problem.


      /usr/bin/env: perl -w: No such file or directory


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/kaldi/discussion/1355348/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       
    • Jan "yenda" Trmal

      BTW, to explain:
      Dan recently changed all perl and python script to use the perl/python
      interpreter that is first on path, not the system one. That is needed when
      you have a local install of perl/python.
      It seems, however, that not all env commands are interpreting the command
      the way it's assumed -- some of them look for command "perl -w", others
      just "perl" which is then run with parameter "-w"

      y.

      On Wed, Jun 3, 2015 at 9:37 AM, Maxime ROBIN maximerobin@users.sf.net
      wrote:

      Since this revision (https://sourceforge.net/p/kaldi/code/5110/) i got
      this error :

      /usr/bin/env: perl -w: No such file or directory

      Anyway in other hand there is also a problem with libtool during
      installation. which libtool doesn't work (ubuntu & debian) but the package
      is up to date. deleting 'libtools' from extra/check_dependencies.sh do the
      work without problem.


      /usr/bin/env: perl -w: No such file or directory


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/kaldi/discussion/1355348/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       
      • Maxime ROBIN

        Maxime ROBIN - 2015-06-03

        Yeah i've already look what creates this problem. Thanks for your fast response. I hope it's not gonna be hard to fix. Good luck !

         
        • Jan "yenda" Trmal

          Maxime, I've just committed a fix to this, can you please update kaldi and
          try?
          y.

          On Wed, Jun 3, 2015 at 10:02 AM, Maxime ROBIN maximerobin@users.sf.net
          wrote:

          Yeah i've already look what creates this problem. Thanks for your fast
          response. I hope it's not gonna be hard to fix. Good luck !


          /usr/bin/env: perl -w: No such file or directory


          Sent from sourceforge.net because you indicated interest in <
          https://sourceforge.net/p/kaldi/discussion/1355348/>

          To unsubscribe from further messages, please visit <
          https://sourceforge.net/auth/subscriptions/>

           
          • Maxime ROBIN

            Maxime ROBIN - 2015-06-03

            Your fix works on ubuntu not on debian.

            My test:

            $ steps/make_mfcc.sh --nj 4 --cmd  utils/run.pl data/train exp/make_mfcc/train exp/mfcc
            steps/make_mfcc.sh --nj 4 --cmd utils/run.pl data/train exp/make_mfcc/train exp/mfcc
            utils/validate_data_dir.sh: Successfully validated data-directory data/train
            steps/make_mfcc.sh: [info]: no segments file exists: assuming wav.scp indexed by utterance.
            /usr/bin/env: perl -w: No such file or directory
            zsh: exit 1     steps/make_mfcc.sh --nj 4 --cmd utils/run.pl data/train exp/make_mfcc/train
            
             

            Last edit: Maxime ROBIN 2015-06-03
            • Jan "yenda" Trmal

              OK, perhaps I didn't get all occurrences. Can you tell me which script is
              it? y.

              On Wed, Jun 3, 2015 at 10:21 AM, Maxime ROBIN maximerobin@users.sf.net
              wrote:

              Your fix works on ubuntu not on debian : /usr/bin/env: perl -w: No such
              file or directory


              /usr/bin/env: perl -w: No such file or directory


              Sent from sourceforge.net because you indicated interest in <
              https://sourceforge.net/p/kaldi/discussion/1355348/>

              To unsubscribe from further messages, please visit <
              https://sourceforge.net/auth/subscriptions/>

               
              • Maxime ROBIN

                Maxime ROBIN - 2015-06-03

                OK maybe i had a bug on my debian. Wait i retest it.

                 
                • Maxime ROBIN

                  Maxime ROBIN - 2015-06-03

                  I tested on debian it's ok thanks for your help.

                   
  • rkjaran

    rkjaran - 2015-06-03

    Regarding libtool: I'm using Debian 8 (Jessie) and I also needed to install libtool-bin.

     
MongoDB Logo MongoDB