Red Hat Bugzilla – Bug 3363
Error compiling DBI
Last modified: 2008-05-01 11:37:50 EDT
DBI 1.02 no longer compiles with perl as shipped with RedHat
6.0 (it did with RedHat 5.2).
gcc rightly complains about the semun union being defined
twice: once in /usr/src/linux/include/linux/sem.h and once
As a work around removing the comments around the definition
of HAS_UNION_SEMUN in
/usr/lib/perl5/5.00503/i386-linux/CORE/config.h at line
1710 fixes the problem.
This issue has been forwarded to a developer for further action.
Why is DBI including /usr/src/linux/include/linux/sem.h? The user
space programs should not include the kernel header files directly.