[Scons-users] unable to install scons-3.1.2 locally from src on centos 7.9 with python3.6

Steve Hill (Wireless) Steve.Hill1 at viavisolutions.com
Tue Aug 3 11:50:27 EDT 2021


Yes, the venv is per-user so I have a script that the user runs to create and populate the venv for them. Actually, the script that they run to invoke scons actually creates it before invoking scons and, if there is a pre-existing one, validates that it is up-to-date – updating it if necessary.

S.

From: Scons-users <scons-users-bounces at scons.org> On Behalf Of daggs
Sent: 03 August 2021 16:28
To: scons-users at scons.org
Cc: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] unable to install scons-3.1.2 locally from src on centos 7.9 with python3.6

Greetings Bill,

I'm bounded to what the distro has to offer, I didn't know python36-scons exists, if it does, than most probably that this will suffice.
if not, than I'm note sure virtualenv will do as I need to export that installation to other users. if I'm not mistaken, virtualenv is per user, no?

Thanks,

Dagg


Sent: Tuesday, August 03, 2021 at 6:16 PM
From: "Bill Deegan" <bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>>
To: "SCons users mailing list" <scons-users at scons.org<mailto:scons-users at scons.org>>
Subject: Re: [Scons-users] unable to install scons-3.1.2 locally from src on centos 7.9 with python3.6
Dagg,

As Steve mentioned, virtualenv is really a good way to resolve this.

BTW. any reason you can't use a newer SCons version?

-Bill
SCons Project Co-Manager

On Tue, Aug 3, 2021 at 8:08 AM daggs <daggs at gmx.com<mailto:daggs at gmx.com>> wrote:
Greetings Mats,

> Sent: Tuesday, August 03, 2021 at 5:14 PM
> From: "Mats Wichmann" <mats at wichmann.us<mailto:mats at wichmann.us>>
> To: scons-users at scons.org<mailto:scons-users at scons.org>
> Subject: Re: [Scons-users] unable to install scons-3.1.2 locally from src on centos 7.9 with python3.6
>
> On 8/3/21 6:45 AM, daggs wrote:
> > Greetings,
> >
> > I need to run scons 3.1.2 on centos 7.9 using the latest python the os has to offer (python 3.6.x) but the system's scons is bind to python 2.7.x so I', trying to install it manually.
> > I've downloaded the src, unpacked it, entered scons-3.1.2/src and ran the following command: python3 setup.py install --prefix=/home/daggs/newscons as the manual stats.
> >
> > but the installation fails with the following error: file '/home/daggs/src/scons/scons-3.1.2/src/script/scons' does not exist
> > under /home/daggs/src/scons/scons-3.1.2/src/script/scons there is no scons file but there is scons.po
> >
> > full log at https://dpaste.org/2w9B<https://urldefense.com/v3/__https:/dpaste.org/2w9B__;!!Niha4SQ!vYkai72CHsqPW3Bm5r8cW0zRpYguHdSfZ3LqIkfihpGEjIZN_x949rqVC5JxzVrtz5oqkw_F$>
> >
> > what am I missing?
> >
>
> You're missing that CentOS has a package for what you need...
>
> yum install python36-scons
>
> (call it as scons-3, not scons)

thanks, I'll check it out

Dagg
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users<https://urldefense.com/v3/__https:/pairlist4.pair.net/mailman/listinfo/scons-users__;!!Niha4SQ!vYkai72CHsqPW3Bm5r8cW0zRpYguHdSfZ3LqIkfihpGEjIZN_x949rqVC5JxzVrtzwTHObZC$>
_______________________________________________ Scons-users mailing list Scons-users at scons.org<mailto:Scons-users at scons.org> https://pairlist4.pair.net/mailman/listinfo/scons-users<https://urldefense.com/v3/__https:/pairlist4.pair.net/mailman/listinfo/scons-users__;!!Niha4SQ!vYkai72CHsqPW3Bm5r8cW0zRpYguHdSfZ3LqIkfihpGEjIZN_x949rqVC5JxzVrtzwTHObZC$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20210803/3880ebdf/attachment-0001.htm>


More information about the Scons-users mailing list