Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^7: CPAN install DBI-1.53

by syphilis (Bishop)
on Nov 30, 2006 at 04:12 UTC ( #586858=note: print w/replies, xml ) Need Help??


in reply to Re^6: CPAN install DBI-1.53
in thread CPAN install DBI-1.53

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586858]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2021-10-17 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (72 votes). Check out past polls.

    Notices?