help-gnutrition
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gnutrition] Problem installing GNUtrition, Python 3.2


From: Cory Koch
Subject: Re: [help-gnutrition] Problem installing GNUtrition, Python 3.2
Date: Sat, 17 Mar 2012 18:21:13 -0400

Hi Bastien,


Bastien said:
>thanks for your help!

You're welcome!


>That's it.  I managed to run ./configure correctly, but I got
>this error while running "make":
>
>,----
>| address@hidden gnutrition-0.31]$ make
>| for dir in src data pixmaps doc rpm debian; do \
>|       make -C $dir all; \
>| done
>| make[1] : on entre dans le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/src »
>| chmod +x ../py-compile
>| ../py-compile *.py
>|   File "<string>", line 5
>|     print 'Byte-compiling python modules...'
>|                                            ^
>| SyntaxError: invalid syntax
>| make[1]: *** [all] Erreur 1
>| make[1] : on quitte le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/src »
>| make[1] : on entre dans le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/data »
>| make[1]: Rien à faire pour « all ».
>| make[1] : on quitte le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/data »
>| make[1] : on entre dans le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/pixmaps »
>| make[1]: Rien à faire pour « all ».
>| make[1] : on quitte le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/pixmaps »
>| make[1] : on entre dans le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/doc »
>| db2html gnutrition.sgml
>| make[1]: db2html : commande introuvable
>| make[1]: *** [create-html] Erreur 127
>| make[1] : on quitte le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/doc »
>| make[1] : on entre dans le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/rpm »
>| make[1]: Rien à faire pour « all ».
>| make[1] : on quitte le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/rpm »
>| make[1] : on entre dans le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/debian »
>| make[1]: Rien à faire pour « all ».
>| make[1] : on quitte le répertoire « 
>/home/guerry/install/src/gnutrition-0.31/debian »
>`----
>
>Weird - because it looks like another python3 vs python2 error to me...
>but I don't speak python and cannot check syntactic errors.
>
>Do you have any idea?

You're right; it does seem to be another issue with the version of Python.

So just run make with the PYTHON varible set to the path of a 2.x version
On my computer it looks like:

make PYTHON=/usr/bin/python2.7

just make sure to replace 2.7 with your version of 2.x python.


>>>Do you have screenshots of your application?
>>
>> There are a few screen shots in this user manual, which is currently 
>> incomplete
>> but I hope it helps. [1]
>
>That helps a lot, thanks again.

You're welcome, I am glad that it is some help to you!


---
Cory Koch
Project Member



reply via email to

[Prev in Thread] Current Thread [Next in Thread]