I'm kinda new to Linux so it is possible I'm doing something wrong which should be obvious.
I'm using Ubuntu 6.06 LTS.
I downloaded the Spinx3 via svn and from the site also (these two are different).
After that I tried to install them as specified in the readme file.
1st svn version:
% ./autogen.sh
Result: Only two remarks as far as I can tell namely: "You should add the contents of /usr/share/aclocal/libtool.m4' toaclocal.m4'." and "Makefile.am:56: option `dist-bzip2' not recognized"
% make
Now this is really bad.
I have hundreds of errors. Basically this:
"../../../include/s3types.h:84:21: error: libutil.h: No such file or directory
In file included from ../../../include/adaptor.h:95,
from adaptor.c:74:"
I figured I don't have this libutil.h but why don't I and where can I get it.
I even tried to copy this libutil.h from the dl version since it has it and run:
% make clean
% ./autogen.sh
% make
This isn't better at all:
It starts with: "../../../include/libutil.h:90:23: error: prim_type.h: No such file or directory" and etc.
Now the dl'd version:
% ./autogen.sh
Has no visible warnings or errors, only this:
"You should update your aclocal.m4' by running aclocal.
Running aclocal ..."
But it seems fixed.
% make
Well it runs for like 1.5 mins and after that comes this:
"make[2]: *** No rule to make target../../src/libs3decoder/libs3decoder.la', needed by sphinx3_decode'. Stop.
make[2]: Leaving directory/home/grabler/Sphinx/sphinx3-0.6/src/programs'
make[1]: [all-recursive] Error 1
make[1]: Leaving directory `/home/grabler/Sphinx/sphinx3-0.6/src'
make: [all-recursive] Error 1"
Please advise.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems though the error was in both cases that ./configure really needs the --prefix={install directory} parameter.
With this both versions bulit perfectly.
And btw. I did use the 0.6.3. release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the first one, you need to build sphinxbase first.
For the second one I'm not sure what's going on. Make sure that you get sphinx3 0.6.3 and not 0.6, I think there may have been some build errors in the 0.6 release. Also it's not necessary to run autogen.sh to build the released versions, just configure. 0.6.3 builds fine on Ubuntu 7.04 here...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm kinda new to Linux so it is possible I'm doing something wrong which should be obvious.
I'm using Ubuntu 6.06 LTS.
I downloaded the Spinx3 via svn and from the site also (these two are different).
After that I tried to install them as specified in the readme file.
1st svn version:
% ./autogen.sh
Result: Only two remarks as far as I can tell namely: "You should add the contents of
/usr/share/aclocal/libtool.m4' to
aclocal.m4'." and "Makefile.am:56: option `dist-bzip2' not recognized"% make
Now this is really bad.
I have hundreds of errors. Basically this:
"../../../include/s3types.h:84:21: error: libutil.h: No such file or directory
In file included from ../../../include/adaptor.h:95,
from adaptor.c:74:"
I figured I don't have this libutil.h but why don't I and where can I get it.
I even tried to copy this libutil.h from the dl version since it has it and run:
% make clean
% ./autogen.sh
% make
This isn't better at all:
It starts with: "../../../include/libutil.h:90:23: error: prim_type.h: No such file or directory" and etc.
Now the dl'd version:
% ./autogen.sh
Has no visible warnings or errors, only this:
"You should update your
aclocal.m4' by running aclocal. Running aclocal ..." But it seems fixed. % make Well it runs for like 1.5 mins and after that comes this: "make[2]: *** No rule to make target
../../src/libs3decoder/libs3decoder.la', needed bysphinx3_decode'. Stop. make[2]: Leaving directory
/home/grabler/Sphinx/sphinx3-0.6/src/programs'make[1]: [all-recursive] Error 1
make[1]: Leaving directory `/home/grabler/Sphinx/sphinx3-0.6/src'
make: [all-recursive] Error 1"
Please advise.
Thx for the reply.
It seems though the error was in both cases that ./configure really needs the --prefix={install directory} parameter.
With this both versions bulit perfectly.
And btw. I did use the 0.6.3. release.
For the first one, you need to build sphinxbase first.
For the second one I'm not sure what's going on. Make sure that you get sphinx3 0.6.3 and not 0.6, I think there may have been some build errors in the 0.6 release. Also it's not necessary to run autogen.sh to build the released versions, just configure. 0.6.3 builds fine on Ubuntu 7.04 here...