* Kernel source from '/lib/modules/3.4.11-2.16-desktop/build' will be used to build the module. It looks for autoconf.h. Which packages is needed and how do I link It looks for the kernel libraries. That was what the installation script was suggesting at the beginning. Get an error message for the linux/autoconf.h that is not found. Find Solutions Here. Sponsored Links. It is very easy to solve this problem: 1. First, make sure that Autoconf is installed in your system: #pkg_info| grep autoconf autoconf-2.68 Automatically configure source code on many Un*x platforms autoconf-wrapper-20071109 Wrapper script for GNU.
The mcrypt extension is missing. Please check your PHP configuration. The above error appears after you successfully get phpMyAdmin up and running on OS X, generally you don’t have to worry about it, you only need to address the error if you are going to use a web application that requires it, for example, the shopping cart software or a php framework like Laravel.
Mcrypt is a file encryption method using secure techniques to exchange data. This tutorial has been tested in 10.7 Lion and 10.8 Mountain Lion.
There are two ways to solve this issue on OSX, it depends on what your comfortable with and what you already have – this guide takes you through staying what you already have by installing and compiling code to get the extension running, an alternative is to use a packaged version of PHP which already has the mcrypt extension compiled and enabled, this for some would be an easier option to deploy – see that. Xcode, then install it from the /Applications folder it will be called ‘Install Xcode’ or just Xcode.app.
You need this to use the compilers to compile the source code that you will download. Go to Xcode preferences and then look in the ‘Downloads’ button. Install the command line tools from the preferences of Xcode. Getting it on in OS X Mountain Lion This tutorial works mostly in the Terminal, launch it from /Applications/Utilities, change directory (cd) to the home account and make a directory that you will work in, call it mcrypt cd ; mkdir mcrypt; cd mcrypt this is direct download link. Libmcrypt needs to be configured, enter./configure make sudo make install With the libmcrypt configured and libraries now installed, time for to make the mcrypt extension.
Autoconf Errors If the below error occurs after you try the following compile of mcrypt, then autoconf is not installed. Cannot find autoconf.
Please check your autoconf installation and the $PHPAUTOCONF environment variable. Then, rerun this script. Autoconf is not installed with the latest Xcode but may be present on some OS X from an upgraded older Xcode.