[Baypiggies] I am trying to compile python 2.6.2 on my Mac
Jessica Smith
jessica.1980.smith at gmail.com
Sun Jul 26 11:08:24 CEST 2009
Jon , others ,
I like to compile.
The main key to my solution was macports:
- http://chrismiles.livejournal.com/25648.html
- install mac ports
- port install readline
- vi setup.py
def detect_modules(self):
# Ensure that /usr/local is always used
add_dir_to_list(self.compiler.library_dirs, '/opt/local/lib')
add_dir_to_list(self.compiler.include_dirs, '/opt/local/include')
- configure --prefix=/pt/p
- make
- make install
JRS
On 7/26/09, Jon Rosebaugh <jon at inklesspen.com> wrote:
> On Jul 26, 2009, at 1:23 AM, Jessica Smith wrote:
>> I think that I want the module: "readline"
>>
>> I doubt I need the other modules like linuxaudiodev, etc.
>>
>> If you have any clues or opinions on how I can build the module
>> "readline",
>> please feel free to share.
>
> Readline most likely requires the GPL-licensed library readline:
> http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
>
> Any particular reason you're compiling on your own, rather than using
> the official OS X Python installer
> (http://python.org/ftp/python/2.6.2/python-2.6.2-macosx2009-04-16.dmg
> ) or something like Macports to automate the dependency process?
>
More information about the Baypiggies
mailing list