problem installing current cvs

Hi, I'm having 2 problems with the current cvs : During compilation this warning occurs: *** WARNING: renaming "dbm" since importing it failed: build/lib.linux-i686-2.5/ dbm.so: undefined symbol: dbm_firstkey and the 'dbm' module is unavailable. I'm running MandrakeLinux 2005 (10.2) gcc 3.4.3 (I'm also having this problem when compiling python 2.3.5 or 2.4.1) furthermore the 'make install' of current cvs fails halfway trough with the following errors: ..... ..... Compiling /opt/python25/lib/python2.5/bsddb/test/test_associate.py ... Sorry: TabError: ('inconsistent use of tabs and spaces in indentation', ('/opt/python25/lib/python2.5/bsddb/test/test_associate.py', 97, 23, '\t os.mkdir(homeDir)\n')) Compiling /opt/python25/lib/python2.5/bsddb/test/test_basics.py ... Sorry: TabError: ('inconsistent use of tabs and spaces in indentation', ('/opt/python25/lib/python2.5/bsddb/test/test_basics.py', 400, 26, '\t if get_raises_error:\n')) Compiling /opt/python25/lib/python2.5/bsddb/test/test_compare.py ... Sorry: TabError: ('inconsistent use of tabs and spaces in indentation', ('/opt/python25/lib/python2.5/bsddb/test/test_compare.py', 167, 5, '\t"""\n')) ..... ..... Compiling /opt/python25/lib/python2.5/bsddb/test/test_recno.py ... Sorry: TabError: ('inconsistent use of tabs and spaces in indentation', ('/opt/python25/lib/python2.5/bsddb/test/test_recno.py', 38, 46, '\tget_returns_none = d.set_get_returns_none(2)\n')) ..... ..... make: *** [libinstall] Error 1 $ And then it quits. Fixing the tab indentation errors locally makes the problem go away. Regards, Irmen de Jong

On Tue, Jun 07, 2005 at 08:49:11PM +0200, Irmen de Jong wrote:
ugh. this may be the result of me working on those files recently without my usual .vimrc in place. i'll take a look. regardless, where is the TabError coming from? those files are all valid python even if they do have an annoying mix of spaces and tabs. major gripe to -dev: a 'make install' of the full cvs tree should not be required to test that some changes to existing .py files that pass their tests (in this case they -are- the tests) are ok to check in. Greg

Gregory P. Smith wrote: [SNIP]
You actually don't have to. If you execute the interpreter that is built in your cvs checkout it will use the stdlib files as found in your cvs tree. So if you are in your cvs checkout, ``./python.exe <whatever>`` will actually execute using the code in the cvs checkout itself. -Brett

On Wednesday 08 June 2005 07:08, Gregory P. Smith wrote:
There's a scripts Tools/scripts/reindent.py - put it somewhere on your PATH and run it before checkin, like "reindent.py -r Lib". It means Tim or I don't have to run it for you <wink> Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.

On Tue, Jun 07, 2005 at 08:49:11PM +0200, Irmen de Jong wrote:
ugh. this may be the result of me working on those files recently without my usual .vimrc in place. i'll take a look. regardless, where is the TabError coming from? those files are all valid python even if they do have an annoying mix of spaces and tabs. major gripe to -dev: a 'make install' of the full cvs tree should not be required to test that some changes to existing .py files that pass their tests (in this case they -are- the tests) are ok to check in. Greg

Gregory P. Smith wrote: [SNIP]
You actually don't have to. If you execute the interpreter that is built in your cvs checkout it will use the stdlib files as found in your cvs tree. So if you are in your cvs checkout, ``./python.exe <whatever>`` will actually execute using the code in the cvs checkout itself. -Brett

On Wednesday 08 June 2005 07:08, Gregory P. Smith wrote:
There's a scripts Tools/scripts/reindent.py - put it somewhere on your PATH and run it before checkin, like "reindent.py -r Lib". It means Tim or I don't have to run it for you <wink> Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
participants (5)
-
"Martin v. Löwis"
-
Anthony Baxter
-
Brett C.
-
Gregory P. Smith
-
Irmen de Jong