Menu

sphinxbase requires GNU m4 to work but the installation of m4 failed

Help
2019-01-31
2019-01-31
  • Cindy Chang

    Cindy Chang - 2019-01-31

    If I want to install sphinxbase, I need to install automake and autoconf, which require GNU m4.
    Here are the steps I took on cygwin:

     - wget http://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gz
     - tar -xzvf m4-1.4.13.tar.gz
     - cd m4-1.4.13
     - ./configure
     - make
    

    The terminal(cygwin) shows long messages so I only copy the last couple of them.

    • process_begin: CreateProcess((null), /usr/bin/mkdir -p sys, ...) failed.
    • make (e=2): ?t?Χ?????w?????C
    • C:\MinGW\bin\make.exe[2]: *** [sys/stat.h] Error 2
    • C:\MinGW\bin\make.exe[2]: Leaving directory
    • `C:/Users/User/Desktop/cpythonworkspace/sphinx/m4-1.4.13/lib'
    • make.exe[1]: *** [all-recursive] Error 1
    • make.exe[1]: Leaving directory
    • `C:/Users/User/Desktop/cpythonworkspace/sphinx/m4-1.4.13'
    • C:\MinGW\bin\make.exe: *** [all] Error 2

    Besides, the configure file(please take a look here) contains lots of errors.

     
    • Nickolay V. Shmyrev

      Cygwin/MinGW is a very bad idea from the start for such unexperienced person. Use Linux.

       
      😄
      1
      • Cindy Chang

        Cindy Chang - 2019-01-31

        Yes, I will try it on Linux several days after.
        My manager/boss told me to install on windows first, then install on Linux/Unix (or Mac) afterwards. I install the pocketsphinx on Mac successfully. :DDD :)))
        For future people who are interested, I actually find some way without installing GNU m4. That is, I directly install automake and autoconf using cyg-apt on cygwin.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.