SPUG: Date::Calc install problems

Todd Wells toddw at wrq.com
Fri Oct 29 12:20:21 CDT 1999


I'm trying to install the Date::Calc module and I'm having problems
compiling it.   I'm using RedHat Linux 5.2 with perl 5.00503.  Can one of
you give me a clue what to do here -- some sort of header conflict?  Maybe
one of you can point me in the right direction.  Here's the correspondence
I've had with the Date::Calc author:
 
> Here's what I got:
> 
> #make
> cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -02 -DVERSION=\"4.2\"
-DXS_VERSION=\"4.2\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE Calc.c
> In file included from Calc.xs:15:
> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2546: redefinition of 'union
semun'

This is a conflict between perl.h and one of your system header files
(probably one of "/usr/include/*.h"), it has nothing to do with my module.

> make: *** [Calc.o] Error 1
> #

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list