Women in Technology

Hear us Roar



Article:
  PHP 4.3 and Mac OS X
Subject:   mcrypt
Date:   2003-01-21 16:16:54
From:   trachtenberga
Response to: mcrypt

It took me a little while to get fink to install mcrypt -- it wasn't configured to read unstable files. But, after all that, I get the same result as you do.


At first, I thought it was a problem with mcrypt 2.5.x instead of 2.4.x. But, I'm not positive about this anymore.


Let me know if you make any progress on this.


-adam

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • mcrypt
    2003-02-28 18:55:56  tychay [View]

    I had no problem compiling against the fink libraries. My Configure line:
    './configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs=/usr/sbin/apxs' '--enable-soap=/sw' '--with-imagick=/sw' '--with-xmlrpc' '--with-pdflib=/sw' '--with-iodbc=/usr' '--with-mysql=/sw' '--with-mysql-sock=/private/tmp/mysql.sock' '--with-mnogosearch=/sw' '--with-ming=/sw' '--with-mime-magic' '--with-mhash=/sw' '--with-mcrypt=/sw' '--with-iconv=/sw' '--with-iconv-dir=/sw' '--with-gmp=/sw' '--with-gettext=/sw' '--with-gd' '--with-jpeg-dir=/sw' '--with-png-dir=/sw' '--with-xpm-dir=/sw' '--with-freetype-dir=/sw' '--with-t1lib=/sw' '--enable-gd-native-ttf' '--enable-exif' '--with-tiff-dir=/sw' '--with-dom=/sw' '--with-curl=/sw' '--with-curlwrappers' '--with-bz2=/sw' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-config-file-path=/etc' '--with-expat-dir=/sw' '--enable-wddx' '--enable-sockets' '--with-mm=/sw' '--enable-mbstring=all' '--enable-mbregex' '--enable-ftp' '--enable-dio' '--enable-dbx' '--enable-dba' '--with-db3=/sw' '--with-gdbm=/sw' '--with-ndbm=/usr' '--with-cdb' '--with-flatfile' '--enable-calendar' '--enable-bcmath' '--disable-debug' '--disable-short-tags'

    The version I am using is libmcrypt(-shlibs)-2.5.5-1 unstable package from Fink.

    My test script (Mac OS X 10.2.4, PB G4/800):

    bash-2.05a$ php -r 'echo base64_encode(mcrypt_ecb(MCRYPT_BLOWFISH, "key", "Something to encrypt",MCRYPT_ENCRYPT)),"\n";'
    HWiUtsE0PWDKoK6wtNTSiSjbdz0KUeLa

    Hope this helps,

    terry chay
    tychay at php dot net