Probably it would be a good idea to provide Linux noobs
like me a short notice in the README that
LD_LIBRARY_PATH needs to be set. It was time-consuming
to find out what caused problems with my installation
although the build process went fine.
I don't know if this is really only necessary if Python
is built from source with the "--enable-shared" option.
If yes, a short notice in this paragraph would be fine:
<snip>
Building a shared libpython
---------------------------
Starting with Python 2.3, the majority of the
interpreter can be built
into a shared library, which can then be used by the
interpreter
executable, and by applications embedding Python. To
enable this feature,
configure with --enable-shared.
If you enable this feature, the same object files will
be used to create
a static library. In particular, the static library
will contain object
files using position-independent code (PIC) on
platforms where PIC flags
are needed for the shared library.
</snip>
Otherwise, if the setting is necessary whether
"--enable-shared" is turned on or off, a good place
would be right after the "make install" explanations.
Again, this is a Linux rookie issue. But if I want to
install the most recent Python version I can't take any
ready-to-use RPM, so I have to build from sources and
will run into these problems the first time.
|