Bug #77206 [Fbk]: my_global.h: No such file or directory
| From: | cmb@php.net | Date: | Wed, 28 Nov 2018 11:52:55 +0000 |
| Subject: | Bug #77206 [Fbk]: my_global.h: No such file or directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-218174@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77206&edit=1
ID: 77206
Updated by: cmb@php.net
Reported by: jackie dot luo at kpmg dot com
Summary: my_global.h: No such file or directory
Status: Feedback
Type: Bug
-Package: *General Issues
+Package: Compile Failure
Operating System: CentOS Linux release 7.5.1804 (C
PHP Version: 7.2.12
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The point is not whether make fails, but rather whether
./configure shows a warning (it should).
Previous Comments:
------------------------------------------------------------------------
[2018-11-28 01:33:09] jackie dot luo at kpmg dot com
Hi
Thanks for the response.
Actually I passed the compilation process by inputting ./configure only.
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/php/man/man1/
Installing PHP CGI binary: /usr/local/bin/
Installing PHP CGI man page: /usr/local/php/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - installed: 1.4.3
[PEAR] Console_Getopt - installed: 1.4.1
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util - installed: 1.4.2
[PEAR] PEAR - installed: 1.10.5
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
/usr/local/php-5.6.38/build/shtool install -c ext/phar/phar.phar /usr/local/bin
ln -s -f phar.phar /usr/local/bin/phar
Installing PDO headers: /usr/local/include/php/ext/pdo/
As you know I failed with error saying missing development files if I compile with some of
parameters:
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-mbstring
--enable-ftp --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-pdo-mysql=/usr/local/mysql --with-pear
--enable-sockets --with-freetype-dir=/usr --with-zlib --with-libxml-dir=/usr --with-xmlrpc
--enable-zip --enable-fpm --enable-xml --enable-sockets --with-gd --with-zlib --with-iconv
--enable-zip --with-freetype-dir=/usr/lib/ --enable-soap --enable-pcntl --enable-cli --with-curl
I completely agree with your comment, maybe I can directly install the default mysql rpm using yum
install instead of installing the mysql.tar.gz file.
anyway, thanks for your advice.
besides, I did not receive any warnings about missing development file if I only input ./configure
command.
regards,
------------------------------------------------------------------------
[2018-11-27 13:07:49] cmb@php.net
Doesn't ./configure report a warning regarding missing development files?
------------------------------------------------------------------------
[2018-11-27 09:05:15] spam2 at rhsoft dot net
this is not a support forum!
yum install mariadb-devel
Google mysqlnd
./configure --help
frankly when you unpack binary tarballs and wonder why the needed headers and libs not found you are
far away from report bugs about compilation
why don't you just start with the contents of the centos ot Fedora src.rpm at least it's
build requires and configure
------------------------------------------------------------------------
[2018-11-27 07:54:57] jackie dot luo at kpmg dot com
Hi spam2 at rhsoft dot net,
Thanks for your response.
May I know how to install the mysql devel packages?
actually I did not use the yum install mysql option, I directly download the mysql.tar.gz file and
use the ./mysqld --initialize installation, which is not source code installation as well.
furthermore, build with mysqlnd, libmysql is not needed for php over the last decade. May I know if
you are meaning I can directly use the embedded mysqlnd?
------------------------------------------------------------------------
[2018-11-27 07:46:38] spam2 at rhsoft dot net
do you really have the mysql DEVEL packages installed?
anyways, build with mysqlnd, libmysql is not needed for php over the last decade
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=77206
--
Edit this bug report at https://bugs.php.net/bug.php?id=77206&edit=1