Boost logo

Boost-Build :

Subject: Re: [Boost-build] gcc barfs with ERROR: rule "qt.init" unknown in module "toolset".
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-05-07 09:08:55


On 07/05/2016 15:37, Francis (Grizzly) Smit wrote:
> I'm trying to install boost-build from git and I get the following error
>
> sudo ./b2 install
> /home/grizzlysmit/Downloads/boost/build/src/build/toolset.jam:43: in toolset.using
> ERROR: rule "qt.init" unknown in module "toolset".
> /home/grizzlysmit/Downloads/boost/build/src/build/project.jam:1052: in using
> /home/grizzlysmit/user-config.jam:86: in modules.load
> /home/grizzlysmit/Downloads/boost/build/src/build-system.jam:249: in load-config
> /home/grizzlysmit/Downloads/boost/build/src/build-system.jam:389: in load-configuration-files
> /home/grizzlysmit/Downloads/boost/build/src/build-system.jam:524: in load
> /home/grizzlysmit/Downloads/boost/build/src/kernel/modules.jam:295: in import
> /home/grizzlysmit/Downloads/boost/build/src/kernel/bootstrap.jam:139: in boost-build
> /home/grizzlysmit/Downloads/boost/build/boost-build.jam:8: in module scope
>
> what gives

Francis,

this is quite strange. Do you have any of

        /home/grizzlysmit/Downloads/boost/build/src/tools/qt.jam
        /home/grizzlysmit/Downloads/boost/build/src/tools/qt5.jam

Can you modify /home/grizzlysmit/user-config.jam:86 to have

        using qt5 ;

as opposed to

        using qt ;

?

-- 
Vladimir Prus
http://vladimirprus.com

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk