I have an ASUS x86_64 laptop with OpenSuSE 13.1 and gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388] installed. I’m trying to compile HTK (Hidden Markov Model Toolkit) 3.4.1 from source (there is no RPM available).
The install steps are:
./configure
make all
make install
The configure works fine, but when I make all I get this error:
**$make all
**(cd HTKLib && make HTKLib.a) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/leslie/Install/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:388: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/leslie/Install/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1
How can I tell what packages I need before I compile and install something? gcc only tells me which part it is missing, but not the package that contains it; YaST won’t tell me what parts a package contains unless it is already installed. This is frustrating.