Hello,
i downloaded sphynx3 and did
"./configure
make
make install"
the /usr/local/bin/sphynx-* bibaries are not working.......
Segmentation faults .....
1 have 128MB(32MB AGP) .. with AthlonXP 2000+
with a MSI nForce motherboard........
The microphone also doesn't work properly?
How can I boost it? it works well with boost in
my friends Windows box.
tnx in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running sphinx3 on RedHat 8.0 and getting some similar errors. When I configure, make, and make install make doesn't work completely. It says something about "unexpected token near keyword 'done'". The binaries still compile, though. It's when I try to run those flawed binaries that I also get segmentation faults.
I'm not sure that your nForce has anything to do with the problem, but it is somewhat coincidental that I'm using nVidia.
If anyone else has these kinds of RedHat 8.0 + Sphinx3 segmentation faults and compile errors, your input would be EXTREMELY helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you tried configuring with --enable-shared=no?
I don't currently have a rh 8.0 machine. I'm running with 7.3 without problems. Shared libraries do work on 7.3, but it makes debugging extremely painful, so I tend to run --enable-shared=no by default.
-Carl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried configuring with --enable-shared=no, but make still crapped out like so:
[root@localhost sphinx3]# make
cd . && /bin/sh /home/cyrus/roosevelt/sphinx3/missing --run aclocal
cd . && \
/bin/sh /home/cyrus/roosevelt/sphinx3/missing --run automake --gnu Makefile
cd . && /bin/sh /home/cyrus/roosevelt/sphinx3/missing --run autoconf
configure.in:112: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
WARNING: `autoconf' is missing on your system. You should only need it if
you modified `configure.in'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure --enable-shared=no --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking return type of signal handlers... void
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
./configure: line 4359: syntax error near unexpected token `done'
./configure: line 4359: `done'
make: *** [config.status] Error 2
Thanks for the suggestion anyway. I really think there is something going on with sphinx3 and RedHat 8.0. There seems to be some difficulty with autoconf and/or m4 patterns. I don't really know enough specifics about how the distributions are managed or changed from version to version to even speculate. I'd like to know... what does that error message mean when it says "please use m4_pattern_allow". Where?
Anyone know how to downgrade from RH 8.0 to 7.3?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the new configure.in. I hope it works. That would be huge.
(And sorry about my idiotic comment about the nForce chipset. I had a brain fart and thought you were referring to a GeForce video card, made by nVidia. I can't keep all these little n's and "Forces" straight. I was kinda wondering why a video card would have anything to do with the operation of Sphinx3. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i downloaded sphynx3 and did
"./configure
make
make install"
the /usr/local/bin/sphynx-* bibaries are not working.......
Segmentation faults .....
1 have 128MB(32MB AGP) .. with AthlonXP 2000+
with a MSI nForce motherboard........
The microphone also doesn't work properly?
How can I boost it? it works well with boost in
my friends Windows box.
tnx in advance
I'm running sphinx3 on RedHat 8.0 and getting some similar errors. When I configure, make, and make install make doesn't work completely. It says something about "unexpected token near keyword 'done'". The binaries still compile, though. It's when I try to run those flawed binaries that I also get segmentation faults.
I'm not sure that your nForce has anything to do with the problem, but it is somewhat coincidental that I'm using nVidia.
If anyone else has these kinds of RedHat 8.0 + Sphinx3 segmentation faults and compile errors, your input would be EXTREMELY helpful.
Have you tried configuring with --enable-shared=no?
I don't currently have a rh 8.0 machine. I'm running with 7.3 without problems. Shared libraries do work on 7.3, but it makes debugging extremely painful, so I tend to run --enable-shared=no by default.
-Carl
I tried configuring with --enable-shared=no, but make still crapped out like so:
[root@localhost sphinx3]# make
cd . && /bin/sh /home/cyrus/roosevelt/sphinx3/missing --run aclocal
cd . && \
/bin/sh /home/cyrus/roosevelt/sphinx3/missing --run automake --gnu Makefile
cd . && /bin/sh /home/cyrus/roosevelt/sphinx3/missing --run autoconf
configure.in:112: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
WARNING: `autoconf' is missing on your system. You should only need it if
you modified `configure.in'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure --enable-shared=no --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking return type of signal handlers... void
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
./configure: line 4359: syntax error near unexpected token `done'
./configure: line 4359: `done'
make: *** [config.status] Error 2
Thanks for the suggestion anyway. I really think there is something going on with sphinx3 and RedHat 8.0. There seems to be some difficulty with autoconf and/or m4 patterns. I don't really know enough specifics about how the distributions are managed or changed from version to version to even speculate. I'd like to know... what does that error message mean when it says "please use m4_pattern_allow". Where?
Anyone know how to downgrade from RH 8.0 to 7.3?
I just posted a configure.in that should work for you in redhat8.0 in the patches section.
Have fun,
-Carl
Thanks for the new configure.in. I hope it works. That would be huge.
(And sorry about my idiotic comment about the nForce chipset. I had a brain fart and thought you were referring to a GeForce video card, made by nVidia. I can't keep all these little n's and "Forces" straight. I was kinda wondering why a video card would have anything to do with the operation of Sphinx3. :-)
I tried the patch just now and it seems to work great. Thanks for your help, Carl.