Opened 18 years ago

Last modified 8 years ago

#9524 closed defect

fluxbox needs GCC 4.x to build on "Panther" 10.3.9 — at Initial Version

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: fluxbox

Description

The last few updates of x11/fluxbox have failed to build on my PowerBook G4 with Mac OS X 10.3.9 "Panther", due to problems with advanced C++ features used.

Finally I got around to trying a build with GCC 4.1 by adding this patch to the Portfile

Index: dports/x11/fluxbox/Portfile =================================================================== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/fluxbox/Portfile,v retrieving revision 1.16 diff -u -r1.16 Portfile --- dports/x11/fluxbox/Portfile 20 Jun 2006 06:39:39 -0000 1.16 +++ dports/x11/fluxbox/Portfile 21 Jun 2006 04:57:41 -0000 @@ -17,3 +17,4 @@

use_bzip2 yes depends_lib lib:libX11.6:XFree86 lib:libXext.6:XFree86 configure.args --mandir=${prefix}/share/man

+configure.env CC=/opt/local/bin/gcc-dp-4.1 CXX=/opt/local/bin/g++-dp-4.1

I suspect that GCC-4.0 would be sufficient, but haven't tried that. Also, that patch is presumably inappropriate for "Tiger", so it should be conditional on darwin7. Note that as far as I know GCC-4.1 doesn't work out of the box on DarwinPorts, you need the patch I sent a couple of weeks ago (see issue 7167).

Change History (0)

Note: See TracTickets for help on using tickets.