Re: synopsis 0.7 compilation error

Serge Iovleff <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Organization Université de Lille 1
Message-ID <[email protected]>
Hi,

I install the g++  3.4.1-2 and I pass the previous step.

I get the following installation error :

/bin/sh -ec 'g++ -M -I . -I /home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C -I 
/home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/../../../Cxx-API/include -I /usr/include/python2.3 
/home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/Context.cc | sed "s/Context\\.o[ :]*/Context\\.d 
Context\\.o : /g" > Context.d'
yacc -d -b Grammar -o Grammar.cc /home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/Grammar.y
make: yacc : commande introuvable
make: *** [Grammar.cc] Erreur 127
make: quittant le répertoire « /home/iovleff/dvlpt/synopsis/synopsis-0.7/build/temp.linux-i686-2.3/Synopsis/Parsers/C »
error: command 'sh' failed with exit status 2

It should be checked by synopsis (?)


OK, now I install bison, fine...

I get the following installation error :

/bin/sh -ec 'g++ -M -I . -I /home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C -I 
/home/iovleff/dvlpt/synopsis/syno psis-0.7/Synopsis/Parsers/C/../../../Cxx-API/include -I /usr/include/python2.3 
/home/iovleff/dvlpt/synopsis/synopsis-0.7/Syno psis/Parsers/C/Token.cc | sed "s/Token\\.o[ :]*/Token\\.d Token\\.o : /g" 
 > Token.d'
/home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/Token.cc:38:22: Grammar.hh : Aucun fichier ou répertoire de 
ce t ype

The build process continue anyway but stop on the following error :

/bin/sh -ec 'g++ -M -I . -I /home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C -I 
/home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/../../../Cxx-API/include -I /usr/include/python2.3 
Grammar.cc | sed "s/Grammar\\.o[ :]*/Grammar\\.d Grammar\\.o : /g" > Grammar.d'
: /home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/Lexer.l
mv lex.yy.c Lexer.cc
mv: ne peut évaluer `lex.yy.c': Aucun fichier ou répertoire de ce type
make: *** [Lexer.cc] Erreur 1
make: quittant le répertoire « /home/iovleff/dvlpt/synopsis/synopsis-0.7/build/temp.linux-i686-2.3/Synopsis/Parsers/C »
error: command 'sh' failed with exit status 2


the file Grammar.hh is in the directory

/home/iovleff/dvlpt/synopsis/synopsis-0.7/build/temp.linux-i686-2.3/Synopsis/Parsers/C


but NOT in the directory

/home/iovleff/dvlpt/synopsis/synopsis-0.7/Synopsis/Parsers/C/


Serge

Stefan Seefeld a écrit :
> Serge Iovleff wrote:
> 
> 
> 
> A shot in the dark: is it possible that you have multiple gcc versions
> installed ?
> The above looks like a version conflict or something like that.
> May be debian users are better suited to help you debug this. Nathaniel ?
> All I can say is that it is definitely a problem with your development
> environment, 
> not with synopsis itself.
> 
> Regards,
> 		Stefan
> 
> _______________________________________________
> Synopsis-devel mailing list
> [email protected]
> http://lists.fresco.org/cgi-bin/listinfo/synopsis-devel
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.