I am trying to build sphinxbase under OS X (10.6.8) using gcc version: 4.2.1.
I've extracted sphinxbase-0.6.1 into a new directory.
I cd into that directory.
I run './configure' - which appears to succeed without issue.
I then run 'make' which results in tons of warnings and two specific errors:
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
and
lipo:can't open input file: /var/folders/Ej/EjLLLT-HFFKoDy6x5RkCAo9pppo/-Tmp-//ccf5xRFf.out (No such file or directory)error: command 'gcc-4.2'failedwithexitstatus1make[1]:***[pymod-build-stamp]Error1make:***[all-recursive]Error1
A text file containing the full results from make can be found at:
I am attempting to build sphinxbase 0.7 on os x 10.6.8 and ran into the exact
same error in the build log...just bumping the post as I can reproduce this.
Any help appreciated ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did actually run across that post before I bumped this thread, but had
dismissed it as I wasn't building the libraries on a PPC mac. I didn't realize
that build system was attempting to do a universal / fat build. I went ahead
and created the symlinks as the post suggested, which worked. The linker now
fails for all unsupported architectures, which is expected.
Because I'm stubborn, I wanted to track down where in the make scripts the
arch flags were being passed to gcc. I have a feeling that if ppc flag were
removed, no attempt would be made to invoke the missing assembler =). I'll
post back if I can figure that out as it might be an alternate solution to
creating the symlinks.
Regards,
Seth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to build sphinxbase under OS X (10.6.8) using gcc version: 4.2.1.
I've extracted sphinxbase-0.6.1 into a new directory.
I cd into that directory.
I run './configure' - which appears to succeed without issue.
I then run 'make' which results in tons of warnings and two specific errors:
and
A text file containing the full results from make can be found at:
http://dl.dropbox.com/u/5444790/build.txt
My end goal here is to build sphinxtrain (or sphinxtrain-automake) but I
cannot do that until I can successfully build sphinxbase.
Thank you in advance for any help!
I am attempting to build sphinxbase 0.7 on os x 10.6.8 and ran into the exact
same error in the build log...just bumping the post as I can reproduce this.
Any help appreciated ;)
See
https://sourceforge.net/projects/cmusphinx/forums/forum/5471/topic/4605701
I did actually run across that post before I bumped this thread, but had
dismissed it as I wasn't building the libraries on a PPC mac. I didn't realize
that build system was attempting to do a universal / fat build. I went ahead
and created the symlinks as the post suggested, which worked. The linker now
fails for all unsupported architectures, which is expected.
Because I'm stubborn, I wanted to track down where in the make scripts the
arch flags were being passed to gcc. I have a feeling that if ppc flag were
removed, no attempt would be made to invoke the missing assembler =). I'll
post back if I can figure that out as it might be an alternate solution to
creating the symlinks.
Regards,
Seth
Odd. I built 0.6.1, 0.7, and a 2011-08-02 snapshot on 10.6.6. I always do the
autogen, even on the released versions.
For sphinxbase and pocketsphinx
./autogen.sh
make
sudo make install
This seems to get a functional setup in all the right places.
for sphinxtrain
./configure
make
Then copy the 27 binaries from bin.i386-apple-darwin10.6.0 to /usr/local/bin
The problem raises if you try to build python support. You need to have python
installed. The problem is inside python build script, not in CMUSphinx.