On Wed, Oct 19, 2011 at 5:59 PM, Julien Rioux
<jri...@physics.utoronto.ca> wrote:
> On 19/10/2011 11:31 PM, stefano franchi wrote:
>>
>> 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
>
> I think I fixed that particular problem, but I expect more issues as you go
> along. In particular, you might want to patch your version of
> src/support/os.cpp and lib/configure.py by replacing every occurrence of
> python with python2. We'll have to do something more clever in our svn to
> make this portable, such as using the preprocessor to pass the correct value
> as determined from configure, but as far as you are concerned, using python2
> there in place of python might be sufficient and it's worth to at least give
> it a try.
>

I fixed the two files as Julien suggested, but I am still stuck on the
same issue, namely, the lyx-2-svn.pot-update line. Where is the call
that issues this line?

python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4


Cheers,

Stefano

-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

Reply via email to