You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Aleksey Kluchnikov <al...@ximad.com> on 2012/12/19 08:22:39 UTC

Freebsd compiling (was: memory management enhancement in TS-1006)

* James Peach <jp...@apache.org> [2012-12-18 22:01:28 -0800]:

> On 18/12/2012, at 9:53 PM, Aleksey Kluchnikov <al...@ximad.com> wrote:
> 
> I expect that these should apply to master. Pull the current development tree using "git clone git://git.apache.org/trafficserver.git", and apply onto that. I think you are almost there!
> 

Tnx. Patch is successful with development tree. 
But i get get compiling errors under my freebsd 9.1


git clone ..
patch < ...

>From README:
autoreconf -i
./configure


Get compile error.

Without pathes:
]>make
.... skiped
  CXX      MatcherUtils.lo
  CXX      MimeTable.lo
  CXX      MMH.lo
  CXX      ParseRules.lo
ParseRules.cc:34:27: error: ParseRulesCType: No such file or directory
ParseRules.cc:37:34: error: ParseRulesCTypeToUpper: No such file or
directory
ParseRules.cc:40:34: error: ParseRulesCTypeToLower: No such file or
directory
*** [ParseRules.lo] Error code 1


With patches:
]>make       
Making all in proxy/api/ts
Making all in iocore
Making all in eventsystem
  CXX      EventSystem.o
In file included from ../../lib/ts/libts.h:68,
                 from P_EventSystem.h:39,
                 from EventSystem.cc:31:
../../lib/ts/ink_queue.h:42:22: error: ink_list.h: No such file or
directory
In file included from ../../lib/ts/libts.h:68,
                 from P_EventSystem.h:39,
                 from EventSystem.cc:31:
../../lib/ts/ink_queue.h:159: error: 'ink_list' does not name a type
../../lib/ts/ink_queue.h:186: error: 'ink_list' does not name a type
*** [EventSystem.o] Error code 1

Stop in /usr/home/alexs/work/ATS/a/iocore/eventsystem.
*** [all-recursive] Error code 1

Stop in /usr/home/alexs/work/ATS/a/iocore.
*** [all-recursive] Error code 1

Stop in /usr/home/alexs/work/ATS/a.


-- 
Aleksey Kluchnikov

Re: Freebsd compiling (was: memory management enhancement in TS-1006)

Posted by Aleksey Kluchnikov <al...@ximad.com>.
* Igor Gali?? <i....@brainsware.org> [2012-12-19 08:28:25 +0000]:

> 
> 
> ----- Original Message -----
> > * James Peach <jp...@apache.org> [2012-12-18 22:01:28 -0800]:
> > 
> > > On 18/12/2012, at 9:53 PM, Aleksey Kluchnikov <al...@ximad.com>
> > > wrote:
> > > 
> > > I expect that these should apply to master. Pull the current
> > > development tree using "git clone
> > > git://git.apache.org/trafficserver.git", and apply onto that. I
> > > think you are almost there!
> > > 
> > 
> > Tnx. Patch is successful with development tree.
> > But i get get compiling errors under my freebsd 9.1
> > 
> > 
> > git clone ..
> > patch < ...
> > 
> > From README:
> > autoreconf -i
> > ./configure
> > 
> > 
> > Get compile error.
> > 
> > Without pathes:
> > ]>make
> > .... skiped
> >   CXX      MatcherUtils.lo
> >   CXX      MimeTable.lo
> >   CXX      MMH.lo
> >   CXX      ParseRules.lo
> > ParseRules.cc:34:27: error: ParseRulesCType: No such file or
> > directory
> > ParseRules.cc:37:34: error: ParseRulesCTypeToUpper: No such file or
> > directory
> > ParseRules.cc:40:34: error: ParseRulesCTypeToLower: No such file or
> > directory
> > *** [ParseRules.lo] Error code 1
> 
> We require GNU make for this to work correctly.


]>gmake -v
GNU Make 3.82
]>gmake
And compile is ok.

With patches:
]>gmake       
Making all in proxy/api/ts
gmake[1]: Entering directory `/usr/home/alexs/work/ATS/a/proxy/api/ts'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/home/alexs/work/ATS/a/proxy/api/ts'
Making all in iocore
gmake[1]: Entering directory `/usr/home/alexs/work/ATS/a/iocore'
Making all in eventsystem
gmake[2]: Entering directory
`/usr/home/alexs/work/ATS/a/iocore/eventsystem'
  CXX      EventSystem.o
In file included from ../../lib/ts/libts.h:68,
                 from P_EventSystem.h:39,
                 from EventSystem.cc:31:
../../lib/ts/ink_queue.h:42:22: error: ink_list.h: No such file or
directory
In file included from ../../lib/ts/libts.h:68,
                 from P_EventSystem.h:39,
                 from EventSystem.cc:31:
../../lib/ts/ink_queue.h:159: error: 'ink_list' does not name a type
../../lib/ts/ink_queue.h:186: error: 'ink_list' does not name a type
gmake[2]: *** [EventSystem.o] Error 1
gmake[2]: Leaving directory `/usr/home/alexs/work/ATS/a/iocore/eventsystem'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/alexs/work/ATS/a/iocore'
gmake: *** [all-recursive] Error 1



> 
> > With patches:
> > ]>make
> > Making all in proxy/api/ts
> > Making all in iocore
> > Making all in eventsystem
> >   CXX      EventSystem.o
> > In file included from ../../lib/ts/libts.h:68,
> >                  from P_EventSystem.h:39,
> >                  from EventSystem.cc:31:
> > ../../lib/ts/ink_queue.h:42:22: error: ink_list.h: No such file or
> > directory
> > In file included from ../../lib/ts/libts.h:68,
> >                  from P_EventSystem.h:39,
> >                  from EventSystem.cc:31:
> > ../../lib/ts/ink_queue.h:159: error: 'ink_list' does not name a type
> > ../../lib/ts/ink_queue.h:186: error: 'ink_list' does not name a type
> > *** [EventSystem.o] Error code 1
> > 
> > Stop in /usr/home/alexs/work/ATS/a/iocore/eventsystem.
> > *** [all-recursive] Error code 1
> > 
> > Stop in /usr/home/alexs/work/ATS/a/iocore.
> > *** [all-recursive] Error code 1
> > 
> > Stop in /usr/home/alexs/work/ATS/a.
> > 
> > 
> > --
> > Aleksey Kluchnikov
> > 
> 
> -- 
> Igor Gali??
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

-- 
Aleksey Kluchnikov

Re: Freebsd compiling (was: memory management enhancement in TS-1006)

Posted by Igor Galić <i....@brainsware.org>.

----- Original Message -----
> * James Peach <jp...@apache.org> [2012-12-18 22:01:28 -0800]:
> 
> > On 18/12/2012, at 9:53 PM, Aleksey Kluchnikov <al...@ximad.com>
> > wrote:
> > 
> > I expect that these should apply to master. Pull the current
> > development tree using "git clone
> > git://git.apache.org/trafficserver.git", and apply onto that. I
> > think you are almost there!
> > 
> 
> Tnx. Patch is successful with development tree.
> But i get get compiling errors under my freebsd 9.1
> 
> 
> git clone ..
> patch < ...
> 
> From README:
> autoreconf -i
> ./configure
> 
> 
> Get compile error.
> 
> Without pathes:
> ]>make
> .... skiped
>   CXX      MatcherUtils.lo
>   CXX      MimeTable.lo
>   CXX      MMH.lo
>   CXX      ParseRules.lo
> ParseRules.cc:34:27: error: ParseRulesCType: No such file or
> directory
> ParseRules.cc:37:34: error: ParseRulesCTypeToUpper: No such file or
> directory
> ParseRules.cc:40:34: error: ParseRulesCTypeToLower: No such file or
> directory
> *** [ParseRules.lo] Error code 1

We require GNU make for this to work correctly.

> With patches:
> ]>make
> Making all in proxy/api/ts
> Making all in iocore
> Making all in eventsystem
>   CXX      EventSystem.o
> In file included from ../../lib/ts/libts.h:68,
>                  from P_EventSystem.h:39,
>                  from EventSystem.cc:31:
> ../../lib/ts/ink_queue.h:42:22: error: ink_list.h: No such file or
> directory
> In file included from ../../lib/ts/libts.h:68,
>                  from P_EventSystem.h:39,
>                  from EventSystem.cc:31:
> ../../lib/ts/ink_queue.h:159: error: 'ink_list' does not name a type
> ../../lib/ts/ink_queue.h:186: error: 'ink_list' does not name a type
> *** [EventSystem.o] Error code 1
> 
> Stop in /usr/home/alexs/work/ATS/a/iocore/eventsystem.
> *** [all-recursive] Error code 1
> 
> Stop in /usr/home/alexs/work/ATS/a/iocore.
> *** [all-recursive] Error code 1
> 
> Stop in /usr/home/alexs/work/ATS/a.
> 
> 
> --
> Aleksey Kluchnikov
> 

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE