Menu

"checking for sphinxbase in"...

Help
Anonymous
2011-12-28
2012-09-22
  • Anonymous

    Anonymous - 2011-12-28

    I'm trying to compile for the iPhone but I'm stuck on the 1st steps. I have a
    folder containing both the pocketsphinx and sphinxbase folders and their
    contents. I am using Mac OSX Lion. The folder is located on my desktop. I have
    run the autogen.sh file within the sphinx base folder and it was successful.
    When I run the autogen.sh file in the pocket sphinx folder, the program
    doesn't seem to be able to find the sphinxbase folder.

    The problem seems to be with the line:

    checking for GStreamer... checking for sphinxbase in /Users/mycomputerusername//Sphinx/pocketsphinx/../sphinxbase... no
    

    This path doesn't seem valid. And if I put the main folder in the main
    directory of the hard drive, it still looks for it here. Any ideas? Thanks!

    This is the output:

    /Sphinx/pocketsphinx/autogen.sh ; exit;
    Macintosh-58b035fbc780-3:~ mycomputerusername$ /Sphinx/pocketsphinx/autogen.sh ; exit;
    **Warning**: I am going to run `configure' with no arguments.
    If you wish to pass any to it, please specify them on the
    `/Sphinx/pocketsphinx/autogen.sh' command line.
    
    processing /Sphinx/pocketsphinx
    Running glibtoolize...
    glibtoolize: putting auxiliary files in `.'.
    glibtoolize: copying file `./ltmain.sh'
    glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
    glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal  -I m4 ...
    Running automake --gnu --copy  ...
    Running autoconf ...
    Running /Sphinx/pocketsphinx/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... /Sphinx/pocketsphinx/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking build system type... x86_64-apple-darwin11.2.0
    checking host system type... x86_64-apple-darwin11.2.0
    checking for gcc... gcc
    checking for C compiler default output file name... rm: a.out.dSYM: is a directory
    a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    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 for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
    checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
    checking the name lister (/usr/bin/nm) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 196608
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files... -r
    checking for objdump... no
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm output from gcc object... ok
    checking for dsymutil... dsymutil
    checking for nmedit... nmedit
    checking for lipo... lipo
    checking for otool... otool
    checking for otool64... no
    checking for -single_module linker flag... yes
    checking for -exported_symbols_list linker flag... yes
    checking for -force_load linker flag... yes
    checking how to run the C preprocessor... gcc -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 supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fno-common -DPIC
    checking if gcc PIC flag -fno-common -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
    checking dynamic linker characteristics... darwin11.2.0 dyld
    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 whether byte ordering is bigendian... no
    checking for long long... yes
    checking for long long... (cached) yes
    checking size of long long... 8
    checking for dup2... yes
    checking for pkg-config... no
    checking for doxygen... no
    checking for python... /usr/bin/python
    checking for python-config... /usr/bin/python-config
    checking Python.h usability... yes
    checking Python.h presence... yes
    checking for Python.h... yes
    checking for cython... no
    checking for pkg-config... no
    checking for GStreamer... checking for sphinxbase in /Users/mycomputerusername//Sphinx/pocketsphinx/../sphinxbase... no
    checking for sphinxbase in /Users/mycomputerusername//Sphinx/pocketsphinx/../sphinxbase*... no
    /Sphinx/pocketsphinx/configure: line 12575: SphinxBase_CFLAGS: command not found
    /Sphinx/pocketsphinx/configure: line 12576: SphinxBase_LIBS: command not found
    checking sphinx_config.h usability... no
    checking sphinx_config.h presence... no
    checking for sphinx_config.h... no
    configure: error: SphinxBase was not found on your system.
    See `config.log' for more details.
    logout
    
    [Process completed]
    
     
  • Nickolay V. Shmyrev

    You need to build sphinxbase with "make" before you go to pocketsphinx, not
    just configure it with autogen. The path is valid.

     
  • Rishi

    Rishi - 2012-04-10

    it says here:
    http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx
    to run ./configure if we have run ./autogen.sh at least once.But after doing a
    ./configure ,when I do a "make" it says:
    lipo: can't open input file: /var/tmp//ccQUAitY.out (No such file or directory)
    error: command 'gcc-4.2' failed with exit status 1

    any ideas how to proceed furthur?please mail me at rockrishi@hotmail.com

     
  • Nickolay V. Shmyrev

    lipo: can't open input file: /var/tmp//ccQUAitY.out (No such file or
    directory) error: command 'gcc-4.2' failed with exit status 1

    Google can answer your quickly. See

    http://blog.ashearer.com/why-you-cant-compile-libraries-after-
    installi

     

Log in to post a comment.