Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 343848b

Browse files
committed
Last-minute update by Chris H.
1 parent 3c8e54b commit 343848b

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

BeOS/README

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
4444
AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose \
4545
--prefix=/boot/home/config --with-thread
4646

47-
If you're on a PowerPC system, add this anywhere in config.h:
47+
When configure is done, add this anywhere in config.h:
4848

4949
#ifndef DL_EXPORT
5050
# define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
@@ -68,23 +68,28 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
6868
part of the Python shared library, be sure to uncomment the #*shared*
6969
line.
7070

71+
I've tried the following modules:
72+
73+
regex pcre posix signal readline array cmath math strop struct time
74+
operator _locale fcntl pwd grp select _socket errno crypt termios
75+
audioop imageop rgbimg md5 timing rotor syslog curses new gdbm soundex
76+
binascii parser cStringIO cPickle zlib
77+
7178
5) Make sure Modules/Makefile.pre has REALLIBRARY set to:
7279

7380
REALLIBRARY=../libpython$(VERSION).so
7481

7582
6) Make:
7683

77-
make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
78-
CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos
84+
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos
7985

8086
On PowerPC systems, you'll see lots of warnings about duplicate
8187
symbols when things get linked; don't worry about this, it's
8288
harmless (and should disappear soon).
8389

8490
7) Test:
8591

86-
make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
87-
CCSHARED=-UUSE_DL_EXPORT test
92+
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT test
8893

8994
Expect the following errors:
9095

@@ -100,8 +105,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
100105

101106
8) Install:
102107

103-
make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
104-
CCSHARED=-UUSE_DL_EXPORT install
108+
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT install
105109

106110
This will fail trying to copy libpython1.5.a; at that point in the
107111
install, everything you "normally" need is installed (all the Python
@@ -111,4 +115,4 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
111115
9) Enjoy!
112116

113117
- Chris Herborth ([email protected])
114-
December 18, 1998
118+
December 22, 1998

0 commit comments

Comments
 (0)