On 19/10/2011 11:31 PM, stefano franchi wrote:
1. I upated to  r39890, and now configure finds the correct python2 executable:


checking for a Python interpreter with version>= 2.4.0... python2
checking for python2... /usr/bin/python2
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for python2 extension module directory...
${exec_prefix}/lib/python2.7/site-packages

However, compilation still fails:

[stefano@polus lyx-devel]$ make
<<<<snip>>>>

Making all in po
make[2]: Entering directory `/home/stefano/builds/lyx-2-svn/lyx-devel/po'
make lyx-2-svn.pot-update
make[3]: Entering directory `/home/stefano/builds/lyx-2-svn/lyx-devel/po'
sed -e '/^#/d' remove-potcdate.sin>  t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
LC_ALL=C ; export LC_ALL ; \
python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4 ../src/frontends/qt4/ui/*.ui
   File "./lyx_pot.py", line 29
     print "Path %s is not under top source directory" % path
                                                     ^
SyntaxError: invalid syntax

Thanks for testing. Even though we now detect python2, we're using python in this particular makefile, possibly others. Please bear with us, it might take a few iterations until we get it right.

--
Julien

Reply via email to