On 10/19/2011 12:40 PM, stefano franchi wrote:
So my problem is getting worse. Compilation of the svn tree fails even
earlier, and because of the same python issue, I guess (see below).

It seems I cannot remove python 3, since the Arch package management
system depends on it. Do I have any alternatives? Is there anyone
building lyx on the Arch distribution?
We should definitely fix these sorts of silly print issues.

Here's a silly idea: Create a new user and make ~/bin/python a symlink to the python2 program for that user (with ~/bin in that user's path). The package management stuff won't work for that user, but he'll be able to compile OK. Then you can su to that user for compilation.

JMarc, can we have configure check and make sure it's found a version of Python 2.x? I'm guessing the issue here is that it finds "python" and thinks it's won the lottery, whereas it ought to go on to check for "python2" or something.

Richard


Cheers,

Stefano


[stefano@polus lyx-devel]$ make
make  all-recursive
make[1]: Entering directory `/home/stefano/builds/lyx-2-svn/lyx-devel'
Making all in config
make[2]: Entering directory `/home/stefano/builds/lyx-2-svn/lyx-devel/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/stefano/builds/lyx-2-svn/lyx-devel/config'
Making all in development
make[2]: Entering directory
`/home/stefano/builds/lyx-2-svn/lyx-devel/development'
make[3]: Entering directory
`/home/stefano/builds/lyx-2-svn/lyx-devel/development'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/home/stefano/builds/lyx-2-svn/lyx-devel/development'
make[2]: Leaving directory
`/home/stefano/builds/lyx-2-svn/lyx-devel/development'
Making all in intl
make[2]: Entering directory `/home/stefano/builds/lyx-2-svn/lyx-devel/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/stefano/builds/lyx-2-svn/lyx-devel/intl'
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
make[3]: *** [qt4_l10n.pot] Error 1
make[3]: Leaving directory `/home/stefano/builds/lyx-2-svn/lyx-devel/po'
make[2]: *** [lyx-2-svn.pot] Error 2
make[2]: Leaving directory `/home/stefano/builds/lyx-2-svn/lyx-devel/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefano/builds/lyx-2-svn/lyx-devel'
make: *** [all] Error 2



Reply via email to