From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sat, 8 Nov 2003 14:15:25 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 235 ************************************************** Friday 07 November 2003 Number 235 ************************************************** Subjects for today 1 Re: Building Python : John Poltorak 2 Re: Building Python : Andrew MacIntyre **= Email 1 ==========================** Date: Sat, 8 Nov 2003 10:58:53 +0000 From: John Poltorak Subject: Re: Building Python On Sat, Nov 08, 2003 at 08:14:53PM +1100, Andrew MacIntyre wrote: > On Wed, 5 Nov 2003, John Poltorak wrote: > > > Is there any way of overriding LIB_DIR? > > Ummm... I'm not sure what you're getting at... > > LIB_DIR is a makefile variable that can be changed or overridden from the > make command line. That's what I wanted to know. In the Makefile it is set to C:/Python23. How do I override the location without changing the Makefile? I'm not sure of the syntax for doing this from the command line. > If you want to rely on it being fixed, you also need > to change FIXED_PYHOME from "no" to "yes". > > > And can I install Python by running 'make install'? I didn't see any way > > to install it. > > Not yet - haven't found the round-tuits to complete that. > > I've not paid close attention, but I assume that the layout you'd want to > use is: > python[pm].exe -> /usr/local/bin (set EXE_DIR to this) > python23.dll -> /usr/local/lib (set DLL_DIR to this) > > The library should then be installed in /usr/local/lib/python2.3 (which is > what you should set LIB_DIR to). This should contain everything else > (apart from .exe/.dll as above) that's in my binary distribution. The layout in the binary distribution is fine, I just wondered how I could recreate it. It builds OK from source, but I just can't install it. I would like to include Python as one of the apps which UX2BS can handle. > Regards, > Andrew. > > -- > Andrew I MacIntyre "These thoughts are mine alone..." > E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 > andymac at pcug.org.au (alt) | Belconnen ACT 2616 > Web: http://www.andymac.org/ | Australia -- John **= Email 2 ==========================** Date: Sat, 8 Nov 2003 20:14:53 +1100 (EST) From: Andrew MacIntyre Subject: Re: Building Python On Wed, 5 Nov 2003, John Poltorak wrote: > Is there any way of overriding LIB_DIR? Ummm... I'm not sure what you're getting at... LIB_DIR is a makefile variable that can be changed or overridden from the make command line. If you want to rely on it being fixed, you also need to change FIXED_PYHOME from "no" to "yes". > And can I install Python by running 'make install'? I didn't see any way > to install it. Not yet - haven't found the round-tuits to complete that. I've not paid close attention, but I assume that the layout you'd want to use is: python[pm].exe -> /usr/local/bin (set EXE_DIR to this) python23.dll -> /usr/local/lib (set DLL_DIR to this) The library should then be installed in /usr/local/lib/python2.3 (which is what you should set LIB_DIR to). This should contain everything else (apart from .exe/.dll as above) that's in my binary distribution. Regards, Andrew. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac at pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia