From: julia.lawall@lip6.fr (Julia Lawall) Date: Fri, 29 Nov 2013 12:05:52 +0100 (CET) Subject: [Cocci] version missmatch In-Reply-To: <20131129102538.GA11900@opentech.at> References: <20131129102538.GA11900@opentech.at> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Fri, 29 Nov 2013, Nicholas Mc Guire wrote: > > Hi ! > > minor glitch in the rc18 release (or should it be rc17 ?) > after downloading coccinelle-1.0.0-rc18.tgz unpacking and > compile/installing it on Debian wheezy it shows up as rc17 > > root at Xil:~# tar -xzf coccinelle-1.0.0-rc18.tgz > root at Xil:~# cd coccinelle-1.0.0-rc18/ > root at Xil:~/coccinelle-1.0.0-rc18# ./configure --with-python --with-menhir > root at Xil:~/coccinelle-1.0.0-rc18# make all > root at Xil:~/coccinelle-1.0.0-rc18# make install > root at Xil:~/coccinelle-1.0.0-rc18# export PATH=/usr/local/bin:$PATH > root at Xil:~/coccinelle-1.0.0-rc18# patch --version > root at Xilinx:/usr/src/janitor/tools/coccinelle-1.0.0-rc18# /usr/local/bin/spatch --version > spatch version 1.0.0-rc17 without Python support and with Str regexp support roo > > since I never had rc17 installed I guess something went wrong with packaging ? > > also not sure why it says without python - it reported no errors config or > build ? > a make coccicheck in the kernel then complains about > .. > Fatal error: exception Failure("no python") > > any idea what is wrong with the install procedure ? (python2.6-dev and > python3.1-dev as well as menhir is installed) Unfortunately, I understand almost nothing about the build system :( I will try to be sure that for the next release the name that Coccinelle is given matches the name that it actually is... For python, I'm not sure. Where is python located on your machine? I see some mentions of python2.7 instead of python2.6. Maybe you need that version? julia