Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
bash-4.2$ gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bash-4.2$ which gcc34
which: no gcc34 in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/qt/bin:/usr/share/texmf/bin)
bash-4.2$ find/-name "gcc*"
bash: find/-name: No such file or directory
bash-4.2$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/qt/bin:/usr/share/texmf/bin
bash-4.2$
There isn't anything in between 1859 and 18886-
Code:
configure:1800: result: gawk
configure:1859: checking for gcc
configure:1886: result: gcc34
configure:2124: checking for C compiler version
I didn't create a symbolic link because which gcc34 returned "no gcc34"
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/
-
I downloaded HTK 3.4.1 from the link you posted yesterday and assumed it was the correct one.
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
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
**************************************************
HTK is now ready to be built.
Type "make all" to build the HTK libraries
and tools.
Then "make install" to install them.
The tools will be installed in /usr/local/bin
Build notes: Language Modelling tools will be
built. HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode'
**************************************************
bash-4.2$ make all
(cd HTKLib && make HTKLib.a) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/zebracat/voxforge/bin/htk/HTKLib'
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c
In file included from /usr/include/features.h:399:0,
from /usr/include/stdio.h:27,
from HShell.h:40,
from HGraf.c:54:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
# include <gnu/stubs-32.h>
^
compilation terminated.
make[1]: *** [HGraf.o] Error 1
make[1]: Leaving directory `/home/zebracat/voxforge/bin/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1
bash-4.2$
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.
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.
Lovely; well thanks for telling me but I honestly don't know how to avoid building the 32-bit counterpart.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.