bug-gnuzilla
[Top][All Lists]
Advanced

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

3.6.8 'make' problem, python related


From: Andrew Gray
Subject: 3.6.8 'make' problem, python related
Date: Tue, 24 Aug 2010 00:20:19 -0700

Hello,

I'm running Trisquel 3.5 on an amd64 laptop. I currently use IceCat
3.5.7, which I built from source without problems.

So I downloaded the newest source (3.6.8) and gave it the good
ol' ./configure, make, make install. The configure went swimmingly, but
shortly after running `make`, I get this very early on:

> /usr/bin/python2.5 ../toolkit/xre/make-platformini.py \
     --print-buildid > buildid
> Traceback (most recent call last):
>   File "../toolkit/xre/make-platformini.py", line 4, in <module>
>     from datetime import datetime
> ImportError: No module named datetime

Error error, fail. I examined make-platformini.py for the line in
question, nothing special. I then ran python and entered
`from datetime import datetime` and it worked. Suddenly I realized I
wasn't running python2.5. Some terminal output:

$ python --version
Python 2.6.4
$ ls /usr/bin |grep python
python
python2
python2.4
python2.5
python2.6
$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 2010-03-31 22:28 /usr/bin/python -> python2.6
$

I figured that my previous versions of Python (2.4, 2.5) might not be
set up properly with the datetime module for some reason, even though
datetime should have been included by default since Python 2.3.

This doesn't make any sense, because the file make-platformini.py's first
line invokes #!/usr/bin/python, which is 2.6 for me (as seen above).

Sorry if this is too long or too much info. I've been fiddling around and
I can't seem to get anywhere with this.

--Andrew




reply via email to

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