Ich versuche Sphinx von der Quelle auf einem 32-Bit CentOS 6 VPS zu machen.Warum sagt configure keinen C-Compiler gefunden, wenn GCC installiert ist?
Wenn ich diesen Befehl ausführen:
./configure --prefix=/usr/local/sphinx
Ich erhalte diese Fehlerausgabe:
checking build environment
--------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for compiler programs
------------------------------
checking whether to compile debug version... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/gnotes/sphinx':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Was ich nicht verstehe, ist, dass GCC so installiert ist, warum kann eine akzeptable nicht konfigurieren finden C-Compiler?
Hier ist die Ausgabe von yum:
sudo yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.metrocast.net
* extras: centos.mirror.constant.com
* updates: mirror.lug.udel.edu
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
updates | 3.4 kB 00:00
Setting up Install Process
Package gcc-4.4.7-3.el6.i686 already installed and latest version
Nothing to do
Was soll das?
'welche gcc' Ausgaben'/usr/bin/gcc' und 'echo $ PATH' Ausgaben'/usr/local/jdk/bin:/home/gnotes/perl5/bin:/usr/local/bin:/bin:/usr/bin:/usr/lokal/sbin:/usr/sbin:/sbin:/usr/lokal/bin:/usr/X11R6/bin:/home/gnotes/bin'. Wie würde ich es dem Pfad hinzufügen? – Garry
Sie können es in Ihrer .profile-Datei hinzufügen. – mti2935
Wie kann ich der .profile-Datei hinzufügen? Gibt es einen Befehl dafür? – Ron