Edit report at http://bugs.php.net/bug.php?id=51625&edit=1

 ID:               51625
 Updated by:       s...@php.net
 Reported by:      Eduards dot Samersovs at inbox dot lv
 Summary:          php: threads.c:321: krb5int_key_register: Assertion
                   `keynum >= 0 && keynum < K5
 Status:           Open
 Type:             Bug
 Package:          OCI8 related
 Operating System: Ubuntu 9.10
 PHP Version:      5.3.2
-Assigned To:      
+Assigned To:      sixd

 New Comment:

I haven't been able to set up an enviroment to test your options.  One

thought is to build PHP without OCI8 & PDO_OCI, and then install them

later as shared extensions.



There are a couple of potential inconsistencies in the bug report.

Why install Instant Client if the DB libraries are available and used

by the configure options?  Were you using RPMs on Ubuntu, or the ZIP

files?  Some of the configuration options mentioned don't exist in PHP

5.3.  The syntax for --with-pdo-oci is missing the version number.


Previous Comments:
------------------------------------------------------------------------
[2010-04-21 15:14:42] Eduards dot Samersovs at inbox dot lv

Description:
------------
Installed last Oracle 11gR2 database + 

oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm

oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpm

I try also previous version of oracle-instantclient from 10gR2 - the
result was ne same. 

Without "--with-oci8=/home/oracle/product/11.2.0/db_home1
--with-pdo-oci=/home/oracle/product/11.2.0/db_home1" options compilation
is successfull!

Compiling using "root" user with full access.



./configure \

    --with-apxs2=$PREFIX/bin/apxs \

    --with-openssl \

    --with-bz2 \

    --with-zlib=/usr/local/zlib \

    --enable-sigchild \

    --without-sqlite \

    --without-pdo-sqlite \

    --with-xml --with-dom \

    --with-gettext \

    --with-iconv \

    --enable-mbstring=all \

    --enable-mbregex \

    --with-ftp \

    --with-mysql \

    --with-mcrypt=/usr \

    --with-gd --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib \

    --with-imap=/usr --with-kerberos=/usr --with-imap-ssl \

    --with-oci8=/home/oracle/product/11.2.0/db_home1 \

    --with-pdo-oci=/home/oracle/product/11.2.0/db_home1



Error:

php: threads.c:321: krb5int_key_register: Assertion `keynum >= 0 &&
keynum < K5_KEY_MAX' failed.

Actual result:
--------------
Generating phar.php

php: threads.c:321: krb5int_key_register: Assertion `keynum >= 0 &&
keynum < K5_KEY_MAX' failed.

/bin/sh: line 1: 26736 Aborted                 ` if test -x
"/home/www/www-config/resource/php-5.3.2/sapi/cli/php"; then
/home/www/www-config/resource/php-5.3.2/build/shtool echo -n --
"/home/www/www-config/resource/php-5.3.2/sapi/cli/php -n"; if test "x"
!= "x"; then /home/www/www-config/resource/php-5.3.2/build/shtool echo
-n -- " -d
extension_dir=/home/www/www-config/resource/php-5.3.2/modules"; for i in
bz2 zlib phar; do if test -f
"/home/www/www-config/resource/php-5.3.2/modules/$i.la"; then .
/home/www/www-config/resource/php-5.3.2/modules/$i.la;
/home/www/www-config/resource/php-5.3.2/build/shtool echo -n -- " -d
extension=$dlname"; fi; done; fi; else
/home/www/www-config/resource/php-5.3.2/build/shtool echo -n --
"/home/www/www-config/resource/php-5.3.2/sapi/cli/php"; fi;` -d
'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d
phar.readonly=0 -d 'safe_mode=0'
/home/www/www-config/resource/php-5.3.2/ext/phar/build_precommand.php >
ext/phar/phar.php

make: *** [ext/phar/phar.php] Error 134


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51625&edit=1

Reply via email to