• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

PHP mit Oracle zum laufen bringen

abalorio

Member
Hi Leute,
ich habe folgendes Problem. Ich muss auf einem 1und1-Linux-Linux-Root Server PHP mit Oracle zum laufen bringen. Bisher habe ich Oracle 10.2 zum laufen gebracht (ps aux sagt: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LIS).

Nun habe ich PHP komplett runter gehauten und wollte "php-5.1.4" installieren. Folgendes ist passiert:

Code:
./configure --with-oci8=/usr/share/psa-horde/pear/DB && make

gibt das zurück:


Code:
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... //bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none).
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for flex version... 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... -pthread
checking for pthreads_lib... 
...
Configuring extensions
...
checking checking if we're at 64-bit platform... yes
checking OCI8 libraries dir... lib32
checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found
...

Nun weiß ich echt nicht mehr weiter, hat jemand von euch es schon geschaft PHP mit Oracle zu füttern?

Danke für jede Hilfe!!!!!!





P.S.: In der Zwischenzeit bin ich schon etwas weiter. Nun bekomme ich folgende Meldung:


Code:
handler/apache_config.lo sapi/apache2handler/php_functions.lo main/internal_functions.lo -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm  -o libphp5.la
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lirc
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
 
Oben