Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Module Installers - ERROR: `make' failed

Discussion in 'General Discussion' started by Rafael Gomes, Mar 27, 2019.

  1. Rafael Gomes

    Rafael Gomes Registered

    Feb 7, 2017
    Likes Received:
    Trophy Points:
    Florianópolis, Brazil
    cPanel Access Level:
    Root Administrator
    Hello pals,

    I'm trying to install pdo_sqlsrv module in my server by using "Module Installers" options, but I'm facing some issues on it, here is the output from Module Installers:

    running: make
    /bin/sh /root/tmp/pear/pear-build-rootAc7ku3/pdo_sqlsrv-5.6.1/libtool --mode=compile g++ -I/opt/cpanel/ea-php71/root/usr/include/php/ext -std=c++11 -I. -I/root/tmp/pear/pdo_sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootAc7ku3/pdo_sqlsrv-5.6.1/include -I/root/tmp/pear/pear-build-rootAc7ku3/pdo_sqlsrv-5.6.1/main -I/root/tmp/pear/pdo_sqlsrv -I/opt/cpanel/ea-php71/root/usr/include/php -I/opt/cpanel/ea-php71/root/usr/include/php/main -I/opt/cpanel/ea-php71/root/usr/include/php/TSRM -I/opt/cpanel/ea-php71/root/usr/include/php/Zend -I/opt/cpanel/ea-php71/root/usr/include/php/ext -I/opt/cpanel/ea-php71/root/usr/include/php/ext/date/lib -I/root/tmp/pear/pdo_sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /root/tmp/pear/pdo_sqlsrv/pdo_dbh.cpp -o pdo_dbh.lo
    libtool: compile: g++ -I/opt/cpanel/ea-php71/root/usr/include/php/ext -std=c++11 -I. -I/root/tmp/pear/pdo_sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootAc7ku3/pdo_sqlsrv-5.6.1/include -I/root/tmp/pear/pear-build-rootAc7ku3/pdo_sqlsrv-5.6.1/main -I/root/tmp/pear/pdo_sqlsrv -I/opt/cpanel/ea-php71/root/usr/include/php -I/opt/cpanel/ea-php71/root/usr/include/php/main -I/opt/cpanel/ea-php71/root/usr/include/php/TSRM -I/opt/cpanel/ea-php71/root/usr/include/php/Zend -I/opt/cpanel/ea-php71/root/usr/include/php/ext -I/opt/cpanel/ea-php71/root/usr/include/php/ext/date/lib -I/root/tmp/pear/pdo_sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /root/tmp/pear/pdo_sqlsrv/pdo_dbh.cpp -fPIC -DPIC -o .libs/pdo_dbh.o
    In file included from /root/tmp/pear/pdo_sqlsrv/shared/typedefs_for_linux.h:23:0,
    from /root/tmp/pear/pdo_sqlsrv/shared/xplat_winnls.h:24,
    from /root/tmp/pear/pdo_sqlsrv/shared/FormattedPrint.h:24,
    from /root/tmp/pear/pdo_sqlsrv/shared/core_sqlsrv.h:41,
    from /root/tmp/pear/pdo_sqlsrv/php_pdo_sqlsrv_int.h:23,
    from /root/tmp/pear/pdo_sqlsrv/pdo_dbh.cpp:24:
    /root/tmp/pear/pdo_sqlsrv/shared/xplat.h:30:17: fatal error: sql.h: No such file or directory
    compilation terminated.
    make: *** [pdo_dbh.lo] Error 1
    ERROR: `make' failed

    Have any of you guys seen an error like this before? I'm using a CentOS Linux 7.6, and my GCC compiler version is 4.8.5.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @Rafael Gomes,

    Can you share some more information about what's leading you to install this particular module? The corresponding PECL module is only compatible with PHP running on Windows as noted in the module's documentation:

    The ODBC EA4 RPM is a potential alternative depending on the needs of the script. The following command will install this RPM (PHP 7.2 is the version in the example below):

    yum install ea-php72-php-odbc
    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice