Sorry for the newbie question, but I was hoping someone might have some insight for getting Sphinx 2-0.3 running on Mac OS X. I'm running version Mac OS X 10.1.1 on a Powerbook G3 Wallstreet.
By giving configure the system, it will complete (like this: ./configure --host=ppc-apple-osx). But when I run make it dies.
I'll post the outputs for make and then below that the output of configure in the hopes that they may make more sense to some kind soul here than they do for me.
I'd really appreciate any help. Thanks!
Lane Schwartz
los20@cam.ac.uk
dowobeha@cheerful.com
Dept. of Engineering,
Univ. of Cambridge
make results:
make all-recursive
Making all in src
Making all in libsphinx2
Making all in include
make[4]: Nothing to be done for `all'.
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c CM_funcs.c
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c CM_funcs.c -o CM_funcs.o
CM_funcs.c:57: header file 'malloc.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[4]: *** [CM_funcs.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
./configure --host=ppc-apple-osx results:
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) cc
checking whether the C compiler (cc -g -O2 -Wall ) works... yes
checking whether the C compiler (cc -g -O2 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc... (cached) cc
checking whether the C compiler (cc -g -O2 -Wall ) works... yes
checking whether the C compiler (cc -g -O2 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... (cached) cc -E -traditional-cpp
checking for ANSI C header files... (cached) yes
checking return type of signal handlers... (cached) void
checking host system type... powerpc-apple-osx
No audio interface for host type powerpc-apple-osx.
checking for perl... (cached) /usr/bin/perl
checking for csh... (cached) /bin/csh
checking build system type... powerpc-apple-osx
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... ~/Desktop/sphinx2-0.3/conftest
yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
creating ./config.status
creating Makefile
creating include/Makefile
creating include/ad.h
creating src/Makefile
creating src/libsphinx2/Makefile
creating src/libsphinx2/include/Makefile
creating src/libsphinx2fe/Makefile
creating src/libsphinx2ad/Makefile
creating src/examples/Makefile
creating model/Makefile
creating model/hmm/Makefile
creating model/hmm/6k/Makefile
creating model/lm/Makefile
creating model/lm/turtle/Makefile
creating doc/Makefile
creating scripts/Makefile
creating scripts/allphone-test.csh
creating scripts/batch.csh
creating scripts/sphinx2-demo
creating scripts/sphinx2-simple
creating scripts/sphinx2-phone
creating scripts/sphinx2-test
creating scripts/stress2sphinx
creating scripts/sphinx2-align
creating config.h
config.h is unchanged
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Has anyone successfully done a port to Mac OS? My company is
considering using Sphinx for the Mac version of an educational product
that uses speech recognition. Any help, info and pointers would be greatly
appreciated.
thanks,
Val Beattie
www.soliloquylearning.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for the newbie question, but I was hoping someone might have some insight for getting Sphinx 2-0.3 running on Mac OS X. I'm running version Mac OS X 10.1.1 on a Powerbook G3 Wallstreet.
By giving configure the system, it will complete (like this: ./configure --host=ppc-apple-osx). But when I run make it dies.
I'll post the outputs for make and then below that the output of configure in the hopes that they may make more sense to some kind soul here than they do for me.
I'd really appreciate any help. Thanks!
Lane Schwartz
los20@cam.ac.uk
dowobeha@cheerful.com
Dept. of Engineering,
Univ. of Cambridge
make results:
make all-recursive
Making all in src
Making all in libsphinx2
Making all in include
make[4]: Nothing to be done for `all'.
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c CM_funcs.c
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c CM_funcs.c -o CM_funcs.o
CM_funcs.c:57: header file 'malloc.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[4]: *** [CM_funcs.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
./configure --host=ppc-apple-osx results:
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) cc
checking whether the C compiler (cc -g -O2 -Wall ) works... yes
checking whether the C compiler (cc -g -O2 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc... (cached) cc
checking whether the C compiler (cc -g -O2 -Wall ) works... yes
checking whether the C compiler (cc -g -O2 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... (cached) cc -E -traditional-cpp
checking for ANSI C header files... (cached) yes
checking return type of signal handlers... (cached) void
checking host system type... powerpc-apple-osx
No audio interface for host type powerpc-apple-osx.
checking for perl... (cached) /usr/bin/perl
checking for csh... (cached) /bin/csh
checking build system type... powerpc-apple-osx
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... ~/Desktop/sphinx2-0.3/conftest
yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
creating ./config.status
creating Makefile
creating include/Makefile
creating include/ad.h
creating src/Makefile
creating src/libsphinx2/Makefile
creating src/libsphinx2/include/Makefile
creating src/libsphinx2fe/Makefile
creating src/libsphinx2ad/Makefile
creating src/examples/Makefile
creating model/Makefile
creating model/hmm/Makefile
creating model/hmm/6k/Makefile
creating model/lm/Makefile
creating model/lm/turtle/Makefile
creating doc/Makefile
creating scripts/Makefile
creating scripts/allphone-test.csh
creating scripts/batch.csh
creating scripts/sphinx2-demo
creating scripts/sphinx2-simple
creating scripts/sphinx2-phone
creating scripts/sphinx2-test
creating scripts/stress2sphinx
creating scripts/sphinx2-align
creating config.h
config.h is unchanged
It gets past this now but is stuck on audio drivers. Know anything about the audio device access under OS X?
Hi,
Has anyone successfully done a port to Mac OS? My company is
considering using Sphinx for the Mac version of an educational product
that uses speech recognition. Any help, info and pointers would be greatly
appreciated.
thanks,
Val Beattie
www.soliloquylearning.com