Page 1 of 1

ntphpselector installation error

Posted: Fri Feb 19, 2016 1:11 pm
by danielchau
HI support

We are facing the following problem when installing ntphpselecot
Would you please kindly help?

Thanks

Daniel


php-5.2.17/buildconf.bat
php-5.2.17/stub.c
--2016-02-19 01:36:22--
https://www.nixtree.com/download/free/n ... tch.tar.gz
Resolving www.nixtree.com... 198.235.134.108
Connecting to www.nixtree.com|198.235.134.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60544 (59K) [application/x-gzip]
Saving to: `2_17.pm.patch.tar.gz'

100%[=====================================================================>]
60,544 153K/s in 0.4s

2016-02-19 01:36:23 (153 KB/s) - `2_17.pm.patch.tar.gz' saved [60544/60544]

php5-concurrent.patch
php5-binary-rename.patch
php5-use_embedded_timezonedb.patch
php5-png_check_sig.patch
php5-CVE-2011-4885.patch
php5-libxml.patch
php5-freebsd-ldflags.patch
php5-ming-0.4.2.patch
php5-iconv-ldflags.patch
php5-conftest-tmpnam.patch
php5-fixed-lib64.patch
php5-mail-header.patch
php5-CVE-2012-0830.patch
patching file main/main.c
Hunk #1 succeeded at 436 (offset 1 line).
patching file main/php_globals.h
Hunk #1 succeeded at 160 with fuzz 2.
patching file main/php_variables.c
patching file main/php_variables.c
patching file configure
patching file configure
patching file configure
patching file acinclude.m4
patching file aclocal.m4
patching file configure
Hunk #388 FAILED at 109428.
1 out of 396 hunks FAILED -- saving rejects to file configure.rej
patching file configure.in
patching file configure
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -44 lines).
patching file ext/standard/mail.c
patching file ext/ming/ming.c
patching file ext/ming/php_ming.h
patching file ext/gd/libgd/gd_png.c
patching file ext/date/lib/parse_tz.c
Hunk #3 succeeded at 228 (offset 6 lines).
Hunk #4 succeeded at 695 (offset 6 lines).
Hunk #5 succeeded at 817 (offset 6 lines).
configure: warning: CFLAGS=: invalid host type
configure: error: --param: invalid option; use --help to show usage
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

Re: ntphpselector installation error

Posted: Fri Feb 19, 2016 1:30 pm
by danielchau
default php version is 5.6, is this causing the problem?

Re: ntphpselector installation error

Posted: Wed Mar 16, 2016 12:23 pm
by steve
Hello,

Did you tried the following script ? Hope your OS version is Centos 6.

https://nixtree.com/blog/ntphpselector- ... -0-0-beta/

Please try this and let me know if the issue still persists.

Re: ntphpselector installation error

Posted: Fri Mar 18, 2016 12:54 pm
by danielchau
HI Steve

I just found your replly , i tried, the new script can detect my php 5.6 installation, however same error occured

Resolving www.nixtree.com... 198.235.134.108
Connecting to www.nixtree.com|198.235.134.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60544 (59K) [application/x-gzip]
Saving to: `2_17.pm.patch.tar.gz'

100%[=====================================================================>] 60,544 131K/s in 0.5s

2016-03-18 15:20:40 (131 KB/s) - `2_17.pm.patch.tar.gz' saved [60544/60544]

php5-concurrent.patch
php5-binary-rename.patch
php5-use_embedded_timezonedb.patch
php5-png_check_sig.patch
php5-CVE-2011-4885.patch
php5-libxml.patch
php5-freebsd-ldflags.patch
php5-ming-0.4.2.patch
php5-iconv-ldflags.patch
php5-conftest-tmpnam.patch
php5-fixed-lib64.patch
php5-mail-header.patch
php5-CVE-2012-0830.patch
patching file main/main.c
Hunk #1 succeeded at 436 (offset 1 line).
patching file main/php_globals.h
Hunk #1 succeeded at 160 with fuzz 2.
patching file main/php_variables.c
patching file main/php_variables.c
patching file configure
patching file configure
patching file configure
patching file acinclude.m4
patching file aclocal.m4
patching file configure
Hunk #388 FAILED at 109428.
1 out of 396 hunks FAILED -- saving rejects to file configure.rej
patching file configure.in
patching file configure
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -44 lines).
patching file ext/standard/mail.c
patching file ext/ming/ming.c
patching file ext/ming/php_ming.h
patching file ext/gd/libgd/gd_png.c
patching file ext/date/lib/parse_tz.c
Hunk #3 succeeded at 228 (offset 6 lines).
Hunk #4 succeeded at 695 (offset 6 lines).
Hunk #5 succeeded at 817 (offset 6 lines).
configure: warning: CFLAGS=: invalid host type
configure: error: --param: invalid option; use --help to show usage
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

The OS is Centos 6.7
Thanks

Re: ntphpselector installation error

Posted: Mon Mar 21, 2016 9:46 am
by steve
Hello,

Normally 5.2 will work fine with normal list of modules in our test environment. Since this is an isolated issue, please contact our support for assistance.