[Baypiggies] I am trying to compile python 2.6.2 on my Mac

wescpy at gmail.com wescpy at gmail.com
Sun Jul 26 19:46:53 CEST 2009


yup, this is a very common recipe. so as to not let my own builds of  
2.6 or 3.x conflict with apple's, i use "make altinstall" instead.

-wesley

via myPhone

On Jul 26, 2009, at 2:08 AM, Jessica Smith <jessica. 
1980.smith at gmail.com> wrote:

> 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?
>>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies


More information about the Baypiggies mailing list