php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56045 HAVE_MCK is not #define'd
Submitted: 2004-04-27 13:39 UTC Modified: 2013-02-18 00:35 UTC
From: tjw at tjw dot org Assigned:
Status: No Feedback Package: cybercash (PECL)
PHP Version: 4.3.3 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-04-27 13:39 UTC] tjw at tjw dot org
Description:
------------

Using PHP 4.3.6, the cybercash ext does build and link, but it contains no functionality because of the #ifdef's for HAVE_MCK surround all the code.  It appears that HAVE_MCK should be set by configure, but that's not happening for me.  

Manually adding:

#define HAVE_MCK 1 

to the top of cybercash.h makes this extension build and work properly.

I'm using: autoconf (GNU Autoconf) 2.57




Reproduce code:
---------------
wget http://pear.php.net/get/cybercash-1.18p1.tgz
tar zxvf cybercash-1.18p1.tgz
mv cybercash-1.18p1 php-4.3.6/ext/cybercash
cd php-4.3.6
autoconf
./configure --with-cybercash=/usr/local/verisign/mck-3.3.1-i586-pc-linux-gnulibc2.1
make


Expected result:
----------------
cybercash_encr() et. al. should be available and phpinfo() should show cybercash as being enabled.

Actual result:
--------------
cybercash_* functions are not available and phpinfo() does not show cybercash as available.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 09:44 UTC] mike@php.net
Please try the latest package version and report back if you're still experiencing this issue.
 [2006-01-13 12:52 UTC] boonedocks at gmail dot com
> Please try the latest package version and report
> back if you're still experiencing this issue.

Is there a newer package than the 2003 releases? The bug was posted in 2004 and I had the same issue.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Apr 19 05:01:23 2021 UTC