I am attempting to build sphinxbase-5prealpha for the TI L-138 OMAP LCDK dev board. I'm using an Ubuntu 14.04 virtual machine running on Parallels as the host machine and cross-compiling for ARM. I was following along with the build/installation suggestions on this page: http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx
This is my first post here, and I hope I'm formatting it correctly...
As mentioned in the above link, I updated the following dependencies:
gcc, automake, autoconf, libtool, bison, swig at least version 2.0, python development package, pulseaudio development package
The following are the commands I entered in order:
I thought this to be a path issue, but the location is in the path. I'm pretty new to Linux, and am having some trouble deciphering the error messages.
Thanks in advance to anyone that can offer any assistance.
Last edit: Nickolay V. Shmyrev 2016-02-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow! Thanks for tips and the rapid response!
I'm not sure I understand the solution to the linked post. I thought I installed the ARM toolchain when I installed the SDK from TI. It seems like autogen, configure, and make don't seem to have any trouble, but make install can't find it? How would one go about properly installing the compiler to avoid this issue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
arm-arago-linux-gnueabi-gcc: util/.libs/libsphinxutil.a: No such file or directory
arm-arago-linux-gnueabi-gcc: fe/.libs/libsphinxfe.a: No such file or directory
arm-arago-linux-gnueabi-gcc: feat/.libs/libsphinxfeat.a: No such file or directory
arm-arago-linux-gnueabi-gcc: lm/.libs/libsphinxlm.a: No such file or directory
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
since you are doing sudo, your path does not contain the path to compiler.
Run this command as root and make sure you have PATH properly set for the root. Actually if you are cross-compiling, you do not need sudo on make install, you install into your home folder.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The output of the make install is included in the attached output.txt file. It appears to be the same. I hope I've done what you suggested. It appears that I wasted my youth using Windows all these years when I should have been learning something useful...
Awesome! Thanks Nickolay!
It is curious though that previously when I ran make install without sudo or sudo su, I received an access denied error, but it worked this time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am attempting to build sphinxbase-5prealpha for the TI L-138 OMAP LCDK dev board. I'm using an Ubuntu 14.04 virtual machine running on Parallels as the host machine and cross-compiling for ARM. I was following along with the build/installation suggestions on this page: http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx
This is my first post here, and I hope I'm formatting it correctly...
As mentioned in the above link, I updated the following dependencies:
gcc, automake, autoconf, libtool, bison, swig at least version 2.0, python development package, pulseaudio development package
The following are the commands I entered in order:
The first 3 commands seem to have executed properly. I am receiving the following error messages after the make install command:
I thought this to be a path issue, but the location is in the path. I'm pretty new to Linux, and am having some trouble deciphering the error messages.
Thanks in advance to anyone that can offer any assistance.
Last edit: Nickolay V. Shmyrev 2016-02-19
Wow! Thanks for tips and the rapid response!
I'm not sure I understand the solution to the linked post. I thought I installed the ARM toolchain when I installed the SDK from TI. It seems like autogen, configure, and make don't seem to have any trouble, but make install can't find it? How would one go about properly installing the compiler to avoid this issue?
You need to run the command above from the command line and provide the output.
Thanks.
Here is the output:
Please run this command from the folder
/home/parallels/ps/sphinxbase-5prealpha/src/libsphinxbase
as make is doing.Okay, I ran the command form the correct folder, and it executed without error. It also provided no terminal output.
Maybe you can now run make again and see what happens.
Thanks. I gave it a shot, and I'm getting the same error as before. I posted the complete output in the output.txt file attached
Ok, I understood the issue it seems, described here:
https://lists.linuxfoundation.org/pipermail/llvmlinux/2013-January/000110.html
since you are doing sudo, your path does not contain the path to compiler.
Run this command as root and make sure you have PATH properly set for the root. Actually if you are cross-compiling, you do not need sudo on make install, you install into your home folder.
Thanks. I'm sorry to be such a pain... I appended the compiler path to /etc/environment, which now contains the following:
The output of the make install is included in the attached output.txt file. It appears to be the same. I hope I've done what you suggested. It appears that I wasted my youth using Windows all these years when I should have been learning something useful...
run make install without sudo. Add DESTDIR instead to install in your home folder.
make install DESTDIR=/home/parallels/ps/install
See also for details http://stackoverflow.com/questions/257616/sudo-changes-path-why
Awesome! Thanks Nickolay!
It is curious though that previously when I ran make install without sudo or sudo su, I received an access denied error, but it worked this time.