help with php

Carlos Andrés Loaiza Osorio calo.hk at gmail.com
Tue Dec 2 22:15:46 CET 2014


Good day again

i´m running and install gcc dependencies, and then try to install again,
and give me :


/opt/csw/bin/sparc-sun-solaris2.10-c++-4.9 <linked pathname>

Registering 'gcc_gplusplus' alternative /opt/csw/bin/g++-4.9 ...

[ verifying class <cswalternatives> ]



Installation of <CSWgcc4g++> was successful.

bash-3.2#



bash-3.2# ./pecl install oci8

downloading oci8-2.0.8.tgz ...

Starting to download oci8-2.0.8.tgz (190,854 bytes)

.........................................done: 190,854 bytes

11 source files, building

WARNING: php_bin /opt/csw/php5/bin/php appears to have a suffix 5/bin/php,
but config variable php_suffix does not match

running: phpize

Configuring for:

PHP Api Version:         20090626

Zend Module Api No:      20090626

Zend Extension Api No:   220090626

configure.in:3: warning: prefer named diversions

configure.in:3: warning: prefer named diversions

Please provide the path to the ORACLE_HOME directory. Use
'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle
Instant Client [autodetect] : /oracle/app/oracle/product/11.2.0/dbhome_1

building in /tmp/pear/temp/pear-build-defaultuserV9aO.Z/oci8-2.0.8

running: /tmp/pear/temp/oci8/configure
--with-oci8=/oracle/app/oracle/product/11.2.0/dbhome_1

checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

checking for egrep... /usr/xpg4/bin/grep -E

checking for a sed that does not truncate output... /usr/bin/sed

checking for cc... no

checking for gcc... no

configure: error: in
`/tmp/pear/temp/pear-build-defaultuserV9aO.Z/oci8-2.0.8':

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details

ERROR: `/tmp/pear/temp/oci8/configure
--with-oci8=/oracle/app/oracle/product/11.2.0/dbhome_1' failed

bash-3.2#

On Tue, Dec 2, 2014 at 2:28 PM, Maciej (Matchek) Bliziński <
maciej at opencsw.org> wrote:

> Carlos Andrés Loaiza Osorio <calo.hk at gmail.com> escreveu no dia Tue Dec
> 02 2014 at 7:20:53 PM:
>
>> checking for cc... no
>>
>> checking for gcc... no
>>
>> configure: error: in
>> `/tmp/pear/temp/pear-build-defaultuserBGa49p/oci8-2.0.8':
>>
>> configure: error: no acceptable C compiler found in $PATH
>>
>>
> If it's looking for a compiler and this checks for the "gcc" binary, maybe
> try installing CSWgcc4core? (and maybe also CSWgcc4g++ if it needs the C++
> compiler, it's likely)
>
> Maciej
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20141202/6a81f33b/attachment.html>


More information about the users mailing list