LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2019, 08:40 PM   #106
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479

LFS-9.0 has dropped Python2, They only build Python 3

John
 
Old 09-09-2019, 10:21 AM   #107
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 535

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Of course we're not the only ones having this conversation https://news.ycombinator.com/item?id=20915746
 
1 members found this post helpful.
Old 09-09-2019, 03:22 PM   #108
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Put both Firefox and Python2 in /pasture ?

I mean we had java outside of the clean install for the while it was the main thing all around, and we do ship the alternate browser (Seamonkey) anyways.

It's not that it won't be installed by who depends on it, we merely are moving on...

just my 2c
 
Old 09-09-2019, 03:43 PM   #109
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Doesn't Firefox also uses the ancient autoconf-2.13 still?

I'm all for leaving Firefox out of the install completely.
(Disclaimer: I don't use Firefox anyways, it has turned into a nightmare.)
 
Old 09-09-2019, 05:46 PM   #110
IlyaK
Member
 
Registered: Jun 2017
Location: The Netherlands
Distribution: Debian
Posts: 118

Rep: Reputation: 72
Do you think it is possible to bundle python3 (as system python) and pyenv as tool to install py2 for those, who really need it?

I do not use firefox either. I use chrome from slackbuild.
 
Old 09-09-2019, 06:08 PM   #111
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by SCerovec View Post
Put both Firefox and Python2 in /pasture ?
At the risk of being a broken record, what do you plan to do about llvm?
 
Old 09-09-2019, 07:18 PM   #112
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 535

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
LLVM says Python >= 2.7
https://llvm.org/docs/GettingStarted.html
I'm assuming that means Python2 though > 2 also = 3
 
Old 09-09-2019, 07:24 PM   #113
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by tramtrist View Post
LLVM says Python >= 2.7
https://llvm.org/docs/GettingStarted.html
I'm assuming that means Python2 though > 2 also = 3
It also says "Only needed if you want to run the automated test suite in the llvm/test directory."
 
Old 09-09-2019, 08:11 PM   #114
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by Skaendo View Post
It also says "Only needed if you want to run the automated test suite in the llvm/test directory."
How do you build llvm without the tests? I couldn't figure that out with the current stable version (8.0.1), but maybe it has since been added in the master?

It turns out that python3 support was added recently in upstream llvm, but maybe it will be a while before this in a stable release?

https://github.com/llvm-mirror/llvm/...112d17b0f956d0
 
Old 09-09-2019, 08:24 PM   #115
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
How do you build llvm without the tests? I couldn't figure that out with the current stable version (8.0.1), but maybe it has since been added in the master?

It turns out that python3 support was added recently in upstream llvm, but maybe it will be a while before this in a stable release?

https://github.com/llvm-mirror/llvm/...112d17b0f956d0
Based on the package in Slackware 14.2 which is 3.8.0,

Code:
-DLLVM_BUILD_TESTS=OFF
also
Code:
-DLLVM_INCLUDE_TESTS=OFF
Is what I gather from CMakeLists.txt

But I have not tested or really desire to.

Arch actually has it set to on for 3.8.0
https://git.archlinux.org/svntogit/p...8f235deeba03f1

Note: I checked in 3.8.0 because that is what I have on hand ATM.

Last edited by Skaendo; 09-09-2019 at 08:35 PM.
 
Old 09-09-2019, 08:58 PM   #116
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I checked llvm-8.0.1 in current and neither option avoids the python check in their cmake configure, but it appears that despite a comment above the relevant check explicitly saying python2 must be found and python3 is not supported it will pass when only python3 is installed... Its not clear to me from reading their cmake files how much of the python dependency those configure arguments avoid.

We will probably have to wait to early or mid 2020 before llvm10 is out which hopefully works correctly with python3.
 
Old 09-09-2019, 09:15 PM   #117
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
We will probably have to wait to early or mid 2020 before llvm10 is out which hopefully works correctly with python3.
I can wait.
 
Old 09-10-2019, 03:55 AM   #118
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by SCerovec View Post
Put both Firefox and Python2 in /pasture ?

I mean we had java outside of the clean install for the while it was the main thing all around, and we do ship the alternate browser (Seamonkey) anyways.

It's not that it won't be installed by who depends on it, we merely are moving on...

just my 2c
My

I use Firefox exclusively.
 
Old 09-10-2019, 05:42 AM   #119
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by SCerovec View Post
Put both Firefox and Python2 in /pasture ?

I mean we had java outside of the clean install for the while it was the main thing all around, and we do ship the alternate browser (Seamonkey) anyways.

It's not that it won't be installed by who depends on it, we merely are moving on...

just my 2c
Even though I rely on firefox in some cases, I see no problem to exclude firefox completely from the distribution and put in on SBo only.

That said, I still believe naming the py3 interpreter after the name of py1 interpreter a bad idea. Isn't autoconf well prepared to pick up either python2 or python3 automatically if python is absent? Why mandate the confusion?
 
Old 09-10-2019, 03:07 PM   #120
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
update for skaendo
llvm 8.0.1 is available in extra for 14.2, you don't have to go to current to get it.
 
  


Reply



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
[SOLVED] Slackware current - Openssl and python2 update broke python-setuptools? orbea Slackware 28 03-14-2016 03:16 PM
[SOLVED] How can I make Python2.7 my default Python without deleting/removing python2.6. steves504 Linux - Server 2 03-21-2014 11:57 AM
[SOLVED] Trying to install 'Gmail Backup' but it requires python2.5 - I have python2.8... Robert.Thompson Slackware 6 05-10-2011 08:23 AM
Python2.5-devel is unable to find installed Python2.5 Setya SUSE / openSUSE 1 06-08-2007 01:35 AM
python2.2 Dependencies webboss Linux - General 3 03-06-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 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