Bison not optional anymore.

On Wed, Nov 20, 2024 at 4:41 PM Chary Chary <[email protected]> wrote:

>
>
> On Wednesday, November 20, 2024 at 10:08:38 PM UTC+1 [email protected]
> wrote:
>
>
> python -m pip install --no-build-isolation -e .
>
>
>
> Dan, thanks.
>
> this installation also seems to require bison. I tried to install it
> manually as well as the winflexbison
> <https://github.com/lexxmark/winflexbison>, but I still get an error
>
> But I also understand that bison is optional?
>
> C:\_code\py\beancount>python -m pip install --no-build-isolation -e .
> Obtaining file:///C:/_code/py/beancount
>   Checking if build backend supports build_editable ... done
>   Preparing editable metadata (pyproject.toml) ... error
>   error: subprocess-exited-with-error
>
>   × Preparing editable metadata (pyproject.toml) did not run successfully.
>   │ exit code: 1
>   ╰─> [18 lines of output]
>       + meson setup C:\_code\py\beancount
> C:\_code\py\beancount\build\cp312 -Dbuildtype=release -Db_ndebug=if-release
> -Db_vscrt=md
> --native-file=C:\_code\py\beancount\build\cp312\meson-python-native-file.ini
>       The Meson build system
>       Version: 1.6.0
>       Source dir: C:\_code\py\beancount
>       Build dir: C:\_code\py\beancount\build\cp312
>       Build type: native build
>       Project name: beancount
>       Project version: 3.1.0.dev0
>       Activating VS 17.11.6
>       C compiler for the host machine: cl (msvc 19.41.34123 "Microsoft (R)
> C/C++ Optimizing Compiler Version 19.41.34123 for x64")
>       C linker for the host machine: link link 14.41.34123.0
>       Host machine cpu family: x86_64
>       Host machine cpu: x86_64
>       Program bison found: NO
>
>       ..\..\meson.build:3:8: ERROR: Program 'bison' not found or not
> executable
>
>       A full log can be found at
> C:\_code\py\beancount\build\cp312\meson-logs\meson-log.txt
>       [end of output]
>
>   note: This error originates from a subprocess, and is likely not a
> problem with pip.
>
> [notice] A new release of pip is available: 24.2 -> 24.3.1
> [notice] To update, run: python.exe -m pip install --upgrade pip
> error: metadata-generation-failed
>
> × Encountered error while generating package metadata.
> ╰─> See above for output.
>
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
>
> C:\_code\py\beancount>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/beancount/96c94c32-48e9-49d3-843e-0551f558c139n%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/96c94c32-48e9-49d3-843e-0551f558c139n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhMVPkDQ8TwK3sK4Vf6VbF_fQedMyGcpZt4CWzdpLLFkjw%40mail.gmail.com.

Reply via email to