Configure error:C compiler cannot create executables
Hi:
I'm trying to install HTK for Simon but I don't understand this error or the config.log. Here's HTK and the instructions I'm following. http://www.voxforge.org/home/dev/aco...orial/download Code:
ash-4.2$ cd /home/zebracat/voxforge/bin/htk/ Code:
$ ./configure CC=gcc34 --prefix=/home/zebracat/voxforge/bin/htk |
For the record I have gcc installed-
Code:
Looking for gcc in package list. Please wait... DONE |
It says it is finding your C compiler which would normally be "gcc" (GNU C compiler) as "gcc34" and is then attempting to execute gcc34 but saying it is not found.
Based on that: Run 'which gcc' to determine what gcc command it found. Run 'gcc --version' to see if that is gcc34. Run 'which gcc34' - presumably it will say not found. Run 'find / -name "gcc*" to see if it finds any gcc or gcc34 file. Run 'echo $PATH' to see what directories (separated by colon) are in your PATH. If you found gcc34 in a directory NOT listed in your PATH you can add its directory to your PATH by typing 'PATH=$PATH:<newdirectory>' where you replace the last bit with the directory you found gcc34 in. Alternatively if the 'which gcc' tells you the directory where gcc is and that directory does NOT have gcc34 in it you could create a symbolic link by typing 'ln -s <directory>/gcc <directory>/gcc34. You could review the configure script itself and see what it is doing between lines 1859 and 18886 that is making it say gcc34. |
Code:
bash-4.2$ gcc --version Code:
configure:1800: result: gawk |
*
HTK builds OK with gcc-4.9.2 ! A bug, HTK-3.4.1 : htk/HLMTools/Makefile.in, line 77 starts with 8 spaces : Must be one <TAB>. - |
Quote:
Thanks for chiming in. So.... installing gcc 4.9.2 is what I need to do? http://slackbuilds.org/repository/14...pment/avr-gcc/ How to fix the bug? I looked in /home/zebracat/voxforge/bin/htk/HLMTools/Makefile.in and I don't have 77 lines. |
Re #6.
GCC-4.9.2 : Then all new versions can be used, I guess. Also your gcc-4.8. Editing Makefile.in : That's for HTK-3.4.1 = latest stable version, March 2009. ? Are you using an ancient version ? http://htk.eng.cam.ac.uk/ - |
Quote:
If that is the ancient version than I need to find the most recent. |
Tried installing it a different way other than the instructions by just running ./configure.
Code:
config.status: WARNING: HTKLVRec/Makefile.in seems to ignore the --datarootdir setting |
Are you in a pure 64-bit system?
|
Quote:
Code:
bash-4.2$ uname -m the lm flag is present. Quote:
|
Then you have to figure out how to avoid building 32-bit counterpart, your error compiler cannot create executables is because it cannot build 32-bit binaries.
|
Quote:
Ideas or suggestions? |
I found this but I'm not sure if it's the answer.
Use (which I've never done) the -m32 flag to compile a 32-bit binary? http://stackoverflow.com/questions/1...with-gcc-cmake |
There may be a bug preventing the build on pure 64 bit systems. There is certainly a way to file a bug or contact author, but you should see the docs first to make sure you haven't overlooked anything.
|
All times are GMT -5. The time now is 04:16 AM. |