Re: How to remove the dummy and see prev ?
Serge Iovleff <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Organization | Université de Lille 1 |
| Message-ID | <[email protected]> |
OK, here are the command (with $) and the result with some comments
$ g++ -v
Lecture des spécification à partir de /usr/lib/gcc/i486-linux/3.4.1/specs
Configuré avec: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls
--enable-threads=posix --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --disable-werror i486-linux
Modèle de thread: posix
version gcc 3.4.1 (Debian 3.4.1-2)
$ python -V
Python 2.3.4
$ python setup.py config
$ python setup.py build
I have the following message error :
Grammar.hh not found
but the build process does not stop and i could not retrieve the whole line.
$synopsis -Wc,parser=C++ -Wp,-g -Wp,-b,../include/ -Wp,-I../include/ -o ../doc/STK_Index.h.syn ../include/STK_Index.h
Traceback (most recent call last):
File "/usr/bin/synopsis", line 181, in ?
main()
File "/usr/bin/synopsis", line 178, in main
processor.process(AST.AST())
File "/usr/lib/python2.3/site-packages/Synopsis/Processor.py", line 133, in process
return super(Composite, self).process(ast, **kwds)
File "/usr/lib/python2.3/site-packages/Synopsis/Processor.py", line 107, in process
self.ast = self.merge_input(ast)
File "/usr/lib/python2.3/site-packages/Synopsis/Processor.py", line 86, in merge_input
ast.merge(AST.load(file))
File "/usr/lib/python2.3/site-packages/Synopsis/AST.py", line 54, in load
raise Exception, "Loading AST from '%s', %s: %s"%(filename, exc, msg)
Exception: Loading AST from '../include/STK_Index.h', cPickle.UnpicklingError: invalid load key, '/'.
make[1]: *** [../doc/STK_Index.h.syn] Erreur 1
make: *** [syn] Erreur 2
This command work with synopsis 0.5
Serge
Stefan Seefeld a écrit :
> hi Serge,
>
> synopsis 0.5 is *really* old now, and a lot of things have improved
> since. Can I convince you somehow to retry the current snapshot ?
>
> Let's try to track down the exact problem(s) and see whether we can
> solve them (please subscribe to the bug tracker and create a bug
> report, then we can follow up there).
>
> What platform(s) are you trying to compile / run synopsis on ?
> (OS, distro, python version, compiler, etc., etc.)
>
> Thanks,
> Stefan
>
--
Serge Iovleff
USTL - IUT "A" | Tel: (33) 3 20 43 41 75/76
Département Informatique | Fax: (33) 3 20 43 41 73
BP 179 | www.iut-info.univ-lille1.fr/~iovleff
59653 Villeneuve d'Ascq | [email protected]
----------------------------------------------------------------