Andrew Benton wrote: > Hello, > On the python2 page it says to use a sed: > sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py > > and the command explanation is: > This command is used to fix a build problem with the GDBM library. > > If I compile python-2.7.2 twice, once with the sed and once without and > pipe the output to log files, diff can find no difference between the 2 > log files. It would seem that the sed has no effect. Does anyone know > why it was added to the book? What was this enigmatic "build problem"?
That was added 3 years ago and replaced a patch that did something similar. (Rev 7767) (python-2.6.1). It may not be needed any more. The sed still applies at line 1162, but looking at the code, line 1142 may mean it's not needed. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
