Looks like you don't have the which package installed. Therefore, it
can't perform a which to find your compiler. Try doing a yum install
which and install those packages. Then try to install Ossec again.

- Jeremy

On Aug 21, 6:08 pm, Chris Henderson <[email protected]> wrote:
> Hey All,
>
> I am trying to install OSSEC on a few machines and I'm running into
> problems. I have a total of 8 servers all of which are the same make
> and model. All are 64 bit running CentOS 5.3 and all were installed in
> the same manner. On 3 of the servers OSSEC installed properly, but on
> the other 5 I get the following message:
>
>   ** Para instalação em português, escolha [br].
>   ** 要使用中文进行安装, 请选择 [cn].
>   ** Fur eine deutsche Installation wohlen Sie [de].
>   ** Για εγκατάσταση στα Ελληνικά, επιλέξτε [el].
>   ** For installation in English, choose [en].
>   ** Para instalar en Español , eliga [es].
>   ** Pour une installation en français, choisissez [fr]
>   ** Per l'installazione in Italiano, scegli [it].
>   ** 日本語でインストールします.選択して下さい.[jp].
>   ** Voor installatie in het Nederlands, kies [nl].
>   ** Aby instalować w języku Polskim, wybierz [pl].
>   ** Для инструкций по установке на русском ,введите [ru].
>   ** Za instalaciju na srpskom, izaberi [sr].
>   ** Türkçe kurulum için seçin [tr].
>   (en/br/cn/de/el/es/fr/it/jp/nl/pl/ru/sr/tr) [en]:
> ./src/init/shared.sh: line 16: which: command not found
> ./src/init/shared.sh: line 30: which: command not found
>
> ./install.sh: line 762: which: command not found
> ./install.sh: line 764: which: command not found
>
>  Error 0x3.
>  You need a compiler (like gcc or cc) to continue with the
>  with the installation.
>
> A rpm -qa | grep gcc shows that I have the following packages
> installed:
>
> gcc-4.1.2-44.el5
> libgcc-4.1.2-44.el5
> libgcc-4.1.2-44.el5
>
> Is there some sort of environment variable or path I have to set on
> these 5 that I didn't have to on the other 3?
>
> Thanks,
>
> Chris

Reply via email to