Menu

5prealpha version

Help
kamil51
2017-07-05
2017-07-24
  • kamil51

    kamil51 - 2017-07-05

    Hello, I have download the last version of the sphinx.(5prealpha). What i did is;
    - An angstrom linux3.8 kernel is running on the beaglebone machine.
    - I have followed the steps at the cmusphinx link , same directory , run ./autogen.sh , and run /.configure commands

    But not generated Makefile !!!!! pls. help me.....
    Regards
    kamil

     
    • Nickolay V. Shmyrev

      Sure, provide the console output you see for autogen and configure.

      Also you can simply read the output, the error must be explained there.

       
  • kamil51

    kamil51 - 2017-07-06

    Hello Nickolay, console output is below;

    root@beaglebone:~# cd /
    root@beaglebone:/# cd usr/share/CMUsphinxa/sphinxbase
    root@beaglebone:/usr/share/CMUsphinxa/sphinxbase# ./autogen.sh
    Warning: I am going to run configure' with no arguments. If you wish to pass any to it, please specify them on the./autogen.sh' command line.

    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in .'. libtoolize: copying file./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: copying filem4/libtool.m4'
    libtoolize: copying file m4/ltoptions.m4' libtoolize: copying filem4/ltsugar.m4'
    libtoolize: copying file m4/ltversion.m4' libtoolize: copying filem4/lt~obsolete.m4'
    Running aclocal ...
    Running autoheader...
    Running automake --foreign --copy ...
    Running autoconf ...
    Running ./configure ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking build system type... armv7l-unknown-linux-gnueabi
    checking host system type... armv7l-unknown-linux-gnueabi
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for library containing strerror... none required
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc -std=gnu99... /usr/arm-angstrom-linux-gnueabi/bin/ld
    checking if the linker (/usr/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 32768
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert armv7l-unknown-linux-gnueabi file names to armv7l-unknown-linux-gnueabi format... func_convert_file_noop
    checking how to convert armv7l-unknown-linux-gnueabi file names to toolchain format... func_convert_file_noop
    checking for /usr/arm-angstrom-linux-gnueabi/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -std=gnu99 -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
    checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
    checking if gcc -std=gnu99 static flag -static works... no
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
    checking whether the gcc -std=gnu99 linker (/usr/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for bison... bison -y
    checking for ANSI C header files... (cached) yes
    checking whether byte ordering is bigendian... no
    checking return type of signal handlers... void
    checking for long long... yes
    checking size of long long... 8
    checking size of long... 4
    checking for popen... yes
    checking for perror... yes
    checking for snprintf... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking for sgesv_ in -llapack... no
    checking for log in -lm... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for pthread_create in -lpthread... yes
    checking pulse/pulseaudio.h usability... no
    checking pulse/pulseaudio.h presence... no
    checking for pulse/pulseaudio.h... no
    checking alsa/asoundlib.h usability... no
    checking alsa/asoundlib.h presence... no
    checking for alsa/asoundlib.h... no
    checking for doxygen... no
    checking for a Python interpreter with version >= 2.6... python
    checking for python... /usr/bin/python
    checking for python version... 2.7
    checking for python platform... linux2
    checking for python script directory... ${libdir}/python2.7/site-packages
    checking for python extension module directory... ${libdir}/python2.7/site-packages
    checking for python2.7... (cached) /usr/bin/python
    checking for a version of Python >= '2.1.0'... yes
    checking for the distutils Python package... no
    configure: error: cannot import Python module "distutils".
    Please check your Python installation. The error was:
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: No module named distutils
    root@beaglebone:/usr/share/CMUsphinxa/sphinxbase# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking build system type... armv7l-unknown-linux-gnueabi
    checking host system type... armv7l-unknown-linux-gnueabi
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for library containing strerror... none required
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc -std=gnu99... /usr/arm-angstrom-linux-gnueabi/bin/ld
    checking if the linker (/usr/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 32768
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert armv7l-unknown-linux-gnueabi file names to armv7l-unknown-linux-gnueabi format... func_convert_file_noop
    checking how to convert armv7l-unknown-linux-gnueabi file names to toolchain format... func_convert_file_noop
    checking for /usr/arm-angstrom-linux-gnueabi/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -std=gnu99 -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
    checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
    checking if gcc -std=gnu99 static flag -static works... no
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
    checking whether the gcc -std=gnu99 linker (/usr/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for bison... bison -y
    checking for ANSI C header files... (cached) yes
    checking whether byte ordering is bigendian... no
    checking return type of signal handlers... void
    checking for long long... yes
    checking size of long long... 8
    checking size of long... 4
    checking for popen... yes
    checking for perror... yes
    checking for snprintf... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking for sgesv_ in -llapack... no
    checking for log in -lm... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for pthread_create in -lpthread... yes
    checking pulse/pulseaudio.h usability... no
    checking pulse/pulseaudio.h presence... no
    checking for pulse/pulseaudio.h... no
    checking alsa/asoundlib.h usability... no
    checking alsa/asoundlib.h presence... no
    checking for alsa/asoundlib.h... no
    checking for doxygen... no
    checking for a Python interpreter with version >= 2.6... python
    checking for python... /usr/bin/python
    checking for python version... 2.7
    checking for python platform... linux2
    checking for python script directory... ${libdir}/python2.7/site-packages
    checking for python extension module directory... ${libdir}/python2.7/site-packages
    checking for python2.7... (cached) /usr/bin/python
    checking for a version of Python >= '2.1.0'... yes
    checking for the distutils Python package... no
    configure: error: cannot import Python module "distutils".
    Please check your Python installation. The error was:
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: No module named distutils
    root@beaglebone:/usr/share/CMUsphinxa/sphinxbase# make
    make: *** No targets specified and no makefile found. Stop.
    root@beaglebone:/usr/share/CMUsphinxa/sphinxbase#

    ..code is running on a beaglebone machine with Angstrom..

    Regards
    kamil

     
    • Nickolay V. Shmyrev

      You need to install distutils:

      sudo opkg install python-distutils
      

      then run the same commmand again, it should work.

       
  • kamil51

    kamil51 - 2017-07-06

    Very very thanks Nickolay... its working fine...

    Best Regards
    kamil

     

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.