building Python 2.4.2 on Mac OS X

  • Thread starter Vidar Gundersen
  • Start date
V

Vidar Gundersen

are there any easy to understand instructions
for building Python on Mac OS X Tiger?
are there any prerequisites that i have missed?
my ./configure && make stops here:

Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
make: *** [Python/mactoolboxglue.o] Error 1
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Vidar said:
are there any easy to understand instructions
for building Python on Mac OS X Tiger?

It should work out of the box.
are there any prerequisites that i have missed?
my ./configure && make stops here:

You should pass --with-suffix=.exe to configure, or else
you get a file name conflict on HFS.
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
make: *** [Python/mactoolboxglue.o] Error 1

This might be where it stops, but it is not the cause of the error.
Can you please look up a bit further in the output to see what command
fails? Or else, can you post the entire make output?

Regards,
Martin
 
F

Fredrik Lundh

Vidar said:
are there any easy to understand instructions
for building Python on Mac OS X Tiger?
are there any prerequisites that i have missed?
my ./configure && make stops here:

Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
make: *** [Python/mactoolboxglue.o] Error 1

did you try googling for distinct portions of the error message ? here's
the first hit

http://www.opendarwin.org/pipermail/darwinports/2005-November/029138.html

(note that the problem here is a missing include file, as shown by the
error messages at the top)

here's a followup message with the fix:

http://www.opendarwin.org/pipermail/darwinports/2005-November/029146.html

</F>
 
V

Vidar Gundersen

===== Opprinnelig melding fra Martin v. Löwis | 9 Jan 2006:
You should pass --with-suffix=.exe to configure, or else
you get a file name conflict on HFS.

did this. no difference.

This might be where it stops, but it is not the cause of the error.
Can you please look up a bit further in the output to see what command
fails? Or else, can you post the entire make output?

could it be this one causing the stop?:

../Include/pymactoolbox.h:11:33: error: QuickTime/QuickTime.h: No such file or directory

as Fredrik Lundh pointed out, regarding Xcode, i have 2.2 on
my system, but writing this i realize i probably didn't
include the QuickTime SDK when i installed the Developer
Tools, so i installed it, CoreAudio, and... :) iHappy
 
S

Samuel M. Smith

On os x 10.4.3 to build a framework version

unpack source dist python-2.4.2
../configure --enable-framework
make
sudo makeframework install

Please note that "sudo make install" won't work

are there any easy to understand instructions
for building Python on Mac OS X Tiger?
are there any prerequisites that i have missed?
my ./configure && make stops here:

Python/mactoolboxglue.c:462: warning: return makes integer from
pointer without a cast
make: *** [Python/mactoolboxglue.o] Error 1

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84043
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************
 
W

Walter Overby

Not sure if this will meet your needs, but I have had good luck using
the "Fink" package manager, which has 2.4.2 in unstable. It takes a
while to update the package list and build, but it worked for me
without errors.

Regards,

Walter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top