Just a heads-up in case anyone is interested: I've played with
building trafficserver on opensolaris/AMD64.  Since I need to
be in a fit state tomorrow I'm knocking off now rather than
running a potentially-all-night session, so here's progress
to date:

1.  Make a copy of trunk
2.  Run autoconf and configure - FAIL
3.  Browse to TS-11.  Try the latest patch: it's in a format
    neither I nor patch recognise.  Try Theo's patch: mostly
    works; go through the failures by hand.
4.  Run autoconf and configure - fails with Sun CC testing
    for and failing to find something in libssl.  But gcc
    is happy, so I take that as path of least resistance.
    Also required a brief diversion to install libdb4.
5.  Build: the first problem was __WORDSIZE undetined
    (it had detected my arch as i586)!  Added it to CFLAGS.
6.  libinktomi++: several places where it complained of
    conversions to different size, so I had to add casts.
7.  madvise() is undefined.  The declarations of madvise
    in sys/mman.h are encased in #ifs, and I guess what it
    needs is the right CFLAGS.  Workaround by reverting
    to the no-madvise code.
8.  STL trouble: it's complaining of templates being
    redefined (within a single .h files).  Clearly a
    case of needing the right CFLAGS to deal with the
    templates, but that's where I've stopped for tonight.

I don't know when I'll return to this, but I expect I'll
finish the job and post some patches in the not-too-distant.

Reply via email to