solaris 9 and MySQLdb fix
Gerhard Häring
gh at ghaering.de
Fri May 9 05:16:07 EDT 2003
Dave Harrison wrote:
> for those who care/are curious/might come across the same problem ...
>
> turns out that the solaris gcc compiler is buggy.
>
> you need to do a -v on the ./setup.py install
>
> then find the gcc command used, then do a -v on that
>
> then take the first gcc command shown, remove the parameter "-z text"
>
> run the command as it then is, and re-run the install script.
>
> damn that was a pain ;-)
In case you want to compile anything else in the future, like, say a
Python database module for a database that sucks less :-P ...
You should be able to make distutils *not* issue "-z text" at all.
Here's a workaround I'd try:
distutils parses a Makefile where it gets its commands from - it is
located at $ROOT/lib/python$VERSION/config/Makefile.
Open it and search for "-z text", then remove it.
HTH & HAND,
-- Gerhard
More information about the Python-list
mailing list