instalacion de mcrypto
| From: | Rodrigo Gonzalez | Date: | Wed, 18 Dec 2002 01:20:57 +0000 |
| Subject: | instalacion de mcrypto | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-30470@lists.php.net to get a copy of this message | ||
estoy tratando de instalar la funcion de mcrypto, ya instale mcrypt 2.6.3 pero a la hora de intentar
recompilar el php con la siguiente configuracion:
\'./configure\' \'i386-redhat-linux\' \'--prefix=/usr\'
\'--exec-prefix=/usr\' \'--bindir=/usr/bin\' \'--sbindir=/usr/sbin\'
\'--sysconfdir=/etc\' \'--datadir=/usr/share\'
\'--includedir=/usr/include\' \'--libdir=/usr/lib\'
\'--libexecdir=/usr/libexec\' \'--localstatedir=/var\'
\'--sharedstatedir=/usr/com\' \'--mandir=/usr/share/man\'
\'--infodir=/usr/share/info\' \'--prefix=/usr\'
\'--with-config-file-path=/etc\' \'--enable-force-cgi-redirect\'
\'--enable-pic\' \'--disable-rpath\' \'--enable-inline-optimization\'
\'--with-bz2\' \'--with-db3\' \'--with-curl\'
\'--with-exec-dir=/usr/bin\' \'--with-freetype\'
\'--with-png-dir=/usr\' \'--with-gd\' \'--enable-gd-native-ttf\'
\'--with-ttf\' \'--with-gdbm\' \'--with-gettext=shared\'
\'--with-ncurses\' \'--with-gmp\' \'--with-iconv\'
\'--with-jpeg-dir=/usr\' \'--with-openssl\' \'--with-pear\'
\'--with-png\' \'--with-regex=system\' \'--with-xml\'
\'--with-expat-dir=/usr\' \'--with-zlib\' \'--with-layout=GNU\'
\'--enable-bcmath\' \'-!
-enable-debugger\' \'--enable-exif\' \'--enable-ftp=shared\'
\'--enable-sockets\' \'--enable-sysvsem=shared\'
\'--enable-sysvshm=shared\' \'--enable-discard-path\'
\'--enable-track-vars\' \'--enable-trans-sid\' \'--enable-yp\'
\'--enable-wddx\' \'--without-oci8\' \'--with-ldap=shared\'
\'--with-mysql=shared,/usr\' \'--with-pgsql=shared\'
\'--with-snmp=shared,/usr\' \'--with-snmp=shared\'
\'--enable-ucd-snmp-hack\' \'--enable-memory-limit\'
\'--enable-bcmath\' \'--enable-shmop\' \'--enable-versioning\'
\'--enable-calendar\' \'--enable-dbx\' \'--enable-dio\'
\'--enable-mcal\' \'--enable-mbstring\' \'--enable-mbstr-enc-trans\'
\'--disable-experimental-zts\' \'--with-apxs=/usr/sbin/apxs\'
\'--with-ming\' \'--with-imap=shared\' \'--with-mcrypt\'
Pero a la hora de estar compilando me muestra este error:
make[2]: Entering directory `/home/admin/php-4.2.3/ext/mcrypt\'
make[3]: Entering directory `/home/admin/php-4.2.3/ext/mcrypt\'
/bin/sh /home/admin/php-4.2.3/libtool --silent --mode=compile gcc -I.
-I/home/admin/php-4.2.3/ext/mcrypt -I/home/admin/php-4.2.3/main -I/home/admin/php-4.2.3
-I/usr/include/apache -I/home/admin/php-4.2.3/Zend -I/include -I/usr/local/include/c-client
-I/usr/local/include -I/usr/include/mysql -I/usr/include/pgsql -I/usr/include/ucd-snmp -DLINUX=22
-DMOD_SSL=208105 -DEAPI -DEAPI_MM -DFD_SETSIZE=4096 -I/home/admin/php-4.2.3/TSRM -g -O2 -prefer-pic
-c mcrypt.c
mcrypt.c: In function `zm_startup_mcrypt\':
mcrypt.c:272: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:273: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:274: `MCRYPT_BLOWFISH_128\' undeclared (first use in this function)
mcrypt.c:274: (Each undeclared identifier is reported only once
mcrypt.c:274: for each function it appears in.)
mcrypt.c:275: `MCRYPT_BLOWFISH_192\' undeclared (first use in this function)
mcrypt.c:276: `MCRYPT_BLOWFISH_256\' undeclared (first use in this function)
mcrypt.c:277: `MCRYPT_BLOWFISH_448\' undeclared (first use in this function)
mcrypt.c:278: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:279: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:280: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:281: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:282: `MCRYPT_IDEA\' undeclared (first use in this function)
mcrypt.c:283: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:284: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:285: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:286: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:287: `MCRYPT_RC2_128\' undeclared (first use in this function)
mcrypt.c:288: `MCRYPT_RC2_256\' undeclared (first use in this function)
mcrypt.c:289: `MCRYPT_RC2_1024\' undeclared (first use in this function)
mcrypt.c:290: `MCRYPT_RC4\' undeclared (first use in this function)
mcrypt.c:291: `MCRYPT_RC6_128\' undeclared (first use in this function)
mcrypt.c:292: `MCRYPT_RC6_192\' undeclared (first use in this function)
mcrypt.c:293: `MCRYPT_RC6_256\' undeclared (first use in this function)
mcrypt.c:294: `MCRYPT_SAFER_64\' undeclared (first use in this function)
mcrypt.c:295: `MCRYPT_SAFER_128\' undeclared (first use in this function)
mcrypt.c:296: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c:297: `MCRYPT_SERPENT_128\' undeclared (first use in this function)
mcrypt.c:298: `MCRYPT_SERPENT_192\' undeclared (first use in this function)
mcrypt.c:299: `MCRYPT_SERPENT_256\' undeclared (first use in this function)
mcrypt.c:300: `MCRYPT_TWOFISH_128\' undeclared (first use in this function)
mcrypt.c:301: `MCRYPT_TWOFISH_192\' undeclared (first use in this function)
mcrypt.c:302: `MCRYPT_TWOFISH_256\' undeclared (first use in this function)
mcrypt.c:303: warning: passing arg 3 of `zend_register_long_constant\' makes integer from
pointer without a cast
mcrypt.c: In function `zif_mcrypt_get_cipher_name\':
mcrypt.c:1497: warning: assignment makes pointer from integer without a cast
make[3]: *** [mcrypt.lo] Error 1
make[3]: Leaving directory `/home/admin/php-4.2.3/ext/mcrypt\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/admin/php-4.2.3/ext/mcrypt\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/php-4.2.3/ext\'
make: *** [all-recursive] Error 1
alguien tiene alguna sugerencia??
Saludos
Rodrigo Gonzalez
rodrigo.gonzalez@recursoweb.com
icq: 158188671
tel (442) 260-07-25
----------------------------------------------------------
Moderniza o crea tu página web y gana dinero con
el increible sistema de Recursoweb.com