Installing 2.1.1 (warnings)

Norberto Bensa nbensa at yahoo.com
Mon Dec 3 18:24:14 CET 2001


I got these while installing:

$ ./configure --prefix=/usr
$ make
$ su -c "make install"

...

Compiling /usr/lib/python2.1/posixfile.py ...
Compili  File "/usr/lib/python2.1/test/nocaret.py", line 2
    [x for x in x] = x
SyntaxError: can't assign to list comprehension
ng /usr/lib/python2.1/pprint.py ...

...

Compiling /usr/lib/python2.1/test/test_copy_reg.py ...
Compiling /usr/lib/python2.1/test/tesSyntaxError: from __future__ imports
must occur at the beginning of the file (test_future3.py, line 3)
SyntaxError: from __future__ imports must occur at the beginning of the file
(test_future4.py, line 3)
SyntaxError: from __future__ imports must occur at the beginning of the file
(test_future5.py, line 4)
SyntaxError: from __future__ imports must occur at the beginning of the file
(test_future6.py, line 3)
SyntaxError: from __future__ imports must occur at the beginning of the file
(test_future7.py, line 3)
t_cpickle.py ...
Compiling /usr/lib/python2.1/test/test_crypt.py ...

...

building 'bsddb' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_DB_185_H=1 -I. -I/home/nbe
nsa/src/Python-2.1.1/./Include -I/usr/local/include -IInclude/ -c
/home/nbensa/src/Python-2.1.1/Modules/bsddbmodule.c -o
build/temp.linux-i586-2.1/bsddbmodule.o
WARNING: building of extension "bsddb" failed: command 'gcc' failed with
exit status 1
skipping 'mpz' extension (up-to-date)










More information about the Python-list mailing list