|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tjw at tjw dot org
New email:
PHP Version: OS:


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

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:
tar zxvf cybercash-1.18p1.tgz
mv cybercash-1.18p1 php-4.3.6/ext/cybercash
cd php-4.3.6
./configure --with-cybercash=/usr/local/verisign/mck-3.3.1-i586-pc-linux-gnulibc2.1

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 09:44 UTC]
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: Tue Apr 20 18:01:23 2021 UTC