Bonjour à tous,

Je cherche un peu d'aide car j'ai des ennuis de compilation sous Scientific linux 6.0 (distrib à base de RHEL).
Pour des collègues scientifique je dois installer 2 versions de R sur le serveur de calcul dont je m'occupe, malheureusement après avoir bataillé sur le ./configure, j'ai des problèmes au moment du make.

la conf :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
#./configure --with-x=no --prefix=/opt/Apps/R-2.2.1/ --enable-R-shlib
résultat :

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
30
config.status: creating tests/Examples/Makefile
config.status: creating tests/Native/Makefile
config.status: creating tools/Makefile
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing stamp-h commands
 
R is now configured for x86_64-unknown-linux-gnu
 
  Source directory:          .
  Installation directory:    /opt/Apps/R-2.2.1/
 
  C compiler:                gcc  -g -O2
  C++ compiler:              g++  -g -O2
  Fortran compiler:          g77  -g -O2
 
  Interfaces supported:
  External libraries:        readline
  Additional capabilities:   iconv, MBCS, NLS
  Options enabled:           shared library, R profiling
 
  Recommended packages:      yes
 
configure: WARNING: you cannot build DVI versions of all the help pages
configure: WARNING: you cannot build info or html versions of the R manuals
configure: WARNING: you cannot build PDF versions of all the help pages
[root@calcul R-2.2.1]#
Mise a part le "x86_64-unknown-linux-gnu" qui me semble étrange, je n'ai pas de problème particulier.
Je lance donc le "make" ...

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
make[3]: Entering directory `/opt/R-2.2.1/src/main'
gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre  -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H  -fPIC  -g -O2 -c datetime.c -o datetime.lo
In file included from datetime.c:95:
Rstrptime.h:201: error: conflicting types for âwcsncasecmpâ
/usr/include/wchar.h:172: note: previous declaration of âwcsncasecmpâ was here
make[3]: *** [datetime.lo] Error 1
make[3]: Leaving directory `/opt/R-2.2.1/src/main'
make[2]: *** [R] Error 2
make[2]: Leaving directory `/opt/R-2.2.1/src/main'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/opt/R-2.2.1/src'
make: *** [R] Error 1
[root@calcul R-2.2.1]#
Et PAN ! ça fait mal ... et je suis un peu à cour d'idées ...

Si quelqu'un aurait une petite piste.

D'avance merci.