in reply to Re: IPv6 and TRU64
in thread IPv6 and TRU64

Thanks for the reply. ./Configure goes fine (I am building with thread support enabled). When I do make, compilation of ext/Socket/Socket.c fails with this error:
make[1]: Entering directory `/usr/local/tmp/perl-5.14.0/ext/Socket' cc -c -pthread -std1 -D_INTRINSICS -fprm d -ieee -trapuv -readonly_s +trings -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"1.94\" -DX +S_VERSION=\"1.94\" "-I../.." Socket.c cc: Error: Socket.xs, line 666: In this declaration, "sin6" has no lin +kage and is of an incomplete type. (incompnolink) struct sockaddr_in6 sin6; ----------------------------^ cc: Error: Socket.xs, line 703: In this declaration, "sin6" has no lin +kage and is of an incomplete type. (incompnolink) struct sockaddr_in6 sin6; ----------------------------^ make[1]: *** [Socket.o] Error 1 make[1]: Leaving directory `/usr/local/tmp/perl-5.14.0/ext/Socket' Unsuccessful make(ext/Socket): code=512 at make_ext.pl line 463. make: *** [lib/auto/Socket/Socket.so] Error 2

Replies are listed 'Best First'.
Re^3: IPv6 and TRU64
by Corion (Patriarch) on Aug 02, 2011 at 09:28 UTC

    I see you are trying to compile Perl 5.14.0 - is there any particular reason why you are not compiling 5.14.1, which might already fix your issue?

    Other than that, I would still look at the output of ./Configure and check whether (or why) it detects that you have IPv6 socket support. If it correctly claims that you don't have it, this would be a "simple" error in Socket.xs. If it incorrectly claims that you have IPv6 support, it's a matter of fixing Configure, or of moving the code that "works" for Configure to also work in real life.

      Thanks. I tried 5.14.1 as well but same result. How can I capture configure output? Does it log it somewhere?