I think %opts, in the Makefile.PL, might simply need that amended CCFLAGS entry inserted (anywhere) into it so it looks like this:
my %opts = (
CCFLAGS => '-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_S
+OURCE -D_FILE_OFFSET_BITS=64',
NAME => 'DBI',
AUTHOR => 'Tim Bunce (dbi-users@perl.org)',
VERSION_FROM => 'DBI.pm',
ABSTRACT_FROM => 'DBI.pm',
PREREQ_PM => { "Test::Simple" => 0.40, Storable => 1, "File::Spec"
+ => 1 },
EXE_FILES => [ "dbiproxy$ext_pl", "dbiprof$ext_pl" ],
DIR => [ ],
dynamic_lib => { OTHERLDFLAGS => "$::opt_g" },
clean => { FILES=> "\$(DISTVNAME) Perl.xsi t/zv*_*.t"
." dbiproxy$ext_pl dbiprof$ext_pl dbitrace.log dbi.prof nd
+test.prt" },
dist => {
DIST_DEFAULT=> 'clean distcheck disttest tardist',
PREOP => '$(MAKE) -f Makefile.old distdir',
COMPRESS => 'gzip -v9', SUFFIX => 'gz',
},
);
If that doesn't help try getting a version of gcc that's at least recent enough to either understand or ignore '-fno-strict-aliasing'.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.