Re: [Cppcms-users] pb in compiling templates
Brought to you by:
artyom-beilis
From: Pierre C. <pi...@co...> - 2021-09-15 08:34:49
|
I just did declare a new compiler /usr/local/bin/cppcms_tmpl_cc3 : #!/bin/sh python3 /usr/local/bin/cppcms_tmpl_cc $@ Thank you very much ! PC On 9/15/21 7:08 AM, Artyom Beilis wrote: > Unfortunately there is no shebang that fits both python and python3. > Just instead of calling the executable directly, call python3 > cppcms_tmpl_cc specifying an interpreter manually. > > Artyom > > On Wed, Sep 15, 2021 at 12:36 AM Pierre Couderc via Cppcms-users > <cpp...@li... > <mailto:cpp...@li...>> wrote: > > After some update (debian), I get an error : > > [1/9] Generating templ with a custom command > FAILED: templates.cpp > /usr/local/bin/cppcms_tmpl_cc ../templates/master.tmpl > ../templates/ddefault.tmpl ../templates/llist.tmpl > ../templates/question.tmpl ../admin/templates/ad_recup.tmpl > ../admin/templates/ad_sql.tmpl (...) -o templates.cpp > /usr/bin/env: ‘python’: No such file or directory > > Is it because my pithon has gone to python3...? > > Thanks > > PC > > > > > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > <mailto:Cpp...@li...> > https://lists.sourceforge.net/lists/listinfo/cppcms-users > <https://lists.sourceforge.net/lists/listinfo/cppcms-users> > > > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |