Re: [Jack-Devel] jack2 fail to build the doc; configure question

PrevNext  Index
DateFri, 09 Nov 2012 20:03:18 +0100
From Dominique Michel <[hidden] at vtxnet dot ch>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToAdrian Knoth Re: [Jack-Devel] jack2 fail to build the doc; configure question
Le Fri, 09 Nov 2012 13:17:44 +0100,
Adrian Knoth <[hidden]> a écrit :

> On 11/08/2012 11:46 PM, Dominique Michel wrote:
> 
> > On gentoo, when building jack2 from git, it work fine, but when I
> > want the doxygen documentation, I get:
> 
> For now, run doxygen in the toplevel directory. Don't pass --doxygen
> to waf, it's broken:
> 
>    https://github.com/jackaudio/jack2/issues/22

Thanks, it work fine. It was late here, and I was so surprised that I
didn't searched, sorry.

> 
> >    --alsa --dbus --doxygen" ... CCFLAGS="-march=native -O2 -pipe
> > -ggdb"
> 
> It's CFLAGS now, no longer CCFLAGS.

It look like jack understand it. In the full configure output, I get:

C compiler flags        :  ['-march=native', '-O2', '-pipe', '-ggdb',
'-Wall'] 
C++ compiler flags      :  ['-march=native', '-O2', '-pipe', '-ggdb',
'-Wall']

> 
> > When running "./waf --help", I see no option to configure Opus
> > netjack2. Is it enough to make jack2 to depend on celt and opus in
> > order to get Opus netjack2 support? Or is it some non documented
> > configure option for that?
> 
>     conf.env['WITH_OPUS'] = False
>     if conf.check_cfg(package='opus', atleast_version='0.9.0' ,
> args='--cflags --libs', mandatory=False):
>         if conf.check_cc(header_name='opus/opus_custom.h',
> mandatory=False): conf.define('HAVE_OPUS', 1)
>             conf.env['WITH_OPUS'] = True
> 
> Read: if you have Opus installed, it will be detected and
> automatically built.
> 

Thanks, it work fine too. And opus custom modes are enabled by default
on gentoo.

Dominique

> 
> HTH
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org


-- 
"We have the heroes we deserve."
PrevNext  Index

1352484335.32264_0.ltw:2,a <20121109200318.115d2543 at tuxstudio>