pkgsrc-Users archive

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

Re: Heads up: Python & PostgreSQL default change



On Wed, 10 Feb 2010 19:22:05 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> Hi all,
> just a small note that I am about to change the default version of
> Python to 2.6 and of PostgreSQL to 8.4. Especially for the latter you
> should watch your updates and prepare a database dump. You can of course
> still wire down the desired version (PYTHON_VERSION_DEFAULT and
> PGSQL_VERSION_DEFAULT).

On my Linux machine, the Python 2.6 build fails towards the end:

Traceback (most recent call last):
  File "./setup.py", line 1764, in <module>
    main()
  File "./setup.py", line 1759, in main
    'Lib/smtpd2.6.py']
  File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/core.py",
line 152, in setup dist.run_commands() File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/dist.py",
line 975, in run_commands self.run_command(cmd) File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/dist.py",
line 995, in run_command cmd_obj.run() File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/command/build.py",
line 134, in run self.run_command(cmd_name) File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/cmd.py",
line 333, in run_command self.distribution.run_command(command) File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/dist.py",
line 995, in run_command cmd_obj.run() File
"/pbulk/work/lang/python26/work/Python-2.6.4/Lib/distutils/command/build_ext.py",
line 340, in run self.build_extensions() File "./setup.py", line 103,
in build_extensions missing = self.detect_modules()
  File "./setup.py", line 885, in detect_modules
    elif db_incs is not None:
NameError: global name 'db_incs' is not defined
*** Error code 1

Stop.
bmake: stopped in /pbulk/work/lang/python26/work/Python-2.6.4


Home | Main Index | Thread Index | Old Index