Hi. Initially I compiled the pocketsphinx library and dependencies natively for my ubuntu machine. I ran a test program linked to those libraries and it worked great.
What I am really after though is trying to get this on an ARM core. So I rebuilt the libraries to target ARM but I'm currently getting an error trying to compile a test file linked to the pocketsphinx library. Here is what I've done:
In sphinxbase:
./configure --build=arm-linux --prefix=/home/phil/sphinx
make && make install
In pocketsphinx:
./configure --build=arm-linux --prefix=/home/phil/sphinx
Trying to compile sphinx_test.c:
arm-linux-gnueabi-gcc -o test sphinx_test.c -DMODELDIR=\"/home/phil/sphinx/share/pocketsphinx/model\" -I/home/phil/sphinx/include/sphinxbase -I/home/phil/sphinx/include/pocketsphinx -L/home/phil/sphinx/lib -lpocketsphinx -lsphinxbase -lsphinxad -lpthread -lm -lblas -llapack
Then I get this error:
/home/phil/sphinx/lib/libpocketsphinx.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is more or less the right way, however, there could be minor issues. Please provide the build logs from sphinxbase and pocketsphinx and also the output of the following command:
make[1]: Entering directory /home/phil/Harvard/sphinxbase/src'
Making install in libsphinxbase
make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase'
Making install in util
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/util'
make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/util'
make[4]: Nothing to be done for install-exec-am'.
make[4]: Nothing to be done forinstall-data-am'.
make[4]: Leaving directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/util'
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/util'
Making install in fe
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/fe'
make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/fe'
make[4]: Nothing to be done for install-exec-am'.
make[4]: Nothing to be done forinstall-data-am'.
make[4]: Leaving directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/fe'
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/fe'
Making install in feat
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/feat'
make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/feat'
make[4]: Nothing to be done for install-exec-am'.
make[4]: Nothing to be done forinstall-data-am'.
make[4]: Leaving directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/feat'
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/feat'
Making install in lm
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'
make install-am
make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'
make[5]: Entering directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'
make[5]: Nothing to be done forinstall-exec-am'.
make[5]: Nothing to be done for install-data-am'.
make[5]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'
make[4]: Leaving directory /home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/libsphinxbase'
make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase'
test -z "/home/phil/sphinx/lib" || /bin/mkdir -p "/home/phil/sphinx/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c libsphinxbase.la '/home/phil/sphinx/lib'
libtool: install: /usr/bin/install -c .libs/libsphinxbase.so.1.1.1 /home/phil/sphinx/lib/libsphinxbase.so.1.1.1
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libsphinxbase.so.1.1.1 libsphinxbase.so.1 || { rm -f libsphinxbase.so.1 && ln -s libsphinxbase.so.1.1.1 libsphinxbase.so.1; }; })
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libsphinxbase.so.1.1.1 libsphinxbase.so || { rm -f libsphinxbase.so && ln -s libsphinxbase.so.1.1.1 libsphinxbase.so; }; })
libtool: install: /usr/bin/install -c .libs/libsphinxbase.lai /home/phil/sphinx/lib/libsphinxbase.la
libtool: install: /usr/bin/install -c .libs/libsphinxbase.a /home/phil/sphinx/lib/libsphinxbase.a
libtool: install: chmod 644 /home/phil/sphinx/lib/libsphinxbase.a
libtool: install: ranlib /home/phil/sphinx/lib/libsphinxbase.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /home/phil/sphinx/lib
Libraries have been installed in:
/home/phil/sphinx/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the -LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to theLD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the LD_RUN_PATH' environment variable
during linking
- use the-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
Libraries have been installed in:
/home/phil/sphinx/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the -LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to theLD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the LD_RUN_PATH' environment variable
during linking
- use the-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxad'
make[2]: Leaving directory /home/phil/Harvard/sphinxbase/src/libsphinxad'
Making install in sphinx_fe
make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_fe'
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/sphinx_fe'
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_fe '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_fe /home/phil/sphinx/bin/sphinx_fe
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/src/sphinx_fe'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_fe'
Making install in sphinx_cepview
make[2]: Entering directory /home/phil/Harvard/sphinxbase/src/sphinx_cepview'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_cepview'
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_cepview '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_cepview /home/phil/sphinx/bin/sphinx_cepview
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_cepview'
make[2]: Leaving directory /home/phil/Harvard/sphinxbase/src/sphinx_cepview'
Making install in sphinx_jsgf2fsg
make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg'
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg'
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_jsgf2fsg '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_jsgf2fsg /home/phil/sphinx/bin/sphinx_jsgf2fsg
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg'
Making install in sphinx_adtools
make[2]: Entering directory /home/phil/Harvard/sphinxbase/src/sphinx_adtools'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_adtools'
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_cont_adseg sphinx_cont_fileseg sphinx_pitch '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_cont_adseg /home/phil/sphinx/bin/sphinx_cont_adseg
libtool: install: /usr/bin/install -c .libs/sphinx_cont_fileseg /home/phil/sphinx/bin/sphinx_cont_fileseg
libtool: install: /usr/bin/install -c .libs/sphinx_pitch /home/phil/sphinx/bin/sphinx_pitch
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_adtools'
make[2]: Leaving directory /home/phil/Harvard/sphinxbase/src/sphinx_adtools'
Making install in sphinx_lmtools
make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_lmtools'
make[3]: Entering directory /home/phil/Harvard/sphinxbase/src/sphinx_lmtools'
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_lm_eval sphinx_lm_convert '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_lm_eval /home/phil/sphinx/bin/sphinx_lm_eval
libtool: install: /usr/bin/install -c .libs/sphinx_lm_convert /home/phil/sphinx/bin/sphinx_lm_convert
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/usr/bin/install -c sphinx_lm_sort '/home/phil/sphinx/bin'
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/src/sphinx_lmtools'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_lmtools'
make[2]: Entering directory /home/phil/Harvard/sphinxbase/src'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/src'
make[3]: Nothing to be done for install-exec-am'.
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/src'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src'
make[1]: Leaving directory /home/phil/Harvard/sphinxbase/src'
Making install in doc
make[1]: Entering directory/home/phil/Harvard/sphinxbase/doc'
make[2]: Entering directory /home/phil/Harvard/sphinxbase/doc'
make[2]: Nothing to be done forinstall-exec-am'.
make[2]: Nothing to be done for install-data-am'.
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/doc'
make[1]: Leaving directory /home/phil/Harvard/sphinxbase/doc'
Making install in include
make[1]: Entering directory/home/phil/Harvard/sphinxbase/include'
Making install in sphinxbase
make[2]: Entering directory /home/phil/Harvard/sphinxbase/include/sphinxbase'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/include/sphinxbase'
make[3]: Nothing to be done for install-exec-am'.
test -z "/home/phil/sphinx/include/sphinxbase" || /bin/mkdir -p "/home/phil/sphinx/include/sphinxbase"
/usr/bin/install -c -m 644 ad.h agc.h bio.h bitvec.h byteorder.h case.h ckd_alloc.h clapack_lite.h cmd_ln.h cmn.h cont_ad.h err.h f2c.h feat.h fe.h filename.h fixpoint.h fsg_model.h genrand.h glist.h hash_table.h heap.h huff_code.h info.h jsgf.h listelem_alloc.h logmath.h matrix.h mmio.h mulaw.h ngram_model.h pio.h yin.h prim_type.h profile.h sbthread.h sphinxbase_export.h strfuncs.h unlimit.h '/home/phil/sphinx/include/sphinxbase'
make[3]: Leaving directory/home/phil/Harvard/sphinxbase/include/sphinxbase'
make[2]: Leaving directory /home/phil/Harvard/sphinxbase/include/sphinxbase'
make[2]: Entering directory/home/phil/Harvard/sphinxbase/include'
make[3]: Entering directory /home/phil/Harvard/sphinxbase/include'
make[3]: Nothing to be done forinstall-exec-am'.
test -z "/home/phil/sphinx/include/sphinxbase" || /bin/mkdir -p "/home/phil/sphinx/include/sphinxbase"
/usr/bin/install -c -m 644 sphinx_config.h '/home/phil/sphinx/include/sphinxbase'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/include'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/include'
make[1]: Leaving directory /home/phil/Harvard/sphinxbase/include'
Making install in test
make[1]: Entering directory/home/phil/Harvard/sphinxbase/test'
Making install in unit
make[2]: Entering directory /home/phil/Harvard/sphinxbase/test/unit'
Making install in test_ad
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_ad'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_ad'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_ad'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_ad'
Making install in test_alloc
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_alloc'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_alloc'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_alloc'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_alloc'
Making install in test_bitvec
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_bitvec'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_bitvec'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_bitvec'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_bitvec'
Making install in test_case
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_case'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_case'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_case'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_case'
Making install in test_string
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_string'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_string'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_string'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_string'
Making install in test_cmdln
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_cmdln'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_cmdln'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_cmdln'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_cmdln'
Making install in test_hash
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_hash'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_hash'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_hash'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_hash'
Making install in test_matrix
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_matrix'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_matrix'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_matrix'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_matrix'
Making install in test_fe
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_fe'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_fe'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_fe'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_fe'
Making install in test_feat
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_feat'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_feat'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_feat'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_feat'
Making install in test_lineiter
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_lineiter'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_lineiter'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_lineiter'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_lineiter'
Making install in test_logmath
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_logmath'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_logmath'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_logmath'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_logmath'
Making install in test_ngram
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_ngram'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_ngram'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_ngram'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_ngram'
Making install in test_fsg
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_fsg'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_fsg'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_fsg'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_fsg'
Making install in test_util
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_util'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_util'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_util'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_util'
Making install in test_thread
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_thread'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit/test_thread'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_thread'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit/test_thread'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit'
make[4]: Entering directory /home/phil/Harvard/sphinxbase/test/unit'
make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'.
make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit'
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/unit'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit'
Making install in regression
make[2]: Entering directory /home/phil/Harvard/sphinxbase/test/regression'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/regression'
make[3]: Nothing to be done for install-exec-am'.
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test/regression'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/test/regression'
make[2]: Entering directory /home/phil/Harvard/sphinxbase/test'
make[3]: Entering directory/home/phil/Harvard/sphinxbase/test'
make[3]: Nothing to be done for install-exec-am'.
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/sphinxbase/test'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/test'
make[1]: Leaving directory /home/phil/Harvard/sphinxbase/test'
Making install in python
make[1]: Entering directory/home/phil/Harvard/sphinxbase/python'
make[2]: Entering directory /home/phil/Harvard/sphinxbase/python'
/usr/bin/python setup.py install --prefix /home/phil/sphinxpython -c 'import setuptools' 2>/dev/null && echo --single-version-externally-managed --record filelist.txtrunning install
running build
running build_ext
running install_lib
copying build/lib.linux-x86_64-2.7/sphinxbase.so -> /home/phil/sphinx/lib/python2.7/site-packages
running install_egg_info
running egg_info
creating SphinxBase.egg-info
writing SphinxBase.egg-info/PKG-INFO
writing top-level names to SphinxBase.egg-info/top_level.txt
writing dependency_links to SphinxBase.egg-info/dependency_links.txt
writing manifest file 'SphinxBase.egg-info/SOURCES.txt'
reading manifest file 'SphinxBase.egg-info/SOURCES.txt'
writing manifest file 'SphinxBase.egg-info/SOURCES.txt'
removing '/home/phil/sphinx/lib/python2.7/site-packages/SphinxBase-0.8-py2.7.egg-info' (and everything under it)
Copying SphinxBase.egg-info to /home/phil/sphinx/lib/python2.7/site-packages/SphinxBase-0.8-py2.7.egg-info
running install_scripts
writing list of installed files to 'filelist.txt'
test -z "/home/phil/sphinx/include/sphinxbase" || /bin/mkdir -p "/home/phil/sphinx/include/sphinxbase"
/usr/bin/install -c -m 644 sphinxbase.pxd '/home/phil/sphinx/include/sphinxbase'
make[2]: Leaving directory/home/phil/Harvard/sphinxbase/python'
make[1]: Leaving directory /home/phil/Harvard/sphinxbase/python'
make[1]: Entering directory/home/phil/Harvard/sphinxbase'
make[2]: Entering directory /home/phil/Harvard/sphinxbase'
make[2]: Nothing to be done forinstall-exec-am'.
test -z "/home/phil/sphinx/lib/pkgconfig" || /bin/mkdir -p "/home/phil/sphinx/lib/pkgconfig"
/usr/bin/install -c -m 644 sphinxbase.pc '/home/phil/sphinx/lib/pkgconfig'
make[2]: Leaving directory /home/phil/Harvard/sphinxbase'
make[1]: Leaving directory/home/phil/Harvard/sphinxbase'
Libraries have been installed in:
/home/phil/sphinx/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the -LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to theLD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the LD_RUN_PATH' environment variable
during linking
- use the-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src/libpocketsphinx'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/src/libpocketsphinx'
Making install in programs
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src/programs'
make[3]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/src/programs'
test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c pocketsphinx_batch pocketsphinx_continuous pocketsphinx_mdef_convert '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/pocketsphinx_batch /home/phil/sphinx/bin/pocketsphinx_batch
libtool: install: /usr/bin/install -c .libs/pocketsphinx_continuous /home/phil/sphinx/bin/pocketsphinx_continuous
libtool: install: /usr/bin/install -c .libs/pocketsphinx_mdef_convert /home/phil/sphinx/bin/pocketsphinx_mdef_convert
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/src/programs'
make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src/programs'
Making install in gst-plugin
make[2]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'
make install-am
make[3]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'
make[4]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'
make[4]: Nothing to be done forinstall-exec-am'.
test -z "/home/phil/sphinx/lib/gstreamer-0.10" || /bin/mkdir -p "/home/phil/sphinx/lib/gstreamer-0.10"
make[4]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src'
make[3]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/src'
make[3]: Nothing to be done forinstall-exec-am'.
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/src'
make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src'
Making install in doc
make[1]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/doc'
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/doc'
make[2]: Nothing to be done for install-exec-am'.
test -z "/home/phil/sphinx/share/man/man1" || /bin/mkdir -p "/home/phil/sphinx/share/man/man1"
/usr/bin/install -c -m 644 pocketsphinx_batch.1 pocketsphinx_continuous.1 pocketsphinx_mdef_convert.1 '/home/phil/sphinx/share/man/man1'
make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/doc'
make[1]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/doc'
Making install in model
make[1]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model'
Making install in hmm
make[2]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/model/hmm'
make[3]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model/hmm'
make[3]: Nothing to be done for install-exec-am'.
test -z "/home/phil/sphinx/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k"
/usr/bin/install -c -m 644 en_US/hub4wsj_sc_8k/feat.params en_US/hub4wsj_sc_8k/mdef en_US/hub4wsj_sc_8k/means en_US/hub4wsj_sc_8k/noisedict en_US/hub4wsj_sc_8k/sendump en_US/hub4wsj_sc_8k/transition_matrices en_US/hub4wsj_sc_8k/variances '/home/phil/sphinx/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k'
test -z "/home/phil/sphinx/share/pocketsphinx/model/hmm/zh/tdt_sc_8k" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/hmm/zh/tdt_sc_8k"
/usr/bin/install -c -m 644 zh/tdt_sc_8k/feat.params zh/tdt_sc_8k/mdef zh/tdt_sc_8k/means zh/tdt_sc_8k/noisedict zh/tdt_sc_8k/sendump zh/tdt_sc_8k/transition_matrices zh/tdt_sc_8k/variances '/home/phil/sphinx/share/pocketsphinx/model/hmm/zh/tdt_sc_8k'
test -z "/home/phil/sphinx/share/pocketsphinx/model/hmm/en/tidigits" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/hmm/en/tidigits"
/usr/bin/install -c -m 644 en/tidigits/feat.params en/tidigits/mdef en/tidigits/means en/tidigits/sendump en/tidigits/transition_matrices en/tidigits/variances '/home/phil/sphinx/share/pocketsphinx/model/hmm/en/tidigits'
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/model/hmm'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/model/hmm'
Making install in lm
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model/lm'
make[3]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/model/lm'
make[3]: Nothing to be done forinstall-exec-am'.
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/en" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/en"
/usr/bin/install -c -m 644 en/tidigits.dic en/tidigits.DMP en/tidigits.fsg en/turtle.dic en/turtle.DMP '/home/phil/sphinx/share/pocketsphinx/model/lm/en'
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/en_US" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/en_US"
/usr/bin/install -c -m 644 en_US/cmu07a.dic en_US/hub4.5000.DMP en_US/hub4.5000.dic en_US/wsj0vp.5000.DMP '/home/phil/sphinx/share/pocketsphinx/model/lm/en_US'
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_CN" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_CN"
/usr/bin/install -c -m 644 zh_CN/gigatdt.5000.DMP zh_CN/mandarin_notone.dic '/home/phil/sphinx/share/pocketsphinx/model/lm/zh_CN'
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_TW" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_TW"
/usr/bin/install -c -m 644 zh_TW/gigatdt.5000.DMP zh_TW/mandarin_notone.dic '/home/phil/sphinx/share/pocketsphinx/model/lm/zh_TW'
make[3]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/model/lm'
make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/model/lm'
make[2]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/model'
make[3]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model'
make[3]: Nothing to be done for install-exec-am'.
make[3]: Nothing to be done forinstall-data-am'.
make[3]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/model'
make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/model'
make[1]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/model'
Making install in include
make[1]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/include'
make[2]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/include'
make[2]: Nothing to be done forinstall-exec-am'.
test -z "/home/phil/sphinx/include/pocketsphinx" || /bin/mkdir -p "/home/phil/sphinx/include/pocketsphinx"
/usr/bin/install -c -m 644 cmdln_macro.h fsg_set.h ps_lattice.h ps_mllr.h pocketsphinx_export.h pocketsphinx.h '/home/phil/sphinx/include/pocketsphinx'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/include'
make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/include'
Making install in test
make[1]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/test'
Making install in unit
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/test/unit'
make[3]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/test/unit'
make[3]: Nothing to be done forinstall-exec-am'.
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test/unit'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/test/unit'
Making install in regression
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/test/regression'
make[3]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/test/regression'
make[3]: Nothing to be done forinstall-exec-am'.
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test/regression'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/test/regression'
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/test'
make[3]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/test'
make[3]: Nothing to be done forinstall-exec-am'.
make[3]: Nothing to be done for install-data-am'.
make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/test'
make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test'
Making install in python
make[1]: Entering directory /home/phil/Harvard/pocketsphinx-0.8/python'
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/python'
/usr/bin/python setup.py install --prefix /home/phil/sphinx python -c 'import setuptools' 2>/dev/null && echo --single-version-externally-managed --record filelist.txt
running install
running build
running build_ext
running install_lib
copying build/lib.linux-x86_64-2.7/pocketsphinx.so -> /home/phil/sphinx/lib/python2.7/site-packages
running install_egg_info
running egg_info
creating PocketSphinx.egg-info
writing PocketSphinx.egg-info/PKG-INFO
writing top-level names to PocketSphinx.egg-info/top_level.txt
writing dependency_links to PocketSphinx.egg-info/dependency_links.txt
writing manifest file 'PocketSphinx.egg-info/SOURCES.txt'
reading manifest file 'PocketSphinx.egg-info/SOURCES.txt'
writing manifest file 'PocketSphinx.egg-info/SOURCES.txt'
removing '/home/phil/sphinx/lib/python2.7/site-packages/PocketSphinx-0.8-py2.7.egg-info' (and everything under it)
Copying PocketSphinx.egg-info to /home/phil/sphinx/lib/python2.7/site-packages/PocketSphinx-0.8-py2.7.egg-info
running install_scripts
writing list of installed files to 'filelist.txt'
test -z "/home/phil/sphinx/include/pocketsphinx" || /bin/mkdir -p "/home/phil/sphinx/include/pocketsphinx"
/usr/bin/install -c -m 644 pocketsphinx.pxd '/home/phil/sphinx/include/pocketsphinx'
make[2]: Leaving directory /home/phil/Harvard/pocketsphinx-0.8/python'
make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/python'
make[1]: Entering directory /home/phil/Harvard/pocketsphinx-0.8'
make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8'
make[2]: Nothing to be done for install-exec-am'.
test -z "/home/phil/sphinx/lib/pkgconfig" || /bin/mkdir -p "/home/phil/sphinx/lib/pkgconfig"
/usr/bin/install -c -m 644 pocketsphinx.pc '/home/phil/sphinx/lib/pkgconfig'
make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8'
make[1]: Leaving directory `/home/phil/Harvard/pocketsphinx-0.8'
Do I add that to the ./configure line? That it says "configure: WARNING: unrecognized option '--without-swig-python'". Running make with that flag also failed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In file included from sphinx_test.c:1:0:
/home/phil/sphinx/include/pocketsphinx/pocketsphinx.h:52:31: fatal error: sphinxbase/cmd_ln.h: No such file or directory
compilation terminated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please provide the output of file command as requested above. Please delete the current code and unpack them again to get a clean code state. Please provide full build and configure logs. Attach the logs in a single archive instead of pasting them in a message.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys, i am also trying to cross compile the both pocketsphinx and sphinxbase for arm architecture. I followed above steps mentioned but stuck with make file error. Please check the attached files and help me out. The error looks like this:
libtool:link:arm-linux-gnueabi-gcc-I../../include-I../../include-g-O2-Wall-o.libs/sphinx_cont_segcont_seg.o../../src/libsphinxbase/.libs/libsphinxbase.so../../src/libsphinxad/.libs/libsphinxad.so-lpthread-lm-Wl,-rpath-Wl,/home/rohit/Desktop/virtual/sphinxbase/lib../../src/libsphinxad/.libs/libsphinxad.so:undefinedreferenceto`pa_strerror'../../src/libsphinxad/.libs/libsphinxad.so: undefined reference to `pa_simple_read'../../src/libsphinxad/.libs/libsphinxad.so:undefinedreferenceto`pa_simple_new'../../src/libsphinxad/.libs/libsphinxad.so: undefined reference to `pa_simple_free'collect2:error:ldreturned1exitstatusMakefile:413:recipefortarget'sphinx_cont_seg'failedmake[2]:***[sphinx_cont_seg]Error1make[2]:Leavingdirectory'/home/rohit/Desktop/virtual/sphinxbase/src/sphinx_adtools'Makefile:374:recipefortarget'all-recursive'failedmake[1]:***[all-recursive]Error1make[1]:Leavingdirectory'/home/rohit/Desktop/virtual/sphinxbase/src'Makefile:479:recipefortarget'all-recursive'failedmake:***[all-recursive]Error1
Hi. Initially I compiled the pocketsphinx library and dependencies natively for my ubuntu machine. I ran a test program linked to those libraries and it worked great.
What I am really after though is trying to get this on an ARM core. So I rebuilt the libraries to target ARM but I'm currently getting an error trying to compile a test file linked to the pocketsphinx library. Here is what I've done:
Hi Phil
This is more or less the right way, however, there could be minor issues. Please provide the build logs from sphinxbase and pocketsphinx and also the output of the following command:
Ok! Here is the output from that command:
Here is the build log for sphinxbase:
make[1]: Entering directory
/home/phil/Harvard/sphinxbase/src' Making install in libsphinxbase make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase'Making install in util
make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/util' make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/util'make[4]: Nothing to be done for
install-exec-am'. make[4]: Nothing to be done forinstall-data-am'.make[4]: Leaving directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/util' make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/util'Making install in fe
make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/fe' make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/fe'make[4]: Nothing to be done for
install-exec-am'. make[4]: Nothing to be done forinstall-data-am'.make[4]: Leaving directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/fe' make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/fe'Making install in feat
make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/feat' make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/feat'make[4]: Nothing to be done for
install-exec-am'. make[4]: Nothing to be done forinstall-data-am'.make[4]: Leaving directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/feat' make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/feat'Making install in lm
make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm' make install-am make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'make[5]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm' make[5]: Nothing to be done forinstall-exec-am'.make[5]: Nothing to be done for
install-data-am'. make[5]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'make[4]: Leaving directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm' make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase/lm'make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase' make[4]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxbase'test -z "/home/phil/sphinx/lib" || /bin/mkdir -p "/home/phil/sphinx/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c libsphinxbase.la '/home/phil/sphinx/lib'
libtool: install: /usr/bin/install -c .libs/libsphinxbase.so.1.1.1 /home/phil/sphinx/lib/libsphinxbase.so.1.1.1
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libsphinxbase.so.1.1.1 libsphinxbase.so.1 || { rm -f libsphinxbase.so.1 && ln -s libsphinxbase.so.1.1.1 libsphinxbase.so.1; }; })
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libsphinxbase.so.1.1.1 libsphinxbase.so || { rm -f libsphinxbase.so && ln -s libsphinxbase.so.1.1.1 libsphinxbase.so; }; })
libtool: install: /usr/bin/install -c .libs/libsphinxbase.lai /home/phil/sphinx/lib/libsphinxbase.la
libtool: install: /usr/bin/install -c .libs/libsphinxbase.a /home/phil/sphinx/lib/libsphinxbase.a
libtool: install: chmod 644 /home/phil/sphinx/lib/libsphinxbase.a
libtool: install: ranlib /home/phil/sphinx/lib/libsphinxbase.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /home/phil/sphinx/lib
Libraries have been installed in:
/home/phil/sphinx/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the
-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to theLD_LIBRARY_PATH' environment variableduring execution
- add LIBDIR to the
LD_RUN_PATH' environment variable during linking - use the-Wl,-rpath -Wl,LIBDIR' linker flag- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/src/libsphinxbase' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxbase'Making install in libsphinxad
make[2]: Entering directory
/home/phil/Harvard/sphinxbase/src/libsphinxad' make[3]: Entering directory/home/phil/Harvard/sphinxbase/src/libsphinxad'test -z "/home/phil/sphinx/lib" || /bin/mkdir -p "/home/phil/sphinx/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c libsphinxad.la '/home/phil/sphinx/lib'
libtool: install: (cd /home/phil/Harvard/sphinxbase/src/libsphinxad; /bin/bash /home/phil/Harvard/sphinxbase/libtool --tag CC --mode=relink gcc -std=gnu99 -g -O2 -Wall -version-info 0:1:0 -o libsphinxad.la -rpath /home/phil/sphinx/lib cont_ad_base.lo ad_oss.lo ../../src/libsphinxbase/libsphinxbase.la -lpthread -lm -lblas -llapack )
libtool: relink: gcc -std=gnu99 -shared .libs/cont_ad_base.o .libs/ad_oss.o -Wl,-rpath -Wl,/home/phil/sphinx/lib -L/home/phil/sphinx/lib -lsphinxbase -lpthread -lm -lblas -llapack -Wl,-soname -Wl,libsphinxad.so.0 -o .libs/libsphinxad.so.0.0.1
libtool: install: /usr/bin/install -c .libs/libsphinxad.so.0.0.1T /home/phil/sphinx/lib/libsphinxad.so.0.0.1
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libsphinxad.so.0.0.1 libsphinxad.so.0 || { rm -f libsphinxad.so.0 && ln -s libsphinxad.so.0.0.1 libsphinxad.so.0; }; })
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libsphinxad.so.0.0.1 libsphinxad.so || { rm -f libsphinxad.so && ln -s libsphinxad.so.0.0.1 libsphinxad.so; }; })
libtool: install: /usr/bin/install -c .libs/libsphinxad.lai /home/phil/sphinx/lib/libsphinxad.la
libtool: install: /usr/bin/install -c .libs/libsphinxad.a /home/phil/sphinx/lib/libsphinxad.a
libtool: install: chmod 644 /home/phil/sphinx/lib/libsphinxad.a
libtool: install: ranlib /home/phil/sphinx/lib/libsphinxad.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /home/phil/sphinx/lib
Libraries have been installed in:
/home/phil/sphinx/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the
-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to theLD_LIBRARY_PATH' environment variableduring execution
- add LIBDIR to the
LD_RUN_PATH' environment variable during linking - use the-Wl,-rpath -Wl,LIBDIR' linker flag- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/libsphinxad'make[2]: Leaving directory
/home/phil/Harvard/sphinxbase/src/libsphinxad' Making install in sphinx_fe make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_fe'make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/sphinx_fe' test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin" /bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_fe '/home/phil/sphinx/bin' libtool: install: /usr/bin/install -c .libs/sphinx_fe /home/phil/sphinx/bin/sphinx_fe make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/src/sphinx_fe' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_fe'Making install in sphinx_cepview
make[2]: Entering directory
/home/phil/Harvard/sphinxbase/src/sphinx_cepview' make[3]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_cepview'test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_cepview '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_cepview /home/phil/sphinx/bin/sphinx_cepview
make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_cepview'make[2]: Leaving directory
/home/phil/Harvard/sphinxbase/src/sphinx_cepview' Making install in sphinx_jsgf2fsg make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg'make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg' test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin" /bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_jsgf2fsg '/home/phil/sphinx/bin' libtool: install: /usr/bin/install -c .libs/sphinx_jsgf2fsg /home/phil/sphinx/bin/sphinx_jsgf2fsg make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_jsgf2fsg'Making install in sphinx_adtools
make[2]: Entering directory
/home/phil/Harvard/sphinxbase/src/sphinx_adtools' make[3]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_adtools'test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_cont_adseg sphinx_cont_fileseg sphinx_pitch '/home/phil/sphinx/bin'
libtool: install: /usr/bin/install -c .libs/sphinx_cont_adseg /home/phil/sphinx/bin/sphinx_cont_adseg
libtool: install: /usr/bin/install -c .libs/sphinx_cont_fileseg /home/phil/sphinx/bin/sphinx_cont_fileseg
libtool: install: /usr/bin/install -c .libs/sphinx_pitch /home/phil/sphinx/bin/sphinx_pitch
make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_adtools'make[2]: Leaving directory
/home/phil/Harvard/sphinxbase/src/sphinx_adtools' Making install in sphinx_lmtools make[2]: Entering directory/home/phil/Harvard/sphinxbase/src/sphinx_lmtools'make[3]: Entering directory
/home/phil/Harvard/sphinxbase/src/sphinx_lmtools' test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin" /bin/bash ../../libtool --mode=install /usr/bin/install -c sphinx_lm_eval sphinx_lm_convert '/home/phil/sphinx/bin' libtool: install: /usr/bin/install -c .libs/sphinx_lm_eval /home/phil/sphinx/bin/sphinx_lm_eval libtool: install: /usr/bin/install -c .libs/sphinx_lm_convert /home/phil/sphinx/bin/sphinx_lm_convert test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin" /usr/bin/install -c sphinx_lm_sort '/home/phil/sphinx/bin' make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/src/sphinx_lmtools' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src/sphinx_lmtools'make[2]: Entering directory
/home/phil/Harvard/sphinxbase/src' make[3]: Entering directory/home/phil/Harvard/sphinxbase/src'make[3]: Nothing to be done for
install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/src' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/src'make[1]: Leaving directory
/home/phil/Harvard/sphinxbase/src' Making install in doc make[1]: Entering directory/home/phil/Harvard/sphinxbase/doc'make[2]: Entering directory
/home/phil/Harvard/sphinxbase/doc' make[2]: Nothing to be done forinstall-exec-am'.make[2]: Nothing to be done for
install-data-am'. make[2]: Leaving directory/home/phil/Harvard/sphinxbase/doc'make[1]: Leaving directory
/home/phil/Harvard/sphinxbase/doc' Making install in include make[1]: Entering directory/home/phil/Harvard/sphinxbase/include'Making install in sphinxbase
make[2]: Entering directory
/home/phil/Harvard/sphinxbase/include/sphinxbase' make[3]: Entering directory/home/phil/Harvard/sphinxbase/include/sphinxbase'make[3]: Nothing to be done for
install-exec-am'. test -z "/home/phil/sphinx/include/sphinxbase" || /bin/mkdir -p "/home/phil/sphinx/include/sphinxbase" /usr/bin/install -c -m 644 ad.h agc.h bio.h bitvec.h byteorder.h case.h ckd_alloc.h clapack_lite.h cmd_ln.h cmn.h cont_ad.h err.h f2c.h feat.h fe.h filename.h fixpoint.h fsg_model.h genrand.h glist.h hash_table.h heap.h huff_code.h info.h jsgf.h listelem_alloc.h logmath.h matrix.h mmio.h mulaw.h ngram_model.h pio.h yin.h prim_type.h profile.h sbthread.h sphinxbase_export.h strfuncs.h unlimit.h '/home/phil/sphinx/include/sphinxbase' make[3]: Leaving directory/home/phil/Harvard/sphinxbase/include/sphinxbase'make[2]: Leaving directory
/home/phil/Harvard/sphinxbase/include/sphinxbase' make[2]: Entering directory/home/phil/Harvard/sphinxbase/include'make[3]: Entering directory
/home/phil/Harvard/sphinxbase/include' make[3]: Nothing to be done forinstall-exec-am'.test -z "/home/phil/sphinx/include/sphinxbase" || /bin/mkdir -p "/home/phil/sphinx/include/sphinxbase"
/usr/bin/install -c -m 644 sphinx_config.h '/home/phil/sphinx/include/sphinxbase'
make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/include' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/include'make[1]: Leaving directory
/home/phil/Harvard/sphinxbase/include' Making install in test make[1]: Entering directory/home/phil/Harvard/sphinxbase/test'Making install in unit
make[2]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit' Making install in test_ad make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_ad'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_ad' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_ad'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_ad' Making install in test_alloc make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_alloc'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_alloc' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_alloc'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_alloc' Making install in test_bitvec make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_bitvec'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_bitvec' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_bitvec'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_bitvec' Making install in test_case make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_case'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_case' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_case'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_case' Making install in test_string make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_string'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_string' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_string'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_string' Making install in test_cmdln make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_cmdln'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_cmdln' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_cmdln'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_cmdln' Making install in test_hash make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_hash'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_hash' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_hash'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_hash' Making install in test_matrix make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_matrix'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_matrix' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_matrix'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_matrix' Making install in test_fe make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_fe'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_fe' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_fe'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_fe' Making install in test_feat make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_feat'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_feat' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_feat'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_feat' Making install in test_lineiter make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_lineiter'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_lineiter' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_lineiter'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_lineiter' Making install in test_logmath make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_logmath'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_logmath' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_logmath'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_logmath' Making install in test_ngram make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_ngram'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_ngram' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_ngram'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_ngram' Making install in test_fsg make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_fsg'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_fsg' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_fsg'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_fsg' Making install in test_util make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_util'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_util' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_util'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_util' Making install in test_thread make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit/test_thread'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit/test_thread' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit/test_thread'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit/test_thread' make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/unit'make[4]: Entering directory
/home/phil/Harvard/sphinxbase/test/unit' make[4]: Nothing to be done forinstall-exec-am'.make[4]: Nothing to be done for
install-data-am'. make[4]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit'make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/unit' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/test/unit'Making install in regression
make[2]: Entering directory
/home/phil/Harvard/sphinxbase/test/regression' make[3]: Entering directory/home/phil/Harvard/sphinxbase/test/regression'make[3]: Nothing to be done for
install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test/regression' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/test/regression'make[2]: Entering directory
/home/phil/Harvard/sphinxbase/test' make[3]: Entering directory/home/phil/Harvard/sphinxbase/test'make[3]: Nothing to be done for
install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/sphinxbase/test' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/test'make[1]: Leaving directory
/home/phil/Harvard/sphinxbase/test' Making install in python make[1]: Entering directory/home/phil/Harvard/sphinxbase/python'make[2]: Entering directory
/home/phil/Harvard/sphinxbase/python' /usr/bin/python setup.py install --prefix /home/phil/sphinxpython -c 'import setuptools' 2>/dev/null && echo --single-version-externally-managed --record filelist.txtrunning install running build running build_ext running install_lib copying build/lib.linux-x86_64-2.7/sphinxbase.so -> /home/phil/sphinx/lib/python2.7/site-packages running install_egg_info running egg_info creating SphinxBase.egg-info writing SphinxBase.egg-info/PKG-INFO writing top-level names to SphinxBase.egg-info/top_level.txt writing dependency_links to SphinxBase.egg-info/dependency_links.txt writing manifest file 'SphinxBase.egg-info/SOURCES.txt' reading manifest file 'SphinxBase.egg-info/SOURCES.txt' writing manifest file 'SphinxBase.egg-info/SOURCES.txt' removing '/home/phil/sphinx/lib/python2.7/site-packages/SphinxBase-0.8-py2.7.egg-info' (and everything under it) Copying SphinxBase.egg-info to /home/phil/sphinx/lib/python2.7/site-packages/SphinxBase-0.8-py2.7.egg-info running install_scripts writing list of installed files to 'filelist.txt' test -z "/home/phil/sphinx/include/sphinxbase" || /bin/mkdir -p "/home/phil/sphinx/include/sphinxbase" /usr/bin/install -c -m 644 sphinxbase.pxd '/home/phil/sphinx/include/sphinxbase' make[2]: Leaving directory/home/phil/Harvard/sphinxbase/python'make[1]: Leaving directory
/home/phil/Harvard/sphinxbase/python' make[1]: Entering directory/home/phil/Harvard/sphinxbase'make[2]: Entering directory
/home/phil/Harvard/sphinxbase' make[2]: Nothing to be done forinstall-exec-am'.test -z "/home/phil/sphinx/lib/pkgconfig" || /bin/mkdir -p "/home/phil/sphinx/lib/pkgconfig"
/usr/bin/install -c -m 644 sphinxbase.pc '/home/phil/sphinx/lib/pkgconfig'
make[2]: Leaving directory
/home/phil/Harvard/sphinxbase' make[1]: Leaving directory/home/phil/Harvard/sphinxbase'Then the output of the pocketsphinx build is:
Making install in src
make[1]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/src' Making install in libpocketsphinx make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src/libpocketsphinx'make[3]: Entering directory `/home/phil/Harvard/pocketsphinx-0.8/src/libpocketsphinx'
test -z "/home/phil/sphinx/lib" || /bin/mkdir -p "/home/phil/sphinx/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c libpocketsphinx.la '/home/phil/sphinx/lib'
libtool: install: /usr/bin/install -c .libs/libpocketsphinx.so.1.1.0 /home/phil/sphinx/lib/libpocketsphinx.so.1.1.0
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libpocketsphinx.so.1.1.0 libpocketsphinx.so.1 || { rm -f libpocketsphinx.so.1 && ln -s libpocketsphinx.so.1.1.0 libpocketsphinx.so.1; }; })
libtool: install: (cd /home/phil/sphinx/lib && { ln -s -f libpocketsphinx.so.1.1.0 libpocketsphinx.so || { rm -f libpocketsphinx.so && ln -s libpocketsphinx.so.1.1.0 libpocketsphinx.so; }; })
libtool: install: /usr/bin/install -c .libs/libpocketsphinx.lai /home/phil/sphinx/lib/libpocketsphinx.la
libtool: install: /usr/bin/install -c .libs/libpocketsphinx.a /home/phil/sphinx/lib/libpocketsphinx.a
libtool: install: chmod 644 /home/phil/sphinx/lib/libpocketsphinx.a
libtool: install: ranlib /home/phil/sphinx/lib/libpocketsphinx.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /home/phil/sphinx/lib
Libraries have been installed in:
/home/phil/sphinx/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the
-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to theLD_LIBRARY_PATH' environment variableduring execution
- add LIBDIR to the
LD_RUN_PATH' environment variable during linking - use the-Wl,-rpath -Wl,LIBDIR' linker flag- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src/libpocketsphinx'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/src/libpocketsphinx' Making install in programs make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src/programs'make[3]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/src/programs' test -z "/home/phil/sphinx/bin" || /bin/mkdir -p "/home/phil/sphinx/bin" /bin/bash ../../libtool --mode=install /usr/bin/install -c pocketsphinx_batch pocketsphinx_continuous pocketsphinx_mdef_convert '/home/phil/sphinx/bin' libtool: install: /usr/bin/install -c .libs/pocketsphinx_batch /home/phil/sphinx/bin/pocketsphinx_batch libtool: install: /usr/bin/install -c .libs/pocketsphinx_continuous /home/phil/sphinx/bin/pocketsphinx_continuous libtool: install: /usr/bin/install -c .libs/pocketsphinx_mdef_convert /home/phil/sphinx/bin/pocketsphinx_mdef_convert make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/src/programs' make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src/programs'Making install in gst-plugin
make[2]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin' make install-am make[3]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'make[4]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin' make[4]: Nothing to be done forinstall-exec-am'.test -z "/home/phil/sphinx/lib/gstreamer-0.10" || /bin/mkdir -p "/home/phil/sphinx/lib/gstreamer-0.10"
make[4]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin' make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/src/gst-plugin' make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/src'make[3]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/src' make[3]: Nothing to be done forinstall-exec-am'.make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/src' make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/src'Making install in doc
make[1]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/doc' make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/doc'make[2]: Nothing to be done for
install-exec-am'. test -z "/home/phil/sphinx/share/man/man1" || /bin/mkdir -p "/home/phil/sphinx/share/man/man1" /usr/bin/install -c -m 644 pocketsphinx_batch.1 pocketsphinx_continuous.1 pocketsphinx_mdef_convert.1 '/home/phil/sphinx/share/man/man1' make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/doc'make[1]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/doc' Making install in model make[1]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model'Making install in hmm
make[2]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/model/hmm' make[3]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model/hmm'make[3]: Nothing to be done for
install-exec-am'. test -z "/home/phil/sphinx/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k" /usr/bin/install -c -m 644 en_US/hub4wsj_sc_8k/feat.params en_US/hub4wsj_sc_8k/mdef en_US/hub4wsj_sc_8k/means en_US/hub4wsj_sc_8k/noisedict en_US/hub4wsj_sc_8k/sendump en_US/hub4wsj_sc_8k/transition_matrices en_US/hub4wsj_sc_8k/variances '/home/phil/sphinx/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k' test -z "/home/phil/sphinx/share/pocketsphinx/model/hmm/zh/tdt_sc_8k" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/hmm/zh/tdt_sc_8k" /usr/bin/install -c -m 644 zh/tdt_sc_8k/feat.params zh/tdt_sc_8k/mdef zh/tdt_sc_8k/means zh/tdt_sc_8k/noisedict zh/tdt_sc_8k/sendump zh/tdt_sc_8k/transition_matrices zh/tdt_sc_8k/variances '/home/phil/sphinx/share/pocketsphinx/model/hmm/zh/tdt_sc_8k' test -z "/home/phil/sphinx/share/pocketsphinx/model/hmm/en/tidigits" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/hmm/en/tidigits" /usr/bin/install -c -m 644 en/tidigits/feat.params en/tidigits/mdef en/tidigits/means en/tidigits/sendump en/tidigits/transition_matrices en/tidigits/variances '/home/phil/sphinx/share/pocketsphinx/model/hmm/en/tidigits' make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/model/hmm'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/model/hmm' Making install in lm make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model/lm'make[3]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/model/lm' make[3]: Nothing to be done forinstall-exec-am'.test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/en" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/en"
/usr/bin/install -c -m 644 en/tidigits.dic en/tidigits.DMP en/tidigits.fsg en/turtle.dic en/turtle.DMP '/home/phil/sphinx/share/pocketsphinx/model/lm/en'
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/en_US" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/en_US"
/usr/bin/install -c -m 644 en_US/cmu07a.dic en_US/hub4.5000.DMP en_US/hub4.5000.dic en_US/wsj0vp.5000.DMP '/home/phil/sphinx/share/pocketsphinx/model/lm/en_US'
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_CN" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_CN"
/usr/bin/install -c -m 644 zh_CN/gigatdt.5000.DMP zh_CN/mandarin_notone.dic '/home/phil/sphinx/share/pocketsphinx/model/lm/zh_CN'
test -z "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_TW" || /bin/mkdir -p "/home/phil/sphinx/share/pocketsphinx/model/lm/zh_TW"
/usr/bin/install -c -m 644 zh_TW/gigatdt.5000.DMP zh_TW/mandarin_notone.dic '/home/phil/sphinx/share/pocketsphinx/model/lm/zh_TW'
make[3]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/model/lm' make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/model/lm'make[2]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/model' make[3]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/model'make[3]: Nothing to be done for
install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.make[3]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/model' make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/model'make[1]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/model' Making install in include make[1]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/include'make[2]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/include' make[2]: Nothing to be done forinstall-exec-am'.test -z "/home/phil/sphinx/include/pocketsphinx" || /bin/mkdir -p "/home/phil/sphinx/include/pocketsphinx"
/usr/bin/install -c -m 644 cmdln_macro.h fsg_set.h ps_lattice.h ps_mllr.h pocketsphinx_export.h pocketsphinx.h '/home/phil/sphinx/include/pocketsphinx'
make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/include' make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/include'Making install in test
make[1]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/test' Making install in unit make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/test/unit'make[3]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/test/unit' make[3]: Nothing to be done forinstall-exec-am'.make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test/unit'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/test/unit' Making install in regression make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/test/regression'make[3]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/test/regression' make[3]: Nothing to be done forinstall-exec-am'.make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test/regression'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/test/regression' make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/test'make[3]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/test' make[3]: Nothing to be done forinstall-exec-am'.make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test'make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/test' make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/test'Making install in python
make[1]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8/python' make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8/python'/usr/bin/python setup.py install --prefix /home/phil/sphinx
python -c 'import setuptools' 2>/dev/null && echo --single-version-externally-managed --record filelist.txtrunning install
running build
running build_ext
running install_lib
copying build/lib.linux-x86_64-2.7/pocketsphinx.so -> /home/phil/sphinx/lib/python2.7/site-packages
running install_egg_info
running egg_info
creating PocketSphinx.egg-info
writing PocketSphinx.egg-info/PKG-INFO
writing top-level names to PocketSphinx.egg-info/top_level.txt
writing dependency_links to PocketSphinx.egg-info/dependency_links.txt
writing manifest file 'PocketSphinx.egg-info/SOURCES.txt'
reading manifest file 'PocketSphinx.egg-info/SOURCES.txt'
writing manifest file 'PocketSphinx.egg-info/SOURCES.txt'
removing '/home/phil/sphinx/lib/python2.7/site-packages/PocketSphinx-0.8-py2.7.egg-info' (and everything under it)
Copying PocketSphinx.egg-info to /home/phil/sphinx/lib/python2.7/site-packages/PocketSphinx-0.8-py2.7.egg-info
running install_scripts
writing list of installed files to 'filelist.txt'
test -z "/home/phil/sphinx/include/pocketsphinx" || /bin/mkdir -p "/home/phil/sphinx/include/pocketsphinx"
/usr/bin/install -c -m 644 pocketsphinx.pxd '/home/phil/sphinx/include/pocketsphinx'
make[2]: Leaving directory
/home/phil/Harvard/pocketsphinx-0.8/python' make[1]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8/python'make[1]: Entering directory
/home/phil/Harvard/pocketsphinx-0.8' make[2]: Entering directory/home/phil/Harvard/pocketsphinx-0.8'make[2]: Nothing to be done for
install-exec-am'. test -z "/home/phil/sphinx/lib/pkgconfig" || /bin/mkdir -p "/home/phil/sphinx/lib/pkgconfig" /usr/bin/install -c -m 644 pocketsphinx.pc '/home/phil/sphinx/lib/pkgconfig' make[2]: Leaving directory/home/phil/Harvard/pocketsphinx-0.8'make[1]: Leaving directory `/home/phil/Harvard/pocketsphinx-0.8'
Sorry for the mess.
Ok, please try the following:
It should work. Check that ARM lib is compiled in config.log. It should use arm-linux-eabi-gcc. And also check library type with file command.
Ok, so I tried that for sphinxbase and it failed here:
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/sphinxbase.o -L../src/libsphinxbase/.libs -lsphinxbase -o build/lib.linux-x86_64-2.7/sphinxbase.so
/usr/bin/ld: ../src/libsphinxbase/.libs/libsphinxbase.a(logmath.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../src/libsphinxbase/.libs/libsphinxbase.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 make[1]: *** [pymod-build-stamp] Error 1 make[1]: Leaving directory/home/phil/Harvard/sphinxbase/python'make: *** [all-recursive] Error 1
Ok, it's python. Add --without-swig-python to disable python cross-compilation.
Do I add that to the ./configure line? That it says "configure: WARNING: unrecognized option '--without-swig-python'". Running make with that flag also failed.
If you compile pocketsphinx-0.8 add --disable-python to configure arguments.
Right, but pocketsphinx depends on sphinxbase and I can't build sphinxbase based on that python failure above.
Add --disable-python to sphinxbase configure arguments and to pocketsphinx configure arguments.
Like this?
./configure --host=arm-linux-eabi --build=i686-linux-gnu --prefix=/home/phil/sphinx --disable-python
configure: WARNING: unrecognized options: --disable-python
...
Ok, try
Perhaps I don't have the most recent version?
Your version is fine.
Ok great! That works, we're making progress. So now I'm back to trying to compile my test program. Here is my line again:
And here is the error:
compilation terminated.
The command line must be:
~~~~~~~~~~~~~~
arm-linux-gnueabi-gcc -o test sphinx_test.c -DMODELDIR=\"/home/phil/sphinx/share/pocketsphinx/model\"
-I/home/phil/sphinx/include
-I/home/phil/sphinx/include/sphinxbase
-I/home/phil/sphinx/include/pocketsphinx
-L/home/phil/sphinx/lib -lpocketsphinx -lsphinxbase -lsphinxad -lpthread -lm -lblas -llapack
~~~~~~~~~~~~~~~~~~~~~~~
You need to add -I/home/phil/sphinx/include
Ok, now we're back to roughly where I started:
Please provide the output of file command as requested above. Please delete the current code and unpack them again to get a clean code state. Please provide full build and configure logs. Attach the logs in a single archive instead of pasting them in a message.
Ok, here it is.
Ok, try the following command
The difference is arm-linux-gnueabi, not arm-linux-eabi. In configure log make sure that this line present:
Great! libpocketsphinx is no longer the issue. (However, that line you mentioned was NOT in the configure output.) Here is the newest issue:
You can remove -lblas -llapack from command line.
Great, that compiles. Thank you so much!
Hello guys, i am also trying to cross compile the both pocketsphinx and sphinxbase for arm architecture. I followed above steps mentioned but stuck with make file error. Please check the attached files and help me out. The error looks like this:
Hope to hear from you soon.