COMPILE ERROR FOR 52

cPanel plugin for php selection
Locked
info@bomm.ch
Posts: 0
Joined: Sun Jun 07, 2015 9:54 pm

COMPILE ERROR FOR 52

Post by info@bomm.ch »

Hello

I got this message while try to install your great tool.
The Server is a centos 7.1 vps with apache 2.4 and php 5.4 default installation.

checking for PCRE support... yes
configure: error: Could not find pcre.h in /opt/ntphp/pcre
COMPILE ERROR FOR 52
Exiting Installation
/bin/cp: cannot stat â/usr/local/apache/conf/includes/pre_main_global.conf.ntphp .bakâ: No such file or directory
â/opt/suphp/etc/suphp.conf.ntphp.bakâ -> â/opt/suphp/etc/suphp.confâ
Please open a new thread at http://nixtree.com/forum/ if you meet with any issues



steve
Site Admin
Posts: 4
Joined: Tue Mar 10, 2015 12:41 am
Contact:

Re: COMPILE ERROR FOR 52

Post by steve »

Hello,

This seems to a server specific issue. As a temperory fix, Can you please check the directory "/opt/ntphp/pcre" is exists on the server ? If not, download the tar file from the following link and extract it into the location "/opt/ntphp/pcre" and give a try.

http://downloads.sourceforge.net/projec ... .20.tar.gz

Steve N
Support Staff
Nixtree Solutions
https://www.nixtree.com



info@bomm.ch
Posts: 0
Joined: Sun Jun 07, 2015 9:54 pm

Re: COMPILE ERROR FOR 52

Post by info@bomm.ch »

Hi Steve

I do it manualy but after run the script the error happens again and the manual created folder is missing....



Edward
Posts: 24
Joined: Mon May 04, 2015 10:16 am

Re: COMPILE ERROR FOR 52

Post by Edward »

Are you getting the same error even after extracting the contents of the tar file ? Normally that should work and have worked for many server in past.

Can you try once more and the make sure the contents of the tar file is placed directly under /opt/ntphp/pcre and not under any sub folder under /opt/ntphp/pcre.

If you are facing issues, can you please let me know the ls -l result of the /opt/ntphp/pcre after unzipping the file

Edward N

Support Staff
Nixtree Solutions
https://www.nixtree.com



info@bomm.ch
Posts: 0
Joined: Sun Jun 07, 2015 9:54 pm

Re: COMPILE ERROR FOR 52

Post by info@bomm.ch »

This is what i get acctual

configure: error: GD build test failed. Please check the config.log for details.
COMPILE ERROR FOR 52
Exiting Installation
/bin/cp: cannot stat â/usr/local/apache/conf/includes/pre_main_global.conf.ntphp.bakâ: No such file or directory
â/opt/suphp/etc/suphp.conf.ntphp.bakâ -> â/opt/suphp/etc/suphp.confâ
Please open a new thread at http://nixtree.com/forum/ if you meet with any issues



info@bomm.ch
Posts: 0
Joined: Sun Jun 07, 2015 9:54 pm

Re: COMPILE ERROR FOR 52

Post by info@bomm.ch »

