Make Error DBI 1.58 (Source code)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jrefran
    New Member
    • Aug 2007
    • 15

    Make Error DBI 1.58 (Source code)

    Hi there! I got this error during my DBI installation from source code. Execution of "perl Makefile.PL" was okay. But after I execute "make" this error appeared on the last part.

    --------------------------got this some part from make----------

    cc1: Invalid option `-Wdeclaration-after-statement'
    cc1: Invalid option `-Wno-unused-parameter'
    In file included from /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/perl.h:3950,
    from DBIXS.h:19,
    from Perl.xs:6:
    /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/proto.h:31: warning: `warn_unused_re sult' attribute directive ignored
    /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/proto.h:42: warning: `__malloc__' attribute directive ignored
    /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/proto.h:42: warning: `warn_unused_re sult' attribute directive ignored
    /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/proto.h:46: warning: `__malloc__' attribute directive ignored
    /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/proto.h:46: warning: `warn_unused_re sult' attribute directive ignored
    make: *** [Perl.o] Error 1

    Please help again. Sorry to bug you but I really really need a help from the experts... ΓΌ

    Thanks!
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Again, as in your other post, relating to DBD::Oracle, I haven't a clue what the errors are saying as they aren't that informative (love compilation errors some times, dont' you?), but as I said in your other post, do you have the ability to use CPAN to install your modules instead of doing it from source?

    Regards,

    Jeff

    Comment

    Working...