Opened 18 years ago

Closed 18 years ago

Last modified 8 years ago

#9524 closed defect (worksforme)

BUG: fluxbox needs GCC 4.x to build on "Panther" 10.3.9

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (7)

comment:1 Changed 18 years ago by yaseppochi (Stephen J. Turnbull)

(In reply to comment #0)

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).

Oops, that should read "DarwinPorts on Max OS X 10.3.9".

comment:2 Changed 18 years ago by rhwood@…

dependson: 7167

comment:3 Changed 18 years ago by rhwood@…

Summary: fluxbox needs GCC 4.x to build on "Panther" 10.3.9BUG: fluxbox needs GCC 4.x to build on "Panther" 10.3.9

About the dependency: see Comment #1 on this bug.

comment:4 Changed 18 years ago by pmq@…

Owner: changed from macports-tickets@… to pmq@…

Hi Stephen, is it still true with the current version (1.0rc2)? Do you still need to install gcc-4.1-dp?

comment:5 Changed 18 years ago by markd@…

Cc: markd@… added

I just installed fluxbox-1.0rc2 on 10.3 using Apple's default gcc3 with no problems at all. Can you post the error you are having?

comment:6 Changed 18 years ago by markd@…

Resolution: worksforme
Status: newclosed

It works fine for me on 10.3. You may reopen if you have more info.

comment:7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: fluxbox added
Note: See TracTickets for help on using tickets.