root@host08 [/opt/ntphp/pcre]# ls -l
total 3620
drwxr-xr-x. 6 1169 1169 4096 Oct 21 2011 ./
drwxr-xr-x. 3 root root 17 Jun 8 20:29 ../
-rwxr-xr-x. 1 1169 1169 6961 Oct 5 2009 132html*
-rw-r--r--. 1 1169 1169 338277 Oct 21 2011 aclocal.m4
-rw-r--r--. 1 1169 1169 851 Aug 23 2011 AUTHORS
-rw-r--r--. 1 1169 1169 217614 Oct 21 2011 ChangeLog
-rwxr-xr-x. 1 1169 1169 2941 Mar 8 2007 CleanTxt*
drwxr-xr-x. 2 1169 1169 101 Oct 21 2011 cmake/
-rw-r--r--. 1 1169 1169 24794 Oct 11 2011 CMakeLists.txt
-rw-r--r--. 1 1169 1169 1181 Sep 6 2011 config-cmake.h.in
-rwxr-xr-x. 1 1169 1169 44643 Oct 21 2011 config.guess*
-rw-r--r--. 1 1169 1169 12257 Oct 21 2011 config.h.generic
-rw-r--r--. 1 1169 1169 10865 Oct 21 2011 config.h.in
-rwxr-xr-x. 1 1169 1169 35165 Oct 21 2011 config.sub*
-rwxr-xr-x. 1 1169 1169 595700 Oct 21 2011 configure*
-rw-r--r--. 1 1169 1169 29717 Oct 21 2011 configure.ac
-rw-r--r--. 1 1169 1169 95 Mar 29 2007 COPYING
-rwxr-xr-x. 1 1169 1169 18615 Oct 21 2011 depcomp*
-rwxr-xr-x. 1 1169 1169 643 Mar 8 2007 Detrail*
-rw-r--r--. 1 1169 1169 6772 Jan 20 2008 dftables.c
drwxr-xr-x. 3 1169 1169 4096 Oct 21 2011 doc/
-rw-r--r--. 1 1169 1169 19827 Oct 3 2011 HACKING
-rw-r--r--. 1 1169 1169 15578 Oct 21 2011 INSTALL
-rwxr-xr-x. 1 1169 1169 13663 Oct 21 2011 install-sh*
-rw-r--r--. 1 1169 1169 288 Sep 1 2009 libpcrecpp.pc.in
-rw-r--r--. 1 1169 1169 297 Sep 1 2009 libpcre.pc.in
-rw-r--r--. 1 1169 1169 330 Sep 1 2009 libpcreposix.pc.in
-rw-r--r--. 1 1169 1169 3099 Aug 23 2011 LICENCE
-rwxr-xr-x. 1 1169 1169 282745 Oct 21 2011 ltmain.sh*
-rw-r--r--. 1 1169 1169 11928 Sep 19 2011 Makefile.am
-rw-r--r--. 1 1169 1169 61672 Oct 21 2011 Makefile.in
-rw-r--r--. 1 1169 1169 2229 Aug 27 2008 makevp.bat
-rw-r--r--. 1 1169 1169 318 Sep 5 2008 makevp_c.txt
-rw-r--r--. 1 1169 1169 561 Sep 5 2008 makevp_l.txt
-rwxr-xr-x. 1 1169 1169 11419 Oct 21 2011 missing*
-rw-r--r--. 1 1169 1169 20563 Oct 21 2011 NEWS
-rw-r--r--. 1 1169 1169 23013 Oct 9 2011 NON-UNIX-USE
-rw-r--r--. 1 1169 1169 7851 Jun 14 2010 pcre_chartables.c.dist
-rw-r--r--. 1 1169 1169 244116 Oct 11 2011 pcre_compile.c
-rw-r--r--. 1 1169 1169 3806 Aug 19 2011 pcre_config.c
-rw-r--r--. 1 1169 1169 1568 Mar 2 2010 pcre-config.in
-rw-r--r--. 1 1169 1169 6865 Nov 12 2007 pcrecpparg.h.in
-rw-r--r--. 1 1169 1169 32570 Jul 20 2011 pcrecpp.cc
-rw-r--r--. 1 1169 1169 26529 Jan 2 2010 pcrecpp.h
-rw-r--r--. 1 1169 1169 2871 Aug 24 2008 pcrecpp_internal.h
-rw-r--r--. 1 1169 1169 39205 Aug 21 2011 pcrecpp_unittest.cc
-rw-r--r--. 1 1169 1169 15520 Nov 24 2010 pcredemo.c
-rw-r--r--. 1 1169 1169 119553 Oct 11 2011 pcre_dfa_exec.c
-rw-r--r--. 1 1169 1169 201263 Oct 11 2011 pcre_exec.c
-rw-r--r--. 1 1169 1169 5772 Sep 11 2011 pcre_fullinfo.c
-rw-r--r--. 1 1169 1169 15560 Jul 9 2008 pcre_get.c
-rw-r--r--. 1 1169 1169 26071 Mar 2 2010 pcregexp.pas
-rw-r--r--. 1 1169 1169 3704 Mar 10 2010 pcre_globals.c
-rw-r--r--. 1 1169 1169 79910 Oct 5 2011 pcregrep.c
-rw-r--r--. 1 1169 1169 16050 Oct 21 2011 pcre.h.generic
-rw-r--r--. 1 1169 1169 16089 Aug 27 2011 pcre.h.in
-rw-r--r--. 1 1169 1169 3917 Mar 15 2009 pcre_info.c
-rw-r--r--. 1 1169 1169 84133 Oct 11 2011 pcre_internal.h
-rw-r--r--. 1 1169 1169 194815 Oct 18 2011 pcre_jit_compile.c
-rw-r--r--. 1 1169 1169 32241 Oct 18 2011 pcre_jit_test.c
-rw-r--r--. 1 1169 1169 5518 Jan 20 2008 pcre_maketables.c
-rw-r--r--. 1 1169 1169 5740 Mar 28 2009 pcre_newline.c
-rw-r--r--. 1 1169 1169 3200 Aug 25 2008 pcre_ord2utf8.c
-rw-r--r--. 1 1169 1169 15143 Aug 2 2011 pcreposix.c
-rw-r--r--. 1 1169 1169 5452 May 16 2010 pcreposix.h
-rw-r--r--. 1 1169 1169 17329 Oct 11 2011 pcre_printint.src
-rw-r--r--. 1 1169 1169 3384 Jul 9 2008 pcre_refcount.c
-rw-r--r--. 1 1169 1169 5546 Jun 1 2010 pcre_scanner.cc
-rw-r--r--. 1 1169 1169 6600 Jan 21 2008 pcre_scanner.h
-rw-r--r--. 1 1169 1169 5266 May 1 2011 pcre_scanner_unittest.cc
-rw-r--r--. 1 1169 1169 1858 Sep 11 2007 pcre_stringpiece.cc
-rw-r--r--. 1 1169 1169 6302 Nov 26 2010 pcre_stringpiece.h.in
-rw-r--r--. 1 1169 1169 3577 Nov 26 2010 pcre_stringpiece_unittest.cc
-rw-r--r--. 1 1169 1169 38831 Oct 10 2011 pcre_study.c
-rw-r--r--. 1 1169 1169 21569 Oct 18 2011 pcre_tables.c
-rw-r--r--. 1 1169 1169 93856 Oct 21 2011 pcretest.c
-rw-r--r--. 1 1169 1169 5559 Oct 5 2009 pcre_try_flipped.c
-rw-r--r--. 1 1169 1169 165266 Apr 30 2011 pcre_ucd.c
-rw-r--r--. 1 1169 1169 9961 Aug 2 2011 pcre_valid_utf8.c
-rw-r--r--. 1 1169 1169 3973 Aug 24 2011 pcre_version.c
-rw-r--r--. 1 1169 1169 5566 Jun 3 2010 pcre_xclass.c
-rwxr-xr-x. 1 1169 1169 5769 Aug 2 2011 perltest.pl*
-rwxr-xr-x. 1 1169 1169 7201 Sep 25 2011 PrepareRelease*
-rw-r--r--. 1 1169 1169 38308 Sep 11 2011 README
-rwxr-xr-x. 1 1169 1169 20984 Oct 11 2011 RunGrepTest*
-rwxr-xr-x. 1 1169 1169 15670 Sep 26 2011 RunTest*
-rw-r--r--. 1 1169 1169 11010 Oct 6 2011 RunTest.bat
drwxr-xr-x. 2 1169 1169 4096 Oct 21 2011 sljit/
drwxr-xr-x. 2 1169 1169 4096 Oct 21 2011 testdata/
-rw-r--r--. 1 1169 1169 3460 Aug 2 2011 ucp.h



steve
Site Admin
Posts: 4
Joined: Tue Mar 10, 2015 12:41 am
Contact:

Re: COMPILE ERROR FOR 52

Post by steve »

Hello,

PHP 5.2 cannot be installed on CentOS 7 system due to library conflict. Additionally the plugin is not yet CentOS 7 compatible. New release with CentOS 7 will drop support for PHP 5.2 and we will add 5.6 on it.


-
Steve N
Support Staff
Nixtree Solutions LLP
cPanel Server management | Managed Backup Solutions | Outsourced Web Hosting support

sanju9890
Posts: 0
Joined: Fri Jul 17, 2015 5:46 pm

Re: COMPILE ERROR FOR 52

Post by sanju9890 »

When new version going to release for centos 7.1
Most of data center now added as centos 7.1 as default os while choosing centos.



Anthony
Posts: 1
Joined: Fri May 01, 2015 3:26 pm

Re: COMPILE ERROR FOR 52

Post by Anthony »

cPanel is building EasyApache 4 with great features and they turned PHPs into RPMs. We are analyzing their changes now. Meanwhile we will try to push changes to the script and disable PHP 5.2 for CentOS 7 for a successful installation.



Anthony
Posts: 1
Joined: Fri May 01, 2015 3:26 pm

Re: COMPILE ERROR FOR 52

Post by Anthony »

Just to update, new version of ntPHPSelector has been released with CentOS/RHEL 7 support. Please note that with new version ( 2.6.1 ), we removed PHP 5.2 support from the plugin for CentOS/RHEL 7.



Locked