Re: perl 5.10.0 / osx 10.5.2 'make' dies at "error: redefinition of 'union semun'"

[email protected] (snowcrash+perl)
Newsgroups perl.macosx
Message-ID <[email protected]>
hi edward,

On Wed, Mar 5, 2008 at 10:34 AM, Edward Moy <[email protected]> wrote:
> When I build 5.10.0, I don't have this problem.  In config.h, I have:
>
>
> #define HAS_UNION_SEMUN /**/
>
> Did you run Configure

yes

> and does your config.h define HAS_UNION_SEMUN?

if i

  ./Configure -Dfirstmakefile='GNUmakefile' ...

as usual,

 grep HAS_UNION_SEMUN config.h
  /* HAS_UNION_SEMUN:
  /*#define HAS_UNION_SEMUN	/ **/

after digging abt in perl src, i note that if i *ADD*

  ./Configure -Dfirstmakefile='GNUmakefile' ... -Dd_union_semun

then,

  grep HAS_UNION_SEMUN config.h
   /* HAS_UNION_SEMUN:
   #define HAS_UNION_SEMUN	/**/

and, subsequent

   make

seems happy with that.

so, the question is -- why's it need to be defined on my system, and
not on yours?

did _you_ run Configure? or the default install?

thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.