@@ -41,9 +41,22 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
4141
42422) Configure with:
4343
44- AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose --without-gcc \
44+ AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose \
4545 --prefix=/boot/home/config --with-thread
46-
46+
47+ If you're on a PowerPC system, add this anywhere in config.h:
48+
49+ #ifndef DL_EXPORT
50+ # define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
51+ #endif
52+ #ifndef DL_IMPORT
53+ # ifdef USE_DL_EXPORT
54+ # define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
55+ # else
56+ # define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
57+ # endif
58+ #endif
59+
47603) Copy Modules/Setup.in to Modules/Setup.
4861
49624) Edit Modules/Setup to turn on all the modules you want built.
@@ -63,7 +76,11 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
6376
6477 make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
6578 CCSHARED=-UUSE_DL_EXPORT
66-
79+
80+ On PowerPC systems, you'll see lots of warnings about duplicate
81+ symbols when things get linked; don't worry about this, it's
82+ harmless (and should disappear soon).
83+
67847) Test:
6885
6986 make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
@@ -86,7 +103,12 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
86103 make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
87104 CCSHARED=-UUSE_DL_EXPORT install
88105
106+ This will fail trying to copy libpython1.5.a; at that point in the
107+ install, everything you "normally" need is installed (all the Python
108+ bits), and the stuff you need for compiling C-based modules is half-
109+ installed. This will be fixed before the 1.5.2 release.
110+
891119) Enjoy!
90112
91113- Chris Herborth (
[email protected] )
92- December 17 , 1998
114+ December 18 , 1998
0 commit comments