473,762 Members | 7,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

build now requires Python exist before the build starts

I'm trying to build the svn-trunk version of python on a Solaris box.
However I do not have a python installed yet and apparantly the build of
python requires a python to be accessible (as also annotated in the
Makefile generated during the ./configure). How can I solve this situation?

Thanks,

toon
May 16 '06 #1
2 1469
Toon Knapen wrote:
I'm trying to build the svn-trunk version of python on a Solaris box.
However I do not have a python installed yet and apparantly the build of
python requires a python to be accessible (as also annotated in the
Makefile generated during the ./configure). How can I solve this situation?


It shouldn't actually be required. I'm assuming the problem is while
trying to run asdlgen.py. The generated files are checked in, but the
timestamps are wrong and the Makefile is trying to be helpful.

Try:
touch Include/Python-ast.h Python/Python-ast.c
make

I believe those are the two files that are generated. If not, try
posting the error message.

HTH,
n

May 17 '06 #2
nn******@gmail. com wrote:

It shouldn't actually be required. I'm assuming the problem is while
trying to run asdlgen.py. The generated files are checked in, but the
timestamps are wrong and the Makefile is trying to be helpful.

Try:
touch Include/Python-ast.h Python/Python-ast.c
make

Thanks, indeed it is a timestamp problem. However I copied the error
message 'build now requires Python exists before the build starts'
directly from the Makefile. It might be instructive that the Makefile
also mentions that this is not strictly necessary and documents that
python is needed if one wants to regenerated Python-ast.[hc].

Thanks a lot,

toon
May 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1277
by: Brent Turner | last post by:
Under python 2.2 I was able to create a COM object in an exe much of the same way that I could from py source... meaning that I was able to register the com server and create an instance using the current process (exe/source) as the com server. Now, in python 2.3 when I try to create the COM instance from the exe, it starts up a new process and fails (b/c my exe does not support the command line parameters) The Source below is what...
699
34110
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it could be possible to add Pythonistic syntax to Lisp or Scheme, while keeping all of the...
1
2324
by: Tennill, Dustin | last post by:
Hello all, I am brand new to this list, not sure if this the right place to ask this question. I have two AIX 5.1 64-bit boxes and would like to have Python on both of them but don't need any of the graphical elements (Tk/Tcl/Tkinter). One of the boxes happened to have Tk/Tcl stuff installed on it, so I was able to build Python 2.3.2 without a hitch. The other box does not have Tk/Tcl installed, and I don't particularly need it...
11
1766
by: Alex Martelli | last post by:
Thanks to David Bolen, who did the build, I have been able to make available a win32 packaging for gmpy 1.0 on python 2.4 alpha 2 (should work on any later Python 2.4 as well, but I have no way to check it at all). I can't reach sourceforge at the moment, so I have meanwhile put the exe file up at: http://www.aleax.it/Python/gmpy-1.0.win32-py2.4.exe Users of both gmpy and python 2.4 on windows are invited to dowload and install this,...
2
2717
by: benevilent | last post by:
Hey, I have made a Python build with the flag --with-pydebug. When I try to import modules such as NumPy's multiarray.so, I get errors like the following: File "/usr/lib/python2.3/site-packages/Numeric/Numeric.py", line 91, in ? import multiarray ImportError: /usr/lib/python2.3/site-packages/Numeric/multiarray.so:
3
1780
by: Noah | last post by:
I'm getting configure warnings and make errors when I try to build Python 2.3.4 under OpenBSD 3.5. I don't see anything in the README under "Platform specific note" for OpenBSD. I tried opening the Python tar file using gtar and I tried using gmake just to make sure there wasn't anything weird going on there (I know that using BSD tar when building Zope used to cause problems, so I first thought I might be having a similar problem. I'm...
4
4726
by: Torsten Mohr | last post by:
Hi, i'd like to build an executable file that is linked with a python library and executes a script via PyRun_SimpleString or similar functions. Is there a static library of python available, so the users don't need to install python?
1
2095
by: | last post by:
Hello, I tried to build Python 2.4.1 on a Reliant Unix system. Just after the python executable program has been built, I get the following error: ==== begin make output === CC -W1 -Blargedynsym -o python \ Modules/python.o \ libpython2.4.a -lresolv -lsocket -lnsl -ldl -lm
7
4243
by: John Nagle | last post by:
Back in March, I posted this: That was for M2Crypto 0.17. It's still broken in M2Crypto 0.18. And there's no RPM or Windows binary. Nobody actually uses this stuff, do they?
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10136
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9925
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9811
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.