Skip to content

[BUG]Mandatory virutal environment for python makes the configure script fail #322

@Boorhin

Description

@Boorhin

🐛 Bug report

Description of the bug
In new Linux kernels (I am on Ubuntu 24) All user installs should be within a virtual environment. However scons install uses a --user flag which is incompatible with venv (recommended). I tried both within and outside a virtual environment and both crash the madagascar configure install script

To Reproduce
In Ubuntu 24.04 or similar kernel run ./configure within a virtual environment and outside.

Expected behavior

Install scons within a virtual environment

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 24.04
  • 6.14.0-37-generic

** Additional comments
in the configure script a test for a virtual environment should be performed or an advice to install scons in the virtual environment before?

(venv) $ pip install scons
Collecting scons
  Downloading scons-4.10.1-py3-none-any.whl.metadata (9.7 kB)
Downloading scons-4.10.1-py3-none-any.whl (4.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.1/4.1 MB 6.8 MB/s eta 0:00:00
Installing collected packages: scons
Successfully installed scons-4.10.1
(venv) $

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions