pkgsrc-Bugs archive

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

pkg/52245: devel/libuv does not compile on Solaris 10



>Number:         52245
>Category:       pkg
>Synopsis:       devel/libuv does not compile on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 19 09:15:00 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
devel/libuv fails on Solaris 10 with

  CC       src/unix/libuv_la-sunos.lo
src/unix/sunos.c:32:22: fatal error: ifaddrs.h: No such file or directory
 # include <ifaddrs.h>
                      ^
compilation terminated.
>How-To-Repeat:

>Fix:
Defining SUNOS_NO_IFADDRS fixes this, but this is not done automatically, e.g. by the configure script.

A reasonably wrapped

CFLAGS+=-DSUNOS_NO_IFADDRS

so that this is only triggered on Solaris 10 (Solaris 11 does not need this workaround) should do it.



Home | Main Index | Thread Index | Old Index