[SOLVED] Working on installing Python 3.2, a little help needed please
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Working on installing Python 3.2, a little help needed please
So I have patched the 3.2 sources similar to the 3.1.3 sources. I used the slackbuild from 3.1.3 as well. I get to the install of the script and I get this:
Code:
...
running install_egg_info
Writing //tmp/SBo/package-python3/usr/lib64/python3.2/lib-dynload/Python-3.2-py3.2.egg-info
Creating directory /usr/man
Creating directory /usr/man/man1
/bin/ginstall -c -m 644 ./Misc/python.man \
/tmp/SBo/package-python3/usr/man/man1/python3.2.1
cp: cannot stat `Demo': No such file or directory
Any thoughts on how to fix this? I can't build Blender anymore without this update.
@me@asafonov.org: I've had a look at your package but it seems to be built for Slackware, (standard 32 bit), whereas I assume the OP was enquiring about Slackware64 as his post mentions this :
If this is the case - I too am interested in a build of python3.2 for Slackware64 - preferably a SlackBuild rather than a package - as I have messed around with a build of python3.2 on my Slackware64 system but gave up early on as I haven't had the time to customize the patches needed to make the build work correctly on Slackware64. Not that it's a huge amount of work but making such patches to source code can be quite time consuming. If not then I apologize but, in that case,the OP has something badly wrong with his SlackBuild or ARCH settings!
Thanks me@asafonov.org, that was the ticket. I really need to spend a little more time reading slackbuild scripts. This is in fact for an x64 system.
bgeddy, I still have a ways to go before I can start publishing slackbuilds. I'll give you a run-down so you can try to reproduce my steps if you like. I downloaded the 3.2 source and the slackbuild for 3.1.3. I uncompressed the source and opened the diff files from the slackbuild and manually applied the patches to the new source. From there I recompressed the source folder and removed the patch lines from the slackbuild and removed the Demo tag as shown above. From there the script ran perfectly.
Hi, I'm the maintainer of python3 SlackBuild at SlackBuilds.org. I've updated my SlackBuild for Python 3.2, but currently submissions to SBo are closed, so you can grab it from my Mercurial repository.
One thing to notice is that I've consolidated two patches for Slackware64 into one, since previous approach didn't make much sense to me (it was done in the same way as in official SlackBuild). I'm planning to do the same for Python 2.x and propose this to Pat after Slackware 13.37 release.
So far I haven't noticed any problems with my SlackBuild, though I'm not using Python 3.x that much. At least installing libraries via distutils (both pure Python and with C extensions) works fine, same with distribute (setuptools fork). There's one bug I've stumbled upon, but it's a problem in Python code.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
Hi, I'm the maintainer of python3 SlackBuild at SlackBuilds.org. I've updated my SlackBuild for Python 3.2, but currently submissions to SBo are closed, so you can grab it from my Mercurial repository.
Damn it - I wish I had read your post a little earlier as I have just spent a good few hours creating new .diff's for the patches to python3.2. I too consolidated the two patches python3.pure64.diff and python3.x86_64.diff as they appear to duplicate each other (well one duplicates the other anyway). It has been good practice creating and consolidating patches if nothing else - something I tend to avoid and, to be honest, leave to others to work out! Thanks for the update - builds fine and all seems good. So thanks due to me@asafonov.org, em21701 and audriusk - good work fellas.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.