Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^6: CPAN install DBI-1.53

by stsly (Initiate)
on Nov 29, 2006 at 13:08 UTC ( #586685=note: print w/replies, xml ) Need Help??

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

Thanks Rob I can only find this in the document :-(
WriteMakefile( dbd_edit_mm_attribs(\%opts, { create_pp_tests => 1, }) );
Do you mean remove this?

Replies are listed 'Best First'.
Re^7: CPAN install DBI-1.53
by stsly (Initiate) on Nov 29, 2006 at 13:23 UTC
    Tried to instal another module and get this error as well: cc1: Invalid option `-fno-strict-aliasing' What could cause this?

      Am makeing some headway

      Have removed the -fno-strict-aliasing part of the Makefile so it now reads:


      Now I get: make: Fatal error in reader: Makefile, line 13: Unexpected end of line seen

Re^7: CPAN install DBI-1.53
by syphilis (Bishop) on Nov 30, 2006 at 04:12 UTC
    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 (', VERSION_FROM => '', ABSTRACT_FROM => '', 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 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'.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-10-22 17:32 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (85 votes). Check out past polls.