Opened 18 years ago

Closed 18 years ago

#6743 closed defect (invalid)

BUG: wxWidgets 2.6.2 fails to build

Reported by: g3zi7y.wu72nfp@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: blb@…
Port:

Description

Here are some informations about my computer system:

I am still working with OS 10.3.9 and Xcode 1.5.

My-Computer:~ wu$ uname -a Darwin My-Computer.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc

My-Computer:~ wu$ gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)

My-Computer:~ wu$ ld -v Apple Computer, Inc. version cctools-525.1.obj~8

My-Computer:~ wu$ port version Version: 1.200

Attachments (3)

Portfile (2.3 KB) - added by g3zi7y.wu72nfp@… 18 years ago.
the malfunctioning portfile
Portfile.diff (3.7 KB) - added by g3zi7y.wu72nfp@… 18 years ago.
proposed patch of portfile
Portfile.2.diff (1.9 KB) - added by g3zi7y.wu72nfp@… 18 years ago.
proposed patch of portfile (version 2)

Download all attachments as: .zip

Change History (7)

Changed 18 years ago by g3zi7y.wu72nfp@…

Attachment: Portfile added

the malfunctioning portfile

Changed 18 years ago by g3zi7y.wu72nfp@…

Attachment: Portfile.diff added

proposed patch of portfile

comment:1 Changed 18 years ago by g3zi7y.wu72nfp@…

First, I have to mention that I had installed wxWidgets-2.6.2 successfully a few month ago. See bug report 5758, you will find there a list of installed ports on my computer. At that time I had Xcode 1.2 installed on my computer.

I am interested in py-wxpython. so I installed wxWidgets. I had to learn, that py-wxpython-2.6.1 needs wxWidgets-2.6.1. It is not possible to build py-wxpython-2.6.1 with wxWidgets-2.6.2. Therefore I removed wxWidgets-2.6.2 from my darwinports tree and installed wxWidgets-2.6.1 and py-wxpython-2.6.1 without any errors.

Now a new version of wxPython is available (2.6.2) and I wanted to install wxWidgets-2.6.2 again, but in the mean time I upgraded Xcode to version 1.5 ...

I tried different things and end up with the proposed patch of the portfile. The version of QuickTime influences the build process. I started my investigation with QuickTime 7.0.4, downgraded then to 7.0.1, and upgraded again to 7.0.3 and 7.0.4.

I could build the variant 'mac' of wxWidgets with QuickTime 7.0.1 and 7.0.3, and the variant 'cocoa' with QuickTime 7.0.1 and 7.0.4. But the build of variant 'mac' fails with QuickTime 7.0.4 !!

Nevertheless I leave the variant 'mac' as the default.

In the list of installed ports on my computer you will find now the entry:

wxWidgets @2.6.2_0+cocoa+darwin_7+mac (active)

I do not know, why there is still a 'mac' suffix, this is another bug ...

I hope you will not be annoyed about the other minor changes of the portfile I want to propose. These other changes relate to the appearance of the portfile contents and satisfy my sense of aesthetics.

comment:2 Changed 18 years ago by mww@…

Cc: mww@… removed
Owner: changed from darwinports-bugs@… to mww@…
Summary: wxWidgets 2.6.2 fails to buildBUG: wxWidgets 2.6.2 fails to build

about your aesthetics: I'd rather suggest you change your tab-size to 4 instead of chaning the Portfile. The whitespace-changes make your patch unnecessary hard to read - would you mind providing one with the original whitespace-sets so we can dive right into your actual changes?

Regarding the variants - introducing a variant and making it the default is unnecessary in general. Why not make a 'cocoa' variant and leave the default with the 'mac' style?

Changed 18 years ago by g3zi7y.wu72nfp@…

Attachment: Portfile.2.diff added

proposed patch of portfile (version 2)

comment:3 Changed 18 years ago by jyrki.wahlstedt@…

Ok, I had problems in building 2.6.2 myself. I managed to make it by explicitly uninstalling 2.6.1 first. Have you tried that? No comment on the patches

PS DP py-wxpython is still at 2.6.1, so you are doing that outside DP?

comment:4 Changed 18 years ago by mww@…

Resolution: invalid
Status: newclosed

is this still a problem with 2.6.3? If so, please re-open this bug.

Note: See TracTickets for help on using tickets.