Bonjour,
j'essaye de compiler sans succès OCILIB
Je travaille sur une Fedora Core 4 (mais j'ai exactement le même soucis sous une Centos 4) .
Le configure passe mais quand je lance le make c'est le drame :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
 
[oracle@fr-31-01-06-820 ocilib-3.4.0]$ make
make  all-recursive
make[1]: Entering directory `/home/oracle/ocilib-3.4.0'
Making all in doc/html
make[2]: Entering directory `/home/oracle/ocilib-3.4.0/doc/html'
make[2]: Rien Ã* faire pour « all ».
make[2]: Leaving directory `/home/oracle/ocilib-3.4.0/doc/html'
Making all in src
make[2]: Entering directory `/home/oracle/ocilib-3.4.0/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/oracle/920/rdbms/public -I../include   -DOCI_IMPORT_LINKAGE -DOCI_CHARSET_ANSI   -g -O2 -MT libocilib_la-bind.lo -MD -MP -MF .deps/libocilib_la-bind.Tpo -c -o libocilib_la-bind.lo `test -f 'bind.c' || echo './'`bind.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/oracle/920/rdbms/public -I../include -DOCI_IMPORT_LINKAGE -DOCI_CHARSET_ANSI -g -O2 -MT libocilib_la-bind.lo -MD -MP -MF .deps/libocilib_la-bind.Tpo -c bind.c  -fPIC -DPIC -o .libs/libocilib_la-bind.o
In file included from ocilib_defs.h:39,
                 from ocilib_types.h:39,
                 from ocilib_internal.h:38,
                 from bind.c:35:
oci_import.h:49:17: error: oci.h: No such file or directory
oci_import.h:50:18: error: orid.h: No such file or directory
oci_import.h:51:20: error: oci8dp.h: No such file or directory
In file included from ocilib_internal.h:38,
                 from bind.c:35:
ocilib_types.h:81: error: syntax error before 'ub4'
ocilib_types.h:81: warning: no semicolon at end of struct or union
ocilib_types.h:83: error: syntax error before '}' token
ocilib_types.h:94: error: syntax error before 'ub1'
 
(... ca continue pendant 3 pages..)
Une piste? il me manque un prérequis?

Merci d'avance