Opened 19 years ago

Closed 19 years ago

#2980 closed defect (fixed)

BUG: py-wxpython 2.4.2.4_1 doesn't build python2.4

Reported by: cssdev@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Attempting to install py-wxpython 2.4.2.4 on Mac OS X 10.3.9, I received an error that python 2.4 could not be found. Here is the output:

$ sudo port install py-wxpythonPassword: ---> Building py-wxpython with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._Users_Shared_darwinports_dports_python_py-wxpython/work/wxPythonSrc-2.4.2.4/wxPython" && WX_CONFIG=/opt/local/bin/wx-config python2.4 setup.py build" returned error 127 Command output: sh: line 1: python2.4: command not found

I did not install the python24 port, but is that version absolutely required in place of the system python? If so, perhaps the Portfile should build it when it's not present? The depends_lib indicates bin:python:python24, but maybe it should include the version number explicitly? The attached patch suggests a possible change by specifying the python2.4 executable.

Attachments (2)

patch-Portfile.diff (308 bytes) - added by cssdev@… 19 years ago.
Portfile patch to explicitly specify python2.4
patch-Portfile.2.diff (308 bytes) - added by cssdev@… 19 years ago.
Fixed incorrect diff order

Download all attachments as: .zip

Change History (4)

Changed 19 years ago by cssdev@…

Attachment: patch-Portfile.diff added

Portfile patch to explicitly specify python2.4

Changed 19 years ago by cssdev@…

Attachment: patch-Portfile.2.diff added

Fixed incorrect diff order

comment:1 Changed 19 years ago by cssdev@…

attachments.isobsolete: 01

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

I've just updated wxpython to v2.6.0.0, fixing this problem along

Note: See TracTickets for help on using tickets.