Both gyp and autoconf failed due to various non-portable assumptions. I'm building on Linux, Solaris and MacOS and I recall the meta-build junk only worked on Linux.
On Thursday, January 14, 2016 at 12:15:05 PM UTC-8, Saúl Ibarra Corretgé wrote: > > Did you try autoconf? (I guess you tried to make GYP work, right?) > On Jan 14, 2016 21:13, "Chris Newman" <[email protected] <javascript:>> > wrote: > >> >> On Wednesday, January 13, 2016 at 12:16:07 AM UTC-8, John Green wrote: >>> >>> Has anybody had success build libuv on Solaris 10? >>> >> >> I was able to build libuv on Solaris 10. The meta-meta-build system libuv >> uses is non-portable and way too complex so I gave up trying to get that to >> work. I just wrote my own gmake Makefile for the package and it built fine >> using Solaris Studio. Key stuff is: >> >> BUILD_OS:=$(subst /,_,$(shell uname -s)) >> >> UV_SRCS = unix/async.c unix/core.c unix/dl.c unix/fs.c unix/getaddrinfo.c >> \ >> unix/getnameinfo.c unix/loop-watcher.c unix/loop.c unix/pipe.c \ >> unix/poll.c unix/process.c unix/signal.c unix/stream.c unix/tcp.c >> \ >> unix/thread.c unix/timer.c unix/tty.c unix/udp.c \ >> uv-common.c threadpool.c version.c fs-poll.c inet.c >> >> ifeq ($(BUILD_OS),SunOS) >> UV_CFLAGS += -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DSUNOS_NO_IFADDRS -v >> -mt -xcode=pic32 >> UV_SRCS += unix/sunos.c >> UV_LDFLAGS=-G -z direct -z defs -z text -xnorunpath -pthread -ldl -lrt >> -lsocket -lnsl -lsendfile -lkstat -lc >> endif >> >> I leave the rest as an exercise for the reader. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "libuv" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at https://groups.google.com/group/libuv. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
