craft dev-utils/bison

Fábián Kristóf fkristofszabolcs at gmail.com
Wed Oct 24 20:48:03 BST 2018


Hi Hannah,

Thanks for the clarification, just tried to see what happens if I try to
install winflexbison (which should be already installed though):

PS D:\Programming\qtmqtt> craft winflexbison
Craft               : C:\CraftRoot
Version             : master
ABI                 : windows-mingw_64-gcc
Download directory  : C:\CraftRoot\download
Failed to find winflexbison:
Craft was unable to find winflexbison

Bests,

Fabian



On Wed, Oct 24, 2018 at 10:25 PM Hannah von Reth <hannah at von-reth.de> wrote:

> Hi Fabian,
>
> Thx for mentioning, yes dev-utils might be added to the path (depends on
> what you need) so we might want to update the instructions in
> https://community.kde.org/Craft#Using_Craft_with_Qt_Creator
>
>
> C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde\dev-utils\_unix\bison\bison.py
> is a unix only package,
> on Windows we use winflexbison which contains a prebuild of both bison and
> flex. That's why bison reports none.
>
> PS: sorry for the late reply but my mail client refuses to send mail by my
> kde email address...
>
> Cheers,
>
> Hannah
>
> On 22/10/2018 15:09, Fábián Kristóf wrote:
>
> Hi,
>
> I just had to configure Craft with Qt Creator and had some issues, one of
> them was that the cmake configuration failed because it could not find
> BISON. At first I thought I don't have BISON installed for real, so then
> I've tried to install BISON with craft, but it always said that I have
> version None installed while actually I had BISON installed previously. The
> actual problem was that I had to add dev-utils/bin to PATH. I think my
> "Installed version" should be 3.0.4 now instead of None.
>
> Thanks,
>
> Fabian Kristof
>
>
> Scenario output below:
>
> PS C:\CraftRoot> craft bison
> Craft               : C:\CraftRoot
> Version             : master
> ABI                 : windows-mingw_64-gcc
> Download directory  : C:\CraftRoot\download
> Failed to find bison:
> Package bison found:
> dev-utils/bison
>     Name: bison
>     BlueprintPath:
> C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde\dev-utils\_unix\bison\bison.py
>     Homepage:
>     Description: Bison is a general-purpose parser generator that converts
> an annotated context-free grammar into a dete
> rministic LR or generalized LR (GLR) parser employing LALR(1) parser tables
>     Tags:
>     Latest version: 3.0.4
>     Installed versions: None
>     Installed revision: None
>
>     Available versions: master, 3.0.4
>
> PS C:\CraftRoot> craft dev-utils/bison
> Craft               : C:\CraftRoot
> Version             : master
> ABI                 : windows-mingw_64-gcc
> Download directory  : C:\CraftRoot\download
>
>
> PS C:\CraftRoot> craft -i dev-utils/bison
> Craft               : C:\CraftRoot
> Version             : master
> ABI                 : windows-mingw_64-gcc
> Download directory  : C:\CraftRoot\download
>
>
> PS C:\CraftRoot> craft --search dev-utils/bison
> Craft               : C:\CraftRoot
> Version             : master
> ABI                 : windows-mingw_64-gcc
> Download directory  : C:\CraftRoot\download
> Package dev-utils/bison found:
> dev-utils/bison
>     Name: bison
>     BlueprintPath:
> C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde\dev-utils\_unix\bison\bison.py
>     Homepage:
>     Description: Bison is a general-purpose parser generator that converts
> an annotated context-free grammar into a dete
> rministic LR or generalized LR (GLR) parser employing LALR(1) parser tables
>     Tags:
>     Latest version: 3.0.4
>     Installed versions: None
>     Installed revision: None
>
>     Available versions: master, 3.0.4
>
> PS C:\CraftRoot>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20181024/66511fca/attachment-0001.html>


More information about the Kde-windows mailing list