Menu

#610 perl cflag error in several Makefile.PL

closed
nobody
None
5
2012-11-08
2002-11-19
Anonymous
No

[ Forgive the duplicate, but sourceforge's ui sucks for
"you mean I was supposed to click a box somewhere and
its too late?" Sourceforge is *way* too "helpful". ]

Several net-snmp (version 5.0.6) Makefile.PLs have a
construct like:

$Params{'CCFLAGS'} = `$opts->{'nsconfig'} --cflags`;

which causes build failues on at least redhat 6.2
derivatives, since $Config{ccflags} has an important
-Dbool=char required to compile the most basic XS
extension.

I have attached a patch that fixes my local problem,
but the actual issue may be more general; LIBS may also
be a problem for some people.

Discussion

  • Nobody/Anonymous

    Patch for perl/*/Makefile.PL

     
  • Dave Shield

    Dave Shield - 2002-12-10

    Logged In: YES
    user_id=88893

    Thanks for the bug report! We've fixed the problem for the next release of the net-snmp package.

     

Log in to post a comment.