Pages : 1
#1 Le 24/04/2009, à 11:44
- Mehdi_oca
[Résolu] Install de supermongo sur ubuntu 8.10
Bonjour,
mon laboratoire m'a gentiment offert supermongo (sont gentils hein ?). Le petit soucis est que je n'arrive pas à l'installer.
voilà la procédure :
faire un ./set_opts
I am going to ask you some questions to decide how to setup SM. If there's
something in [square brackets] at the end of a line, it's the default value;
to accept it just hit carriage return. If there are alternatives separated
by a |, the default value is the first one.It should be safe to hit ^C at any time if you want to start again.
What machine are you on? ("all" will give a list of possibilities).
Choose a machine: [linux]
You are on a linux using the
cc -Wall -Dlinux -DNEED_SWAP
compiler; is this OK? [y|n] y
What debugging/optimisation flags do you want? [-g]
What devices do you want to compile in? Your options are:
TK X11
Choose one at a time, carriage return on an empty line to finish
X11You have selected devices: X11; ok? [y|n]
We can help you configure things for which the defaults are usually OK
Do you want to do so? [n|y|list]
Do you want to build and install the callable parser, libparser.a? [n]
Top level path to install things? [/usr/local]
The commands make install (and make installinfo) will install files as follows:
binaries /usr/local/bin
linkable libraries /usr/local/lib
SM files (e.g. graphcap) /usr/local/lib/sm
info files /usr/local/info
manual pages /usr/local/man/man1
is this ok? [y|n]
Do you want to install SM-mode for (gnu)emacs? [y|n]
In which directory? [/usr/local/emacs/site-lisp]
Do you want to use swig to build a python interface? [n/y]
I am about to start modifying files, proceed? [y|n]
Creating Makefile...
Creating src/options.h...
Creating src/Makefile...
Creating callable/Makefile...
Creating swigInterfaces/Makefile...You will be ready to make SM as soon as you have edited
src/options.h to remove our copyright notice.
puis "make" (et c'est là que ça se complique)
SM is copyright 1987, 1989, 1990, 1992, 1993 Robert Lupton and Patricia Monger.
You may not distribute either source or executables without
specific permission from the authors. See the file copyright.h
for more details.( cd src ; \
make "CC=cc -Wall -Dlinux -DNEED_SWAP" "CFLAGS=-g -I/home/bouabid/sm2_4_34/src" "RANLIB=/usr/bin/ranlib" \
DEFAULT_PATH=". ~ /usr/local/lib/sm/" all_src )
make[1]: Entering directory `/home/bouabid/sm2_4_34/src'
Makefile:154: warning: overriding commands for target `.PRECIOUS'
Makefile:125: warning: ignoring old commands for target `.PRECIOUS'
Makefile:157: warning: overriding commands for target `.PRECIOUS'
Makefile:154: warning: ignoring old commands for target `.PRECIOUS'
( cd bison ;\
make CC="cc -Wall -Dlinux -DNEED_SWAP" CFLAGS="-c" LDFLAGS="-s" bison )
make[2]: Entering directory `/home/bouabid/sm2_4_34/src/bison'
cc -Dlinux -DNEED_SWAP -c -c $(PFILES) lr0.c
lr0.c: In function ‘free_storage’:
lr0.c:129: warning: incompatible implicit declaration of built-in function ‘free’
lr0.c:129: error: void value not ignored as it ought to be
lr0.c:130: error: void value not ignored as it ought to be
lr0.c:131: error: void value not ignored as it ought to be
lr0.c:132: error: void value not ignored as it ought to be
lr0.c:133: error: void value not ignored as it ought to be
lr0.c:134: error: void value not ignored as it ought to be
lr0.c:135: error: void value not ignored as it ought to be
lr0.c: In function ‘augment_automaton’:
lr0.c:546: warning: incompatible implicit declaration of built-in function ‘free’
lr0.c:546: error: void value not ignored as it ought to be
lr0.c:583: warning: incompatible implicit declaration of built-in function ‘free’
lr0.c:583: error: void value not ignored as it ought to be
make[2]: *** [lr0.o] Error 1
make[2]: Leaving directory `/home/bouabid/sm2_4_34/src/bison'
make[1]: *** [Bison] Error 2
make[1]: Leaving directory `/home/bouabid/sm2_4_34/src'
make: *** [sm] Error 2
et bien entendu, si je fais un "make install" après un "make" qui n'a pas fonctionné :
Installing SM
creating /usr/local/lib/sm
mkdir: cannot create directory `/usr/local/lib/sm': Permission denied
creating /usr/local/man/man1
mkdir: cannot create directory `/usr/local/man/man1': Permission denied
creating /usr/local/emacs
mkdir: cannot create directory `/usr/local/emacs': Permission denied
creating /usr/local/emacs/site-lisp
mkdir: cannot create directory `/usr/local/emacs/site-lisp': No such file or directory
make: [install] Error 1 (ignored)
cp src/sm rasterise make_tags /usr/local/bin
cp: cannot stat `src/sm': No such file or directory
cp: cannot stat `rasterise': No such file or directory
cp: cannot create regular file `/usr/local/bin/make_tags': Permission denied
make: *** [install] Error 1
Vu que je suis une buse en informatique, quelqu'un pourrait-il m'expliquer d'où vient le problème ?
Merci d'avance
Dernière modification par Mehdi_oca (Le 25/04/2009, à 13:51)
Hors ligne
#2 Le 13/03/2013, à 21:21
- Hugo Capelato
Re : [Résolu] Install de supermongo sur ubuntu 8.10
J'ai exactement les memes problèmes : ou trouver la solution ? (apparemment c'est deja "resolu" !)
Merci, Hugo
Hors ligne
Pages : 1