Gcc unix
Publicado por alexander (3 intervenciones) el 23/11/2006 17:48:16
Hola amigos tengo un problema trabajo en solaris, aunque es muy parecido a linux, es lo siguinte necesito compilar php para postgres, no tenia entorno de compilacion instale gcc, flex bison y varios paquetes, adicione el path y todo lo que recomiendan pero al configurar, esta es la ints que uso:
./configure --with-mysql --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bin/apxs --enable-sysvsem --enable-sysvshm
me sale lo siguiente:
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
el archivo config.log es el siguiente:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:2174: checking for Cygwin environment
configure:2190: gcc -c conftest.c 1>&5
./configure: gcc: not found
configure: failed program was:
#line 2179 "configure"
#include "confdefs.h"
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:2207: checking for mingw32 environment
configure:2219: gcc -c conftest.c 1>&5
./configure: gcc: not found
configure: failed program was:
#line 2212 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:2238: checking for egrep
configure:2253: checking for a sed that does not truncate output
configure:2390: checking host system type
configure:2411: checking target system type
configure:2510: checking for gcc
configure:2623: checking whether the C compiler (gcc ) works
configure:2639: gcc -o conftest conftest.c 1>&5
./configure: gcc: not found
configure: failed program was:
#line 2634 "configure"
#include "confdefs.h"
main(){return(0);}
Por favor ayudenme, e leido muchos mensajes en google y nada no lo resulve, les agradesco mucho.
./configure --with-mysql --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bin/apxs --enable-sysvsem --enable-sysvshm
me sale lo siguiente:
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
el archivo config.log es el siguiente:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:2174: checking for Cygwin environment
configure:2190: gcc -c conftest.c 1>&5
./configure: gcc: not found
configure: failed program was:
#line 2179 "configure"
#include "confdefs.h"
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:2207: checking for mingw32 environment
configure:2219: gcc -c conftest.c 1>&5
./configure: gcc: not found
configure: failed program was:
#line 2212 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:2238: checking for egrep
configure:2253: checking for a sed that does not truncate output
configure:2390: checking host system type
configure:2411: checking target system type
configure:2510: checking for gcc
configure:2623: checking whether the C compiler (gcc ) works
configure:2639: gcc -o conftest conftest.c 1>&5
./configure: gcc: not found
configure: failed program was:
#line 2634 "configure"
#include "confdefs.h"
main(){return(0);}
Por favor ayudenme, e leido muchos mensajes en google y nada no lo resulve, les agradesco mucho.
Valora esta pregunta


0