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: Bastien
Subject: Re: [help-gnutrition] Problem installing GNUtrition, Python 3.2
Date: Thu, 15 Mar 2012 09:19:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Hi Cory,

thanks for your help!

Cory Koch <address@hidden> writes:

> Yes, Python 3.x is not backward compatible with Python 2.x.
> So you will need to install Python 2.7 or anything after 2.2.
> (which may already be on your system, you can run the command
> ' whereis python '
> to see which versions are installed)
>
> Then you will need to re-run the configure script with the PYTHON
> varible set to the path of the binary of Python 2.x.
>
> On my computer it is this:
> ./configure PYTHON=/usr/bin/python2.7

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?

>>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.

Best,

-- 
 Bastien



reply via email to

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