[blfs-dev] python and gdbm

Andrew Benton b3nton at gmail.com
Sat Mar 3 08:07:15 PST 2012


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"?

Andy



More information about the blfs-dev mailing list