Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/01/2007, à 15:27

luckytoyn

installation scilab rate sous ubuntu 6.10 [résolu]

Bonjour tout le monde,

après pas mal de recherches pour résoudre mon problème, je me tourne finalement
vers le forum.

Simple : je n'arrive pas à installer scilab 4.1 sous ubuntu 6.10.
j'ai activé tous les dépots commentés dans mon source.list mais ni apt ni aptitude ne
connaissent scilab. J'ai donc téléchargé la bête sur le site officiel de scilab (version source)


voici ce qu'il se passe quand je fais un ./configure dans le dossier dézippé

arozel@lst-rozel:/opt/scilab-4.1$ sudo ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configuration of libtool
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
end of configuration of libtool
checking for main in -lieee... yes
checking for g77... yes
checking for X... no
configure: error: X Window not found

j'ai vu que beaucoup de gens avaient des problèmes à l'installation de scilab mais jamais celui ci
apparemment.

sinon, un apt-cache search X\ Window renvoie une liste collossale (ce qui est logique).
J'ai bien sur X11 et mon interface graphique fonctionne très bien.


merci

Dernière modification par luckytoyn (Le 06/02/2007, à 09:36)


http://perso.ens-lyon.fr/antoine.rozel/

Hors ligne

#2 Le 24/01/2007, à 15:54

jobherzt

Re : installation scilab rate sous ubuntu 6.10 [résolu]

il te manque probablment le paquet de developpement de X window.

essaie :

sudo apt-get install libx11-dev xlibs-dev

Hors ligne

#3 Le 24/01/2007, à 16:22

luckytoyn

Re : installation scilab rate sous ubuntu 6.10 [résolu]

Merveilleux, merci bien


Ce genre de messages se multipliants, j'ai installé les packages suivants :

tcl8.4
tcl8.4-dev
tk8.4
tk8.4-dev
ocaml-native-compilers


Mais il y a encore quelques warnings :

arozel@lst-rozel:/opt/scilab-4.1$ sudo ./configure | grep warning

cat: /etc/ld.so.conf.d/*.conf: No such file or directory
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
configure: WARNING: javac not found: I will not build the java interface
config.status: WARNING:  config/configuration.in seems to ignore the --datarootdir setting

pour javac, j'ai essayé d'installer javacc (cf. liste ci dessous)
mais ça n'a rien donné...

arozel@lst-rozel:~$ sudo apt-cache search javac

epiphany-extensions - Extensions for Epiphany web browser
javacc - A parser generator for use with Java
jikes-sablevm - Wrapper for jikes using classes from SableVM JVM
jmk - A cross-platform make tool written in Java
libmcardplugin - MuscleCard Applet PlugIn
libmusclepkcs11 - PKCS#11 support using the MuscleCard framework
mmake - Makefile generator for Java programs

Une autre idée avant de faire le "make all" ?

merci en tout cas

Dernière modification par luckytoyn (Le 24/01/2007, à 16:24)


http://perso.ens-lyon.fr/antoine.rozel/

Hors ligne

#4 Le 24/01/2007, à 17:56

l'autre_

Re : installation scilab rate sous ubuntu 6.10 [résolu]

si je ne m'abuse, javac est dans le jdk sun. J'avais au le même problème en compilant scilab4

#5 Le 25/01/2007, à 15:06

luckytoyn

Re : installation scilab rate sous ubuntu 6.10 [résolu]

ok merci,

j'ai installé le package :
sun-java5-jdk
depuis un dépot multiverse.

la compilation se termine mais le programme ne se lance pas quand je tape "scilab"

et j'ai toujours les messages de warning au ./configure :

arozel@lst-rozel:/opt/scilab-4.1$ sudo ./configure | grep error
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
checking for strerror... yes
config.status: WARNING:  config/configuration.in seems to ignore the --datarootdir setting

Tout à pourtant l'air d'avoir été installé...
J'ai tout installé dans le /opt
même dans le répertoire principal, il ne se passe rien.
je ne trouve rien sur le net...

J'ai manqué un épisode?


http://perso.ens-lyon.fr/antoine.rozel/

Hors ligne

#6 Le 25/01/2007, à 15:41

luckytoyn

Re : installation scilab rate sous ubuntu 6.10 [résolu]

oui.

après avoir activé les dépots multiverse... scilab est directement disponible par apt...
youpi...

Pour mon bonheur, j'ai quand même un message d'erreur

arozel@lst-rozel:~$ Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset

Mais scilab se lance quand même.

Merci à tous


http://perso.ens-lyon.fr/antoine.rozel/

Hors ligne

#7 Le 28/01/2007, à 18:37

Benoit Bayol

Re : installation scilab rate sous ubuntu 6.10 [résolu]

Les erreurs sont "nomales" tongue pour ce qui est de java si tu n'en as pas l'utilité il suffisait de faire un :
./configure --without-java avant le make