LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2021, 05:35 PM   #1
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
Question 'make test' for installing Python takes how many hours to finish?? Mine is running for more than 8h!


Today, i downloaded Python 3.9.2 from python.org (MD5 sum and signature verified), then i read README.srt file, saw the instructions asking to do 4 commands:

Code:
    ./configure
    make
    make test
    sudo make install
'make test' for Python takes how many hours to finish?? Mine is running for more than 8h!

'make' did not take long to finish. But 'make test' started at 11:02:29, now is 19:29:13, and the command is still running! More than 8h and 20 minutes long! The computer has a 2700.000 MHz processor, with 4 cores. In the first hours, all the CPUs were being used close to 100%. But now, they are fairly stable around 50% (all the 4, as i checked in the system monitor a few times).

Is this the normal time for Python testing itself?

Last edited by dedec0; 03-28-2021 at 10:50 PM.
 
Old 03-28-2021, 11:58 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Just wondering...
In the web instructions there is a warning.
In the README.rst there is a section below Testing called "Installing Multiple Versions" which is mostly regarding installing multiple versions from source. But between the two, I'm guessing there may be a problem with "default python version", which could have been another version preinstalled beforehand.

EDIT: python3 is linked to which python-3*?

Last edited by Brains; 03-29-2021 at 12:04 AM.
 
Old 03-29-2021, 03:03 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Why not just install it using your distros package manager?

Even Debian has 3.9.2.
apt policy python3
python3:
Installed: 3.9.2-2
Candidate: 3.9.2-2
 
Old 03-29-2021, 05:34 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Anyway, most people who build software from source don't do the tests. Even a lot of Linux From Scratch builders don't do them except for really essential bits like glibc and gcc.
 
1 members found this post helpful.
Old 04-05-2021, 12:42 PM   #5
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by craigevil View Post
Why not just install it using your distros package manager?

Even Debian has 3.9.2.
apt policy python3
python3:
Installed: 3.9.2-2
Candidate: 3.9.2-2
Because i am not always using the latest version of Debian. I keep the distribution for some time. And there is a project i was installing which demands python version to be 3.9.2 or later (!).

Why Python 3.9.2 does not appear in

https://packages.debian.org/search?keywords=Python

?
 
Old 04-06-2021, 01:51 AM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by dedec0 View Post
Why Python 3.9.2 does not appear in

https://packages.debian.org/search?keywords=Python

?
Because you searched for Python, not Python3
 
1 members found this post helpful.
Old 04-06-2021, 09:30 AM   #7
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Brains View Post
Because you searched for Python, not Python3
Really "intuitive"... not. >:-(

Anyway, i have Debian Stretch, which is old stable, right now. I plan to keep it until it passes the "old old stable" phase. It does not have a Python 3.9.2 package. Is it an argument to open a bug in the project that wants only python from and above this version?
 
Old 04-06-2021, 09:41 AM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Because you searched instead of checking the version
Code:
$ python -V
Python 3.9.2

$ python3 -V
Python 3.9.2

$ python2 -V
Python 2.7.18
And of course it is not a bug.
Packages are written with specific dependencies because that is what the developer wants / needs for that package to work now and in the near future. The developer cannot know what distro & version you are using nor can he know what versions of the different apps you might have installed; he can only know what is required for his package to work.

It is up to you to make certain your machine meets the requirements if you want to use that particular package. I would guess from your description that it is possible that you only have python2 installed. If so then install python3 and you might have what is needed. Python2 & python3 can live together as you see above.

Last edited by computersavvy; 04-06-2021 at 09:47 AM.
 
Old 04-06-2021, 11:00 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
https://tecadmin.net/how-to-install-...9-on-debian-9/
 
  


Reply

Tags
make, python



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Stella takes CentOS (which takes RHEL) and adds many of the desktop packages you're missing; a LXer Syndicated Linux News 0 08-11-2012 10:33 PM
LXer: 5daysprofitable: A corporate web site, start to finish, in 4 hours LXer Syndicated Linux News 0 01-17-2012 12:51 PM
[SOLVED] Running many tasks in parallel, but more clever than "make -j"? Guttorm Programming 5 04-29-2011 01:25 PM
LXer: This takes the cake (and make mine chocolate!) LXer Syndicated Linux News 0 10-06-2009 06:01 PM
fsck.ext3 takes more than 6 hours ! How to speed that up ? saavik Linux - Server 3 07-14-2009 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration