#98 Build Failed on OpenBSD

MySQLdb-1.0
closed
Andy Dustman
MySQLdb (285)
5
2012-09-19
2004-08-18
Anonymous
No

Build fail on OpenBSD for 2 reasons:
- The uint type is not defined by default on this system.
==> I moved the "ifndef uint..." line out of the
Win test so
that it would be defined

  • The -lcrypt is not found ==> I replaced it by -lcrypto

Then the build went ok...
I installed...

After that the binary seems to be corrupted anyway since
an import of the MySQLdb module makes the python
interpreter
exit silently.... (with a return code of 4...)

For more informations about my setup, I use:

  • OpenBSD 3.5
  • gcc 2.95 (stock OpenBSD)
  • Python 2.3.4 compiled from the sources
  • x86 hardware

My address is yk@mkgi.fr

Discussion

  • Andy Dustman
    Andy Dustman
    2004-09-06

    Logged In: YES
    user_id=71372

    I don't have a means for testing this, and the report does
    not include the MySQL version, which may be important.

     
  • Andy Dustman
    Andy Dustman
    2004-09-06

    Logged In: YES
    user_id=71372

    This is probably fixed in 1.1.2. Note that to include
    libcrypto, you should set this environment variable:

    export mysqloptlibs="crypto"

    and then run setup.py build

    I'll leave this open for awhile.

     
  • Andy Dustman
    Andy Dustman
    2004-09-06

    Logged In: YES
    user_id=71372

    This has been fixed in the current CVS tree.