Skip Menu |
 

This queue is for tickets about the Net-RawIP CPAN distribution.

Report information
The Basics
Id: 1324
Status: resolved
Priority: 0/
Queue: Net-RawIP

People
Owner: Nobody in particular
Requestors: virgil [...] endless.net.au
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.09
Fixed in: (no value)

Attachments
D:\tmp\Net-RawIP.Makefile.PL.patch



Subject: Makefile.PL CFLAGS
Download (untitled) / with headers
text/plain 906b
Net-RawIP-0.09d Perl 5.6.1 Linux 2.4.18-wc8 When rebuilding this module as a RPM, the CFLAGS for "linux" require whitespace after _IFLIST_ before appending the environment. Everything works fine when there is no existing CFLAGS environment setting. /usr/local/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap RawIP.xs > RawIP.xsc && mv RawIP.xsc RawIP.c gcc -c -fno-strict-aliasing -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -D_LINUX_ -D_ETH_ -D_IFLIST_-O2 -march=i386 -mcpu=i686 -D_GLIBC_ RawIP.c RawIP.c:0: malformed option `-D _IFLIST_-O2' make: *** [RawIP.o] Error 1 error: Bad exit status from /usr/local/rhbuilder/tmp/rpm-tmp.19590 (%build) Just a minor thing you might want to take into account. Virgil
--- Makefile.PL.orig Wed Jul 24 13:01:04 2002 +++ Makefile.PL Wed Jul 24 12:55:59 2002 @@ -1,7 +1,7 @@ use ExtUtils::MakeMaker; use Config; %config = ( - 'linux' => [ '-D_LINUX_ -D_ETH_ -D_IFLIST_'.$ENV{'CFLAGS'}, + 'linux' => [ '-D_LINUX_ -D_ETH_ -D_IFLIST_ '.$ENV{'CFLAGS'}, 'RawIP.o util.o eth.o ifaddrlist.o', '', q{$def .= ' -D_GLIBC_' if -e "/usr/include/net/if_packet.h"},
Download (untitled) / with headers
text/plain 311b
In 2002, you wrote: Show quoted text
> When rebuilding this module as a RPM, the CFLAGS for "linux" require > whitespace after _IFLIST_ before appending the environment.
Thank you for sending this patch. It seems it was applied at some point, even though nobody answered to this ticket. -- Close the world, txEn eht nepO.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.