[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]On Wed, 9 Feb 2000, El buen Chubi wrote: > Trato de compilar el php-3.0.14 porque baje una herramienta que me es de > utilidad (webtasker) y lo necesita. > Para compilarlo hago esto: > ./configure --with-apxs=/usr/sbin/apxs --with-ldap --prefix=/usr > --with-apache=/etc/httpd --with-pgsql=/usr/include/pgsql --with-mysql > --with-xml > > Luego le doy make y me sale algo esto en alguna etapa: > > {continúa líneas arriba} > gcc -g -O2 -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s > -mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations > -malign-loops=2 -malign-jumps=2 -malign-functions=2 > -mpreferred-stack-boundary=2 -DLINUX=2 -DNO_DBM_REWRITEMAP -DEAPI -DEAPI_MM > -DUSE_EXPAT -I../lib/expat-lite -O2 -fpic -DSHARED_MODULE -I. -I. > -I/usr/include/apache -I/usr/include/mysql > -I/usr/include/pgsql/include -I/usr/include/apache -c > internal_functions.c -o internal_functions.o > In file included from internal_functions.c:59: > functions/php3_pgsql.h:46: libpq-fe.h: No existe el fichero o el directorio > functions/php3_pgsql.h:47: libpq/libpq-fs.h: No existe el fichero o el > directorio > In file included from internal_functions.c:59: > functions/php3_pgsql.h:89: parse error before `*' > functions/php3_pgsql.h:96: parse error before `PGconn' > functions/php3_pgsql.h:96: warning: no semicolon at end of struct or union > functions/php3_pgsql.h:98: parse error before `}' > functions/php3_pgsql.h:98: warning: data definition has no type or storage > class > functions/php3_pgsql.h:101: parse error before `PGconn' > functions/php3_pgsql.h:101: warning: no semicolon at end of struct or union > functions/php3_pgsql.h:102: warning: data definition has no type or storage > class > functions/php3_pgsql.h:103: parse error before `}' > functions/php3_pgsql.h:103: warning: data definition has no type or storage > class > make: *** [internal_functions.o] Error 1 > [root@localhost php-3.0.14]# > > ya le intenté cambiando el --with-pgsql=/usr/include/pgsql a /usr/lib/pgsql > y nanais. > Le puse que buscara el dichoso archivo " libpq-fe.h " y aparece en el > /usr/include/pgsql > Cómo le hago??? ./configure --with-apxs=/usr/sbin/apxs --with-ldap --prefix=/usr --with-apache=/etc/httpd --with-pgsql=/usr --with-mysql --with-xml Tengo la ligera sospecha que estas usando Mandrake, verdad? Saludos -- (o- Cristian Othon Martinez Vera <cfuga en itam mx> Pulchrum est paucorum //\ http://eniac.rhon.itam.mx/~cfuga/ hominum. v_/_ --------------------------------------------------------------------- Lista de soporte de LinuxPPP Reglas de la lista en http://pepe.net.mx/reglas.html