Python Forum
problems building python on win32 xp
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problems building python on win32 xp
#1
I am trying to build python from source on an older machine running win32 XP SP3.
Apparently the providers of prebuilt win32 versions no longer support XP.
I have Visual Studio 8 installed. It compiles and links most components successfully,
but some source folders/files are missing:

sqlite3-3.6.21
bzip2-1.0.6
tcl.h (in tkinter)
openssl
berkeley db-4.7.25.0

I can do without berkeley db and tkinter, but sqlite3 may be useful, and bzip may be essential.
Are the sources available from python.org or do I have to round them up from various developer
websites?
Reply
#2
Which version of Python are you trying to install (build)? (note that for Win XP, you cannot use a version higher than 3.4 (Python on Windows).

Is there a reason you are building it from scratch?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#3
While considering a reply, I discovered a 2.7.14 msi file buried among 3.x versions in a long list of
installers on python.org website. I installed it in the XP system, and the python shell launches ok.
I will try to continue with this, and only build from source if needed.
Reply
#4
Any reason you didn't go with the 3.4 msi? The 2.x is now only in 'maintenance' (with no guarantee as to when updates will be made). Even though you will be capped at the 3.4, it is still a big improvement over 2.7.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#5
Out of interest, why are you running on Windows XP? Surely Linux would run faster, and many of the older programmes for Windows XP will run using WINE.
I am trying to help you, really, even if it doesn't always seem that way
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Building a DoublyLinkedList in Python - - append method Drone4four 2 436 Jan-08-2024, 01:27 PM
Last Post: Drone4four
  building app in XCODE with python phantom115 2 902 Aug-02-2023, 11:56 AM
Last Post: phantom115
  Docker -building a python image saisankalpj 5 3,976 Jul-13-2022, 12:53 PM
Last Post: saisankalpj
  Building python (3.9.5) with different libexpat version (2.4.6) raghupcr 0 1,323 Feb-25-2022, 11:29 AM
Last Post: raghupcr
Question Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems BrandonKastning 4 6,707 Feb-05-2022, 08:25 PM
Last Post: BrandonKastning
  Python library for win32 console commands eldiener 3 3,491 Aug-24-2021, 10:28 PM
Last Post: bowlofred
  Win32\ping.exe windows pops up -very annoying... tester_V 9 3,238 Aug-12-2021, 06:54 AM
Last Post: tester_V
Exclamation binwalk Win32 compile hackstunt 2 3,823 Feb-24-2021, 05:14 PM
Last Post: nilamo
  pyarrow throws oserror winerror 193 1 is not a valid win32 application aupres 2 3,805 Oct-21-2020, 01:04 AM
Last Post: aupres
  win32 API: Launch Application to RDP session from background process python script rangeshgupta 0 2,165 May-28-2020, 09:41 PM
Last Post: rangeshgupta

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020