Re: make error while installing on Solaris 10

Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> Wed, 08 Jun 2011 20:29:55 +0400
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <[email protected]>
Hi Jawahar.

On Mon, 6 Jun 2011 12:03:55 -0400, "Jawahar Balakrishnan (JB)" <[email protected]> wrote:
> I tried version 4.3.2 and 4.0.11 but i get the same error when i
> execute make. Any ideas/thoughts will be appreciated.
> 

The errors are in code related to IPv6 network aliases creation.
Unfortunately, there is no portable API for this stuff and there is no
Solaris support in Polygraph (our primary platforms are Linux and
FreeBSD).  As a quick hack, you may try commenting out the following
define in src/xstd/InetIfReq.h:

  // Assume we are on Linux if here
  #define HAVE_TYPE_LINUX_IN6_IFREQ 1

This hack should work for you as long as you do not use IPv6 aliases.
Hopefully, the rest of the code would build fine.

I opened bug #794650 [1] on Launchpad to track Solaris build issues.

Regards,
  Dmitry

[1] https://bugs.launchpad.net/polygraph/+bug/794650

> InetIfReq.cc: In constructor âInet6IfAliasReq::Inet6IfAliasReq(const
> String&, const InAddress&, const InAddress&)â:
> InetIfReq.cc:38: error: âSIOCGIFINDEXâ was not declared in this scope
> InetIfReq.cc:40: error: âstruct ifreqâ has no member named âifr_ifindexâ
> make[3]: *** [InetIfReq.o] Error 1
> 
> Thanks
> JB
> _______________________________________________
> Users mailing list
> [email protected]
> http://www.web-polygraph.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://www.web-polygraph.org/mailman/listinfo/users