ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] [ALM24] php & oracle instant client
@ 2005-09-12  6:08 Evgeny Yugov
  2005-09-12 16:41 ` Volkov Serge
  0 siblings, 1 reply; 2+ messages in thread
From: Evgeny Yugov @ 2005-09-12  6:08 UTC (permalink / raw)
  To: community

Здравствуйте, community.

Пробую собрать модуль php_oci8:
[john@bug0 john]$ rpm -q php
php-4.3.9-alt0.cvs20040802

[john@bug0 john]$ rpm -qa | grep oracle
oracle-preinstall-0.3-alt1
oracle9-tuning-0.3-alt1
oracle-instantclient-basic-10.1.0.4-1
oracle-instantclient-devel-10.1.0.4-1

В системе стоит установленный клиент от oracle 9i, хочу собрать с OIC
валится на ./configure:
...
checking for re2c... exit 0;
checking for gawk... gawk
checking for Oracle (OCI8) support using ORACLE_HOME installation... yes, shared
checking for Oracle (OCI8) support using Oracle Instant Client... yes, shared
configure: error: --with-oci8 and --with-oci8-instant-client are mutually exclusive

Не могу понять откуда он находит "Oracle (OCI8) support using
ORACLE_HOME installation", потому как:
[john@bug0 php-oci8-4.3.9]$ set | grep ORA
[john@bug0 php-oci8-4.3.9]$
...
[john@bug0 php-oci8-4.3.9]$ echo $LD_LIBRARY_PATH
[john@bug0 php-oci8-4.3.9]$
...

Как разрулить эту ситуацию?

-- 
With Best regards,
Evgeny Yugov,
MTS, programmer of Advanced Technologies Departament.
Registered Linux User #316667
mailto:yugov@scs-900.ru



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] [ALM24] php & oracle instant client
  2005-09-12  6:08 [Comm] [ALM24] php & oracle instant client Evgeny Yugov
@ 2005-09-12 16:41 ` Volkov Serge
  0 siblings, 0 replies; 2+ messages in thread
From: Volkov Serge @ 2005-09-12 16:41 UTC (permalink / raw)
  To: Evgeny Yugov, ALT Linux Community

Добрый день

Данная ситуация происходит скорее всего из-за того, что в php есть два 
варианта сборки с Oracle

посмотрите внимательно на ./configure --help | grep -i oracle
и выберите соответственно, тот ключ, который Вам нужен будет


Evgeny Yugov пишет:
> Здравствуйте, community.
> 
> Пробую собрать модуль php_oci8:
> [john@bug0 john]$ rpm -q php
> php-4.3.9-alt0.cvs20040802
> 
> [john@bug0 john]$ rpm -qa | grep oracle
> oracle-preinstall-0.3-alt1
> oracle9-tuning-0.3-alt1
> oracle-instantclient-basic-10.1.0.4-1
> oracle-instantclient-devel-10.1.0.4-1
> 
> В системе стоит установленный клиент от oracle 9i, хочу собрать с OIC
> валится на ./configure:
> ...
> checking for re2c... exit 0;
> checking for gawk... gawk
> checking for Oracle (OCI8) support using ORACLE_HOME installation... yes, shared
> checking for Oracle (OCI8) support using Oracle Instant Client... yes, shared
> configure: error: --with-oci8 and --with-oci8-instant-client are mutually exclusive
> 
> Не могу понять откуда он находит "Oracle (OCI8) support using
> ORACLE_HOME installation", потому как:
> [john@bug0 php-oci8-4.3.9]$ set | grep ORA
> [john@bug0 php-oci8-4.3.9]$
> ...
> [john@bug0 php-oci8-4.3.9]$ echo $LD_LIBRARY_PATH
> [john@bug0 php-oci8-4.3.9]$
> ...
> 
> Как разрулить эту ситуацию?
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-12 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-12  6:08 [Comm] [ALM24] php & oracle instant client Evgeny Yugov
2005-09-12 16:41 ` Volkov Serge

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git