pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40560: pkgsrc2008Q4 lang/perl5 fails to build on OpenSolaris/SPARC



>Number:         40560
>Category:       pkg
>Synopsis:       pkgsrc2008Q4 lang/perl5 fails to build on OpenSolaris/SPARC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 05 21:00:01 +0000 2009
>Originator:     Palle Lyckegaard
>Release:        
>Organization:
>Environment:
SunOS odin 5.11 snv_90 sun4u sparc SUNW,Ultra-5_10

>Description:
Trying to build pkgsrc2008Q4 lang/perl5 on OpenSolaris/SPARC, but fails:

In file included from perl.h:1396,
                 from miniperlmain.c:36:
/usr/include/sys/mode.h:49: error: array type has incomplete element type


>How-To-Repeat:

>Fix:
--- work/perl-5.10.0/perl.h     Thu Feb  5 21:46:49 2009
+++ work/perl-5.10.0/perl.h.original    Thu Feb  5 21:29:57 2009
@@ -1393,10 +1393,6 @@
  */
 
 #if defined(I_SYSMODE) && !defined(PERL_MICRO)
-#if defined(__sun__)
-#include <sys/stat.h>
-#include <sys/vnode.h>
-#endif
 #include <sys/mode.h>
 #endif



Home | Main Index | Thread Index | Old Index