Próbowałem zainstalować Gearman na moim instancji EC2, ale gdy próbuję ./configure gearmand, mam to:Brak kompilatora C w EC2?
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/ec2-user/gearmand-1.1.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Teraz Najdziwniejsze jest to, że GCC jest zdecydowanie zainstalowany.
which gcc46
powraca
/usr/bin/gcc46
Jednak kiedy próbuję uruchomić polecenie "gcc", to nie znaleziono ...
starałem się wymazać/intall/przeinstalować i gcc gcc-C++ przez mniam, ale to nie pomaga.
Każda rada? Z góry dziękuję.
'ln/usr/bin/gcc46/usr/bin/gcc'? –
EC2 nie jest systemem operacyjnym. Który system operacyjny jest zainstalowany? Jeśli jest to system pochodny Red Hat, taki jak "Amazon Linux", "yum install gcc" zadziała. Na systemach podobnych do Debiana (Ubuntu, etc ...) użyj "aptitude install gcc". –
'./configure CC = gcc46'; configure nie będzie prawdopodobnie szukał nazwy w wersji dekorowanej. –