添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Can't compile Node 16.10.0 from sources on Ubuntu 20.04 #40218

Closed
@mvoronin

Description

@mvoronin

Version

No response

Platform

Linux 5.11.0-36-generic Ubuntu 20.04

Subsystem

No response

What steps will reproduce the bug?

  • Download node-v16.10.0.tar.gz
  • Unpack
  • run ./configure
  • How often does it reproduce? Is there a required condition?

    Every time

    What is the expected behavior?

    No response

    What do you see instead?

    $ ./configure
    Node.js configure: Found Python 3.9.7...
    Traceback (most recent call last):
      File "/home/mvrn/sources/node-v16.10.0/./configure", line 26, in <module>
        import configure
      File "/home/mvrn/sources/node-v16.10.0/configure.py", line 14, in <module>
        import bz2
      File "/home/mvrn/.localdev/lib/python3.9/bz2.py", line 18, in <module>
        from _bz2 import BZ2Compressor, BZ2Decompressor
    ModuleNotFoundError: No module named '_bz2'
    

    Additional information

    I have bzip2 and libbz2-dev installed on my Ubuntu.

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Assignees

    No one assigned

    Labels

    build Issues and PRs related to build files or the CI. invalid Issues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions