Menu

Sphinx2 not compiling on RH8.0 either?

Help
2003-03-12
2012-09-22
  • Scott Silliman

    Scott Silliman - 2003-03-12

    I've used sphinx2 for months on RH7.3, but now that I've upgraded to 8.0, I'm no longer able to compile sphinx2.

    I start with a fresh sphinx2 dir checked out from cvs and run "./autogen.sh"  the errors I get are:

    checking host system type... i686-pc-linux-gnu
    ./configure: line 4000: syntax error near unexpected token `done'
    ./configure: line 4000: `done'

    I've reproduced the same exact error on 2 different RH8 boxes.  I've seen the threads on problems with sphinx3/RH 8.0, and I think it's a similar problem - a crash in configure. Unfortunately I don't know enough about configure to fix this myself.

    Please help,

    -Scott

     
    • Scott Silliman

      Scott Silliman - 2003-03-13

      Just for S&G's, I tried configuring it with the latest sphinx3 configure.in file, and it actually got past the problem, until it hit sphinx3 specific stuff and died.  I took a look at the diff of sphinx3:configure.in r1.8 and r1.7 and made a subset of the changes from it to the sphinx2 configure.in (getting rid of the "AC_ARG_WITH(alsa, [use ALSA library for sound I/O]" block - other parts of that patch for s3 weren't relevent or  necessary. 

      It actually compiles and everything after that.  I'm just trying to figure out it it actually works though.  sphinx2-test works,fine but sphinx2-simple just sits there like it can't hear my microphone.  Hopefully I just need to futz around with the mixer controls some more, but this is definitely a step forward from not even having configure work.

      -Scott

       
    • Jessica P. Hekman

      I saw someone using an entirely different package have compilation problems with RH 8.0, and solve them by using gcc 2.96 ('make CC=gcc296 CXX=g++296'). I would be really curious to see if this helped in your case. I'm thinking about upgrading and would like to know that I could still use Sphinx :)

       
    • Scott Silliman

      Scott Silliman - 2003-03-21

      Thanks, that did it - at least for my laptop!   I only used CC=gcc296 since it's all c code, not c++. 

      Funny, I actually compiled it with gcc296 earlier on when I was struggling with configure.in, but once I actually got things to compile, I never would of thought of using 296 to get it to work.  Thank you!

      I'll test this out on my other machines tomorrow, but I'm guessing if it worked on a laptop, it'll probably work on my desktop machines as well.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.