@@ -251,34 +251,52 @@ QNX: Chris Herborth (chrish@qnx.com) writes:
251251 ftp.qnx.com in /usr/free. I used the following process to build,
252252 test and install Python 1.5 under QNX:
253253
254- 1) SHELL =/usr/local/bin/bash CC=cc CFLAGS="-5 -O" RANLIB=: \
255- bash ./configure --verbose --without-gcc --with-libm=""
254+ 1) CONFIG_SHELL =/usr/local/bin/bash CC=cc RANLIB=: \
255+ ./configure --verbose --without-gcc --with-libm=""
256256
257257 2) copy Modules/Setup.in to Modules/Setup; edit Modules/Setup to
258258 activate everything that makes sense for your system... tested
259259 here at QNX with the following modules:
260260
261- regex reop pcre posix signal readline array cmath math strop
262- struct time operator _locale fcntl pwd grp crypt select socket
263- errno termios audioop imageop rgbimg md5 timing rotor syslog
264- new gdbm soundex binascii parser cStringIO cPickle zlib curses
261+ array, audioop, binascii, cPickle, cStringIO, cmath, crypt, curses,
262+ errno, fcntl, gdbm, grp, imageop, _locale, math, md5, new, operator,
263+ parser, pcre, posix, pwd, readline, regex, reop, rgbimg, rotor,
264+ select, signal, socket, soundex, strop, struct, syslog, termios,
265+ time, timing, zlib
265266
266- 3) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash
267+ Newly compiled/tested in 1.5.1:
267268
268- 4) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash test
269+ audioop, imageop, rgbimgmodule
269270
270- The socket, strftime and possibly gdbm tests might fail in the
271- test harness; going through them by hand shows that they work.
272- A good exercise for the reader: make these work "out of the box".
271+ 3) make SHELL=/usr/local/bin/bash
272+
273+ or, if you feel the need for speed:
274+
275+ make SHELL=/usr/local/bin/bash OPT="-5 -Oil+nrt"
276+
277+ 4) make SHELL=/usr/local/bin/bash test
278+
279+ The socket test might fail in the test harness; going through it by
280+ hand shows that they work.
273281
274- 5) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash install
282+ A good exercise for the reader: make this work "out of the box".
283+
284+ Using GNU readline 2.2 seems to behave strangely, but I think that's
285+ a problem with my readline 2.2 port. :-\
286+
287+ 5) make SHELL=/usr/local/bin/bash install
275288
276289 If you get SIGSEGVs while running Python (I haven't yet, but I've
277290 only run small programs and the test cases), you're probably running
278291 out of stack; the default 32k could be a little tight. To increase
279292 the stack size, edit the Makefile in the Modules directory to read:
280293 LDFLAGS = -N 48k
281294
295+ BeOS: Chris Herborth (chrish@qnx.com) writes:
296+ See BeOS/README for notes about compiling/installing Python on
297+ BeOS R3 or later. Note that only the PowerPC platform is supported
298+ at this time, but feel free to try building it on x86.
299+
282300Cray T3E: Konrad Hinsen writes:
283301 1) Don't use gcc. It compiles Python/graminit.c into something that
284302 the Cray assembler doesn't like. Cray's cc seems to work fine.
0 commit comments