Skip Menu |

This queue is for tickets about the Event-Lib CPAN distribution.

Report information
The Basics
Id: 16243
Status: resolved
Priority: 0/
Queue: Event-Lib

People
Owner: Nobody in particular
Requestors: harm [...] tty.nl
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.10
Fixed in: (no value)



Subject: tiny patch to build
This tiny patch enables you to use ' CCFLAGS=-static" --- Makefile.PL 2005-12-01 15:51:08.023649376 +0100 +++ Makefile.PL.orig 2005-12-01 15:46:27.160347088 +0100 @@ -5,7 +5,7 @@ my %args = map { split /\s*=\s*/ } @ARGV; sub have_libevent { - my $CC = $Config{cc}.' '.$args{CCFLAGS}. ' '.$Config{ccflags}.' '; + my $CC = $Config{cc}.' '.$Config{ccflags}.' '; print "CC: $CC"; my $LIBS = $args{ LIBS } || "-levent"; my $INC = $args{ INC } || "-I/usr/include";
From: harm [...] tty.nl
[guest - Thu Dec 1 16:24:36 2005]: hmmm. the other bug fixes it better, but the current version is still broken :(
[guest - Thu Dec 1 16:24:36 2005]: Show quoted text
> This tiny patch enables you to use ' CCFLAGS=-static" > > --- Makefile.PL 2005-12-01 15:51:08.023649376 +0100 > +++ Makefile.PL.orig 2005-12-01 15:46:27.160347088 +0100 > @@ -5,7 +5,7 @@ > my %args = map { split /\s*=\s*/ } @ARGV; > > sub have_libevent { > - my $CC = $Config{cc}.' '.$args{CCFLAGS}. ' '.$Config{ccflags}.' '; > + my $CC = $Config{cc}.' '.$Config{ccflags}.' '; > print "CC: $CC"; > my $LIBS = $args{ LIBS } || "-levent"; > my $INC = $args{ INC } || "-I/usr/include";
Sorry for getting back to you so late. It took me a while to figure out that this patch is reversed. The whole time I was wondering how removing $args{CCFLAGS} could fix the problem you described. :-) I'm currently rewriting Lib::Event including changes to the public API. A beta release is on the CPAN very soon, with your fix.