Litespeed PHP Compile Error: Cannot find autoconf

Once I finally made it past the PHP build process the Litespeed Admin Console Detailed Log complained of not being able to find autoconf. This one is fairly obvious but wanted to note just in case someone is not familiar with the autoconf package. Again since this is a new server with a minimal install the autoconf package had not been installed. Below are details about the error from the Litespeed Detailed Log and how to install autoconf via yum.

Litespeed PHP Compile Process Error: Cannot Find autoconf

Below is a small snip from the Litespeed Detailed Log viewed from the Litespeed Admin Console.

bash

  1. Cannot find autoconf. Please check your autoconf installation and the
  2. $PHP_AUTOCONF environment variable. Then rerun the script.
  3.  
  4. **ERROR** Could not run PHPize for Suhosin

Cannot Find autoconf Via Litespeed Detailed Log On CentOS Linux:

Litespeed Compile Error: Cannot Find autoconf

To resolve this issue all you need to do is install autoconf using the yum package manager and then start the PHP install process again via the Litespeed Admin Console.

Install autoconf Using Yum Package Manager:

bash

  1. [root@dev ~]# yum install autoconf
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4.  * addons: mirrors.usc.edu
  5. Excluding mirror: mirrors.bluehost.com
  6.  * base: mirrors.finalasp.com
  7.  * extras: mirrors.versaweb.com
  8.  * updates: centos-distro.cavecreek.net
  9. Setting up Install Process
  10. Resolving Dependencies
  11. --> Running transaction check
  12. ---> Package autoconf.noarch 0:2.59-12 set to be updated
  13. --> Processing Dependency: imake for package: autoconf
  14. --> Running transaction check
  15. ---> Package imake.i386 0:1.0.2-3 set to be updated
  16. --> Finished Dependency Resolution
  17.  
  18. Dependencies Resolved
  19.  
  20. ====================================================================================================================================
  21.  Package                          Arch                           Version                         Repository                    Size
  22. ====================================================================================================================================
  23. Installing:
  24.  autoconf                         noarch                         2.59-12                         base                         647 k
  25. Installing for dependencies:
  26.  imake                            i386                           1.0.2-3                         base                         319 k
  27.  
  28. Transaction Summary
  29. ====================================================================================================================================
  30. Install       2 Package(s)
  31. Upgrade       0 Package(s)
  32.  
  33. Total download size: 966 k
  34. Is this ok [y/N]: y
  35. Downloading Packages:
  36. (1/2): imake-1.0.2-3.i386.rpm                                                                                | 319 kB     00:00
  37. (2/2): autoconf-2.59-12.noarch.rpm                                                                           | 647 kB     00:00
  38. ------------------------------------------------------------------------------------------------------------------------------------
  39. Total                                                                                               910 kB/s | 966 kB     00:01
  40. Running rpm_check_debug
  41. Running Transaction Test
  42. Finished Transaction Test
  43. Transaction Test Succeeded
  44. Running Transaction
  45.   Installing     : imake                                                                                                        1/2
  46.   Installing     : autoconf                                                                                                     2/2
  47.  
  48. Installed:
  49.   autoconf.noarch 0:2.59-12
  50.  
  51. Dependency Installed:
  52.   imake.i386 0:1.0.2-3
  53.  
  54. Complete!
  55. [root@dev ~]#

Once autoconf was installed the PHP compile process completed without issue.

Building Scalable Web Sites: Building, Scaling, and Optimizing the Next Generation of Web Applications (Paperback)


List Price: $39.99 USD
New From: $8.00 USD In Stock
Used from: $0.01 USD In Stock

PHP in a Nutshell: A Desktop Quick Reference (Paperback)


List Price: $29.95 USD
New From: $6.75 USD In Stock
Used from: $0.01 USD In Stock

Share