Enchant path not found on PHP 5.4.21 build

Drewgg

Registered
Oct 30, 2013
2
0
1
cPanel Access Level
Root Administrator
Hi, I was trying to use EasyApache to install Enchant on two of our servers and it worked on one and fails on the other.

Server info (for the server that fails):

CENTOS: 5.10 i686 standard
WHM: 11.34.2 (build 8)
EasyApache: 3.22.19
Apache: 2.2.25 (Unix)
PHP: 5.4.21​

Here is the error message:

The last time Cpanel::Easy::PHP5::Enchant was run; step returned 0.

That just caused Cpanel::Easy::PHP5::Enchant to be skipped.

The message it gave was:
Could not find [1] path

You might want to take that into consideration when choosing options and troubleshooting.

The log for that build is here: [snip]

Searching the log for "enchant" had these results:


No package libenchant-dev available.
No package libXpm-dev available.
Package lsof-4.78-6.i386 already installed and latest version
No package enchant-devel available.
No package krb5-dev available.
Package flex-2.5.4a-41.fc6.i386 already installed and latest version
No package glibc-dev available.
No package expat-dev available.
Package krb5-devel-1.6.1-70.el5_9.2.i386 already installed and latest version
No package enchant-dev available.
No package xorg-x11-devel available.
Package libtool-ltdl-1.5.22-7.el5_4.i386 already installed and latest version
No package libssl-dev available.
Package pam-devel-0.99.6.2-12.el5.i386 already installed and latest version
No package libenchant-devel available.
No package libopenssl0-devel available.
No package zlib1-devel available.
Package expat-devel-1.95.8-11.el5_8.i386 already installed and latest version
No package libopenssl0-dev available.
Package gcc-c++-4.1.2-54.el5.i386 already installed and latest version
Package expat-1.95.8-11.el5_8.i386 already installed and latest version
Package glibc-devel-2.5-118.el5_10.2.i386 already installed and latest version
No package libenchant available.

[...]

No package xorg-x11-dev available.
No package enchant available.
Package gcc-4.1.2-54.el5.i386 already installed and latest version

[...]

-- Begin opt 'Enchant' --
-- Begin dryrun test 'Find enchant path for PHP 5' --
dryrun test 'Find enchant path for PHP 5' did not return true

!! Dry run failed for 'Cpanel::Easy::PHP5::Enchant' skipping option !!

-- End opt 'Enchant' --

[...]

checking for xml2-config path... (cached) /opt/xml2//bin/xml2-config
checking whether libxml build works... (cached) yes
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo support... no
checking whether to enable input filter support... yes


The install files seem to exist where they should be:

/home/cpeasyapache/src/php-5.4.21/ext/enchant

Any ideas on how I can fix this issue and get Enchant working on that server?

Thank you for any help you can provide!


PS.

The server that successfully installed Enchant is running the same version of CentOS, Apache, EasyApache, and WHM. The only difference is the PHP version (5.3.27). I found the enchant install files in /home/cpeasyapache/src/php-5.3.27/ext/enchant/ on that server.

The only other difference is that I see enchant files install in these folders:
/usr/lib/enchant
/usr/include/enchant
/usr/share/enchant
but I'm guessing those were created by EasyApache...
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you open a support ticket so we can take a closer look?

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

Drewgg

Registered
Oct 30, 2013
2
0
1
cPanel Access Level
Root Administrator
Hi Michael,

Thank you for the reply. We figure you probably can't do much without getting access to our servers so my boss decided we should first opening a ticket with our data center (since they already maintain our servers and will work with you all directly if needed). I'll keep this thread updated.
 

cPanelKeithS

Active Member
Staff member
Oct 14, 2008
32
1
133
According to this document you may need to find a non-default repo that supplies the necessary RPM

ModuleEnchants < EasyApache/Php < TWiki

Default CentOS/RedHat 4.x and 5.x repositories do not provide the necessary RPMs, so this module will not build on those machines without intervention